Template:Color box: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
m (Protected Template:Color box: high use template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(move documentation to subpage, per request)
Line 1: Line 1:
<span style="background-color:{{{1}}}; color:{{{3}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>
<span style="background-color:{{{1}}}; color:{{{3}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>
{{documentation}}

'''Syntax:'''
''<nowiki>{{color box|color|text|text color}}</nowiki>''

'''Examples:'''
* ''<nowiki>{{color box|red|This is some blue text in a red box|blue}}</nowiki>'': {{color box|red|This is some blue text|blue}}
* ''<nowiki>{{color box|green}}</nowiki>'': {{color box|green}}
</noinclude>
</noinclude>

Revision as of 13:22, 7 June 2009