Template:Font color: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>Bobblehead
(Remove link to dab page Background using popups)
w:en>Rjd0060
(per EP on talk page)
Line 1: Line 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>
== Usage ==
'''<nowiki>{{fontcolor|text_color|background_color|text}}</nowiki>'''


Examples of use:
<!-- Add categories and interwikis to the /doc subpage, not here! -->
*'''<nowiki>{{fontcolor|green|this is about plants}}</nowiki>''': {{fontcolor|green|this is about plants}}:(it appears in green text).
{{Documentation}}</noinclude>
*'''<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]]
[[Category:text color templates]]
[[pt:Predefinição:Fontcolor]]
[[sl:Predloga:Barvapis]]
[[zh:Template:Fontcolor]]
</noinclude>

Revision as of 18:26, 23 January 2009

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}