Editing Template:Font color
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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> | |||
== 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|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}} | |||
[[Category:Formatting templates|{{PAGENAME}}]] | |||
[[zh:Template:Fontcolor]] | |||
</noinclude> | </noinclude> |