Difference between revisions of "Template:Fontcolor"

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

Revision as of 08:41, 14 June 2013

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


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


<includeonly> {{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>} </includeonly>