Difference between revisions of "Template:Color text"
Jump to navigation
Jump to search
Dinoguy1000 (talk | contribs) (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) |
m (added an example) |
||
Line 1: | Line 1: | ||
− | <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> | + | <includeonly><span style="color:{{{1}}}">{{{2}}}</span></includeonly> |
+ | <noinclude>== Usage == | ||
+ | A template that allows you to color text of your choice {{Color text|Red|RED}} | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{Color text|Red|RED}} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | [[Category:Templates]]</noinclude> |
Latest revision as of 11:00, 20 March 2021
Usage
A template that allows you to color text of your choice RED
{{Color text|Red|RED}}