Template:Color: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (Reverted edits by GrouchoBot (talk) to last version by Unpopular Opinion)
m (38 revisions imported from wikipedia:Template:Color)
 
(28 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<span style="color:{{{1}}}">{{{2}}}</span><noinclude>
<includeonly><span style="color:{{{2|unset}}}">{{{1}}}</span></includeonly><noinclude>
== Usage ==
<code><nowiki>{{color|Text goes here|green}}</nowiki></code>
:{{color|Text goes here|green}}


== About ==
{{Documentation}}
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.
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->

</noinclude>
== Attribution ==
The original template is from the [https://www.mariowiki.com/Template:Color Super Mario Wiki].

== See also ==
*[[Template:Color-link]]
*[[Template:Color-link-external]]

[[Category:Formatting templates]]</noinclude>

Latest revision as of 15:24, January 29, 2022

Usage

{{color|Text goes here|green}}

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.

Attribution

The original template is from the Super Mario Wiki.

See also