Vorlage:Font color: Unterschied zwischen den Versionen

K
53 Versionen von wikivoyage:Vorlage:Font_color importiert
K (robot Adding: sl:Predloga:Barvapis)
K (53 Versionen von wikivoyage:Vorlage:Font_color importiert)
 
(14 dazwischenliegende Versionen von 10 Benutzern werden nicht angezeigt)
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>
<includeonly>{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}</includeonly><noinclude>{{Dokumentation}}</noinclude>
== Usage ==
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>'''
 
Examples of use:
*'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}}:(it appears in green text).
*'''<nowiki>{{fontcolor||red|text in red background}}</nowiki>''': {{fontcolor||red|text in red background}}:(no parameters are used for the text color, only for the [[background]])
*'''<nowiki>{{fontcolor|red|yellow|red text with yellow background}}</nowiki>''': {{fontcolor|red|yellow|red text with yellow background}}
== See also ==
* [[HTML color names]]
* [[List of colors]]
{{fontcolor|lime|green|GREEN POWER!!!!}}
[[Category:text color templates[[pt:Predefinição:Fontcolor]]
[[sl:Predloga:Barvapis]]
[[zh:Template:Fontcolor]]
]]
</noinclude>