Be sure to read our policy on citing sources before editing!

Difference between revisions of "Template:Color"

From Jiggywikki, a Banjo-Kazooie wiki
Jump to navigationJump to search
(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>

Revision as of 09:16, March 2, 2021

Usage

{{color|Text goes here|brown}}

Text goes here

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 # before the alphanumeric sequence.

The original template is from the Super Mario Wiki.