Difference between revisions of "Template:Fontcolor"

From Tales of Maj'Eyal
Jump to: navigation, search
Line 1: Line 1:
 +
<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.
 
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>  
 +
</noinclude>
  
 
<nowiki>
 
 
<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>
</nowiki>
 

Revision as of 03:51, 17 June 2013

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


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