Difference between revisions of "Template:Fontcolor"
From Tales of Maj'Eyal
								
												
				 (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>  | + | <onlyinclude><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></onlyinclude>  | 
| − | </includeonly>  | + | |
<noinclude>[[Category:Templates]]</noinclude>  | <noinclude>[[Category:Templates]]</noinclude>  | ||
Latest revision as of 06: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!