Vorlage:Font color: Unterschied zwischen den Versionen
(-protect2) |
K (recat) |
||
Zeile 1: | Zeile 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> | |||
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). | ||
*'''<nowiki>{{fontcolor||red|red background}}</nowiki>''': {{fontcolor||red|red background}}(no parameters are used for the text color, only for the [[background]]) | *'''<nowiki>{{fontcolor||red|red background}}</nowiki>''': {{fontcolor||red|red background}}(no parameters are used for the text color, only for the [[background]]) | ||
*'''<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>''': {{fontcolor|blue|yellow|blue text with yellow background}} | *'''<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>''': {{fontcolor|blue|yellow|blue text with yellow background}} | ||
[[Category: | [[Category:Special effect templates|Fontcolor]] | ||
[[zh:Template:Fontcolor]] | [[zh:Template:Fontcolor]] | ||
</noinclude> | </noinclude> |
Version vom 17. November 2006, 01:20 Uhr
Examples of use:
- {{fontcolor|green|this is about plants}}: Vorlage:Fontcolor(it appears in green text).
- {{fontcolor||red|red background}}: Vorlage:Fontcolor(no parameters are used for the text color, only for the background)
- {{fontcolor|blue|yellow|blue text with yellow background}}: Vorlage:Fontcolor