Template:Font color: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
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>}} |
{{#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude> |
||
<noinclude> |
|||
== Usage == |
== Usage == |
||
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>''' |
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>''' |
Revision as of 15:33, 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|text in red background}}: Template:Fontcolor:(no parameters are used for the text color, only for the background)
- {{fontcolor|red|yellow|blue text with yellow background}}: Template:Fontcolor