Difference between revisions of "Template:Fontcolor"
From Tales of Maj'Eyal
Line 1: | Line 1: | ||
− | Needs [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] installed before this will work. Remove the < | + | 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> | ||
+ | |||
+ | |||
+ | <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>} | ||
− | </ | + | </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>