Difference between revisions of "Template:Color"

385 bytes added ,  09:16, March 2, 2021
add new
(from mario-wiki)
 
(add new)
Line 1: Line 1:
<span style="color:{{{2}}}">{{{1}}}</span><noinclude>
<includeonly><span style="color:{{{2|unset}}}">{{{1}}}</span></includeonly><noinclude>
==Usage==
== Usage ==
A way to simplify using color codes. {{{1}}} is the text and {{{2}}} is the color.
<code><nowiki>{{color|Text goes here|brown}}</nowiki></code>
:{{color|Text goes here|brown}}
 
== About ==
Changes the color of some text from the default black. The first parameter is the text and the second is the color. You can use a color name or a hexadecimal, but if it's hex be sure to include a <code>#</code> before the alphanumeric sequence.
 
The original template is from the [[mariowiki:Template:Color|Super Mario Wiki]].


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>
15,584

edits