Difference between revisions of "Template:Fontcolor"
From Tales of Maj'Eyal
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | |||
− | |||
'''Usage''': <nowiki>{{fontcolor|<foreground>|<background>|<text>}}</nowiki> | '''Usage''': <nowiki>{{fontcolor|<foreground>|<background>|<text>}}</nowiki> | ||
Line 7: | 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> | ||
− | + | <onlyinclude><includeonly>{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}} | |
− | <includeonly> | + | </includeonly></onlyinclude> |
− | {{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>} | + | <noinclude>[[Category:Templates]]</noinclude> |
− | </includeonly> | + |
Latest revision as of 07:26, 10 February 2016
Usage: {{fontcolor|<foreground>|<background>|<text>}}
For example, {{fontcolor|red|black|I am red on black!}} will produce I am red on black!