Difference between revisions of "Template:Fontcolor"

From Tales of Maj'Eyal
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Needs [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] installed before this will work. Remove the <nowiki><nowiki> </nowiki> tags when this is done.
 
 
  
 
'''Usage''': <nowiki>{{fontcolor|<foreground>|<background>|<text>}}</nowiki>  
 
'''Usage''': <nowiki>{{fontcolor|<foreground>|<background>|<text>}}</nowiki>  
Line 11: Line 9:
 
{{{{{|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>
 +
 +
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 02:36, 25 June 2013


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

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