Difference between revisions of "Template:Font color"

From TerraFirmaCraft Wiki
Jump to: navigation, search
m (1 revision: MinecraftWiki)
 
m
 
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}}
<noinclude><noinclude>{{/doc}}
+
 
+
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 22:44, 3 June 2014

Template documentation (for the above template, sometimes hidden or invisible)

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.


Visit Template:Font color/doc to edit this text! (How does this work?)