Template:Font color: Difference between revisions
Jump to navigation
Jump to search
w:en>David Kernow (updating category) |
w:en>Altermike No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude> | {{#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}} | ||
<noinclude> | |||
== Usage == | |||
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>''' | |||
Examples of use: | Examples of use: | ||
*'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}}(it appears in green text). | *'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}}(it appears in green text). |
Revision as of 00:27, 18 March 2007
Usage
{{fontcolor|text_color|background_color|text}}
Examples of use:
- {{fontcolor|green|this is about plants}}: Template:Fontcolor(it appears in green text).
- {{fontcolor||red|red background}}: Template:Fontcolor(no parameters are used for the text color, only for the background)
- {{fontcolor|blue|yellow|blue text with yellow background}}: Template:Fontcolor