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


