Template:Colored notice box: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (changed width)
mNo edit summary
Line 1: Line 1:
::::<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>
::::<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>
==Usage==
==Usage==
<pre>{{Colored notice box|#F00|Text here}}</pre>
<pre>{{Colored notice box|#F00|Text here}}</pre>

Revision as of 20:26, 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