Difference between revisions of "Template:Fontcolor"

From Tales of Maj'Eyal
Jump to: navigation, search
m
m
Line 9: Line 9:
  
 
<includeonly>
 
<includeonly>
{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}
+
{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}
 
</includeonly>
 
</includeonly>

Revision as of 05:02, 19 June 2013

Needs ParserFunctions installed before this will work. Remove the <nowiki> tags when this is done.


Usage: {{fontcolor|<foreground>|<background>|<text>}}

For example, {{fontcolor|red|black|I am red on black!}} will produce I am red on black!