Template:Color box: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(added nbsp's around text displayed)
(Add an example.)
Line 1: Line 1:
<noinclude>{{merge|Colorsample|Template talk:Colorsample#Merge proposal}}</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>
<noinclude>{{merge|Colorsample|Template talk:Colorsample#Merge proposal}}</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>

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

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

Revision as of 03:40, 25 September 2008

Template:Merge    

Syntax: {{color box|color|text|text color}}

Example: {{color box|red|This is some blue text in a red box|blue}}:  This is some blue text