Difference between revisions of "Template:Colored Notice Box"

From Fleet
 
Line 1: Line 1:
<noinclude>{{Colored Notice Box|#6666FF|Contents of the message.}}
+
<noinclude>Example:{{Colored Notice Box|#6666FF|Contents of the message.}}
  
 
Second value is sidebar colour in HTML hex, RR GG BB, e.g. #FF0000 (red), #009900 (dark green), #0088FF, (light blue), #000000 (black)}}</noinclude>
 
Second value is sidebar colour in HTML hex, RR GG BB, e.g. #FF0000 (red), #009900 (dark green), #0088FF, (light blue), #000000 (black)}}</noinclude>
 
<div style="width: {{{3|80}}}%; background: {{{4|#eee}}}; border-left: 7px solid {{{1|#00f}}}; margin: auto;"><div style="border: 1px solid #aaa; border-left: none; padding: 0 0.5em">{{{2|Message}}}</div></div>
 
<div style="width: {{{3|80}}}%; background: {{{4|#eee}}}; border-left: 7px solid {{{1|#00f}}}; margin: auto;"><div style="border: 1px solid #aaa; border-left: none; padding: 0 0.5em">{{{2|Message}}}</div></div>
 
<noinclude>[[Category:Templates]][[Category:Formatting Templates]]</noinclude>
 
<noinclude>[[Category:Templates]][[Category:Formatting Templates]]</noinclude>

Latest revision as of 14:51, 19 April 2013

Example:

Contents of the message.


Second value is sidebar colour in HTML hex, RR GG BB, e.g. #FF0000 (red), #009900 (dark green), #0088FF, (light blue), #000000 (black)}}

Message