Difference between revisions of "Template:Fontcolor"

From Tales of Maj'Eyal
Jump to: navigation, search
m
(test for whitespace fix)
Line 5: Line 5:
 
For example, <nowiki>{{fontcolor|red|black|I am red on black!}}</nowiki> will produce {{fontcolor|red|black|I am red on black!}}
 
For example, <nowiki>{{fontcolor|red|black|I am red on black!}}</nowiki> will produce {{fontcolor|red|black|I am red on black!}}
 
</noinclude>
 
</noinclude>
 
 
<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>
 
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 09:25, 7 February 2016


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

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