Template:Font color: Difference between revisions
Content added Content deleted
Enwikipedia>Mac mNo edit summary |
Enwikipedia>Mac mNo 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> |
|||
{{protect}} |
|||
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 12:05, 16 July 2006
Template:Protect
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