Template:Color: Difference between revisions
Content added Content deleted
imported>FrozenPlum (Create a template to use on pages and query with DPL3) |
imported>FrozenPlum m (add category I missed) |
||
(One intermediate revision by the same user not shown) | |||
Line 1:
<span style="color:{{{1|black}}};">{{#if:{{{2|
Wraps a span around the content and changes the text color to whatever Hex Code RGB color is set.
==Examples==
Line 8:
[[Category:Example templates]]
[[Category:Templates]]
</noinclude>
|
Latest revision as of 05:25, 4 April 2022
{{{1}}} Wraps a span around the content and changes the text color to whatever Hex Code RGB color is set.
Examples
{{color|green}}
gives green{{color|#ccc|text}}
gives text{{color|blue|Some text}}
gives Some text{{color|red|Other text}}
gives Other text