Template:Colored notice box: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
::::<div style="width:73%; float:left; background: #eee; border-left: 7px solid {{{1|#00f}}}; margin: 1em auto"><div style="border: 1px solid #aaa; border-left: none; padding: 0 0.5em">{{{2|Message}}}</div></div><br><br><br><noinclude>
::::{|cellspacing=0 width=74% cellpadding=3
|-
|style="background-color:{{{1|#00f}}}; border: 1px solid {{{1|#00f}}}" width=2px|
|style="background-color:#eee; border: 1px solid #aaa;"|{{{2|Message}}}
|}<noinclude>
 
==Usage==
==Usage==
<pre>{{Colored notice box|#F00|Text here}}</pre>
<pre>{{Colored notice box|#F00|Text here}}</pre>
Line 10: Line 15:
* #0088FF (light blue)
* #0088FF (light blue)
* #000000 (black)
* #000000 (black)
[[Category:Formatting templates]]
[[Category:Notice templates]]
 
</noinclude>
<div>blah</div></noinclude>

Latest revision as of 02:22, 23 April 2009

Message

Usage

{{Colored notice box|#F00|Text here}}

produces:

Text here

Example colours:

  • #FF0000 (red)
  • #009900 (dark green)
  • #0000FF (blue)
  • #0088FF (light blue)
  • #000000 (black)