Vorlage:Font color: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 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>
If you want to change the background color, use [[:template:fontcolor2]]
Examples of use:
Example of use:
*'''<nowiki>{{fontcolor|green|green text}}</nowiki>''': {{fontcolor|green|green text}}
*'''<nowiki>{{fontcolor|green}}</nowiki>''': {{fontcolor|green|green text}}
*'''<nowiki>{{fontcolor||red|red background}}</nowiki>''': {{fontcolor||red|red background}}
*'''<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>''': {{fontcolor|blue|yellow|blue text with yellow background}}
[[Category:Wikipedia templates|Fontcolor]]
[[Category:Wikipedia templates|Fontcolor]]
[[zh:Template:Fontcolor]]
[[zh:Template:Fontcolor]]
</noinclude>
</noinclude>

Version vom 16. Juli 2006, 12:59 Uhr

Examples of use:

zh:Template:Fontcolor