Template:Colored notice box: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
mNo edit summary
m (changed width)
Line 1: Line 1:
<includeonly><div style="width: 80%; 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></includeonly><noinclude>
::::<div style="width:75%; 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><noinclude>
==Usage==
==Usage==
<pre>{{Colored notice box|#F00|Message}}</pre>
<pre>{{Colored notice box|#F00|Text here}}</pre>
produces:
produces:
{{Colored notice box|#F00|Message}}
{{Colored notice box|#F00|Text here}}
Example colours:
Example colours:
* #FF0000 (red)
* #FF0000 (red)
Line 10: Line 10:
* #0088FF (light blue)
* #0088FF (light blue)
* #000000 (black)
* #000000 (black)
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]
 
<div>blah</div></noinclude>

Revision as of 20:24, 12 March 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)
blah