Difference between revisions of "Template:Font color"

From TerraFirmaCraft Wiki
Jump to: navigation, search
m (1 revision: MinecraftWiki)
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}}

Latest revision as of 00:44, 4 June 2014

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


{{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


Template and documentation from Wikipedia.

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