Difference between revisions of "Template:Color text"

From Data Crystal
Jump to: navigation, search
(Created page with "<includeonly><span style="color:{{{1}}}">{{hex|{{{2}}}}}</span></includeonly><noinclude>A template that allows you to color text of your choice {{Color text|Red|RED}}Categor...")
 
(using {{hex}} here just forces one particular style on all uses of this template; it's more appropriate to output the text directly and allow individual transclusions to decide if (and how) the text should be further styled)
Line 1: Line 1:
<includeonly><span style="color:{{{1}}}">{{hex|{{{2}}}}}</span></includeonly><noinclude>A template that allows you to color text of your choice {{Color text|Red|RED}}[[Category:Templates]]</noinclude>
+
<includeonly><span style="color:{{{1}}}">{{{2}}}</span></includeonly><noinclude>A template that allows you to color text of your choice {{Color text|Red|RED}}[[Category:Templates]]</noinclude>

Revision as of 22:58, 25 November 2018

A template that allows you to color text of your choice RED