Template:Font color: Difference between revisions
Jump to navigation
Jump to search
m 1 revision: MinecraftWiki |
Kittychanley (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}</includeonly | <includeonly>{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}</includeonly><noinclude>{{/doc}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 00:44, 4 June 2014
Usage
{{Font color|<text color>|<background color>|<text>}}
Examples of use:
- {{Font color|blue|this is about plants}}: this is about plants:(it appears in blue text).
- {{Font color||red|text in red background}}: text in red background:(no parameters are used for the text color, only for the background)
- {{Font color|red|yellow|red text with yellow background}}: red text with yellow background
Reference
Template and documentation from Wikipedia.