Template:Color: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(this template is no longer working, text is being chopped)
m (38 revisions imported from wikipedia:Template:Color)
 
(40 intermediate revisions by 35 users not shown)
Line 1: Line 1:
<span style="color:{{{1}}}">{{{2}}}</span>
<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 ==
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.


== Attribution ==
<noinclude>
The original template is from the [https://www.mariowiki.com/Template:Color Super Mario Wiki].
==Usage==
*<code><nowiki>{{color|COLOR|TEXT}}</nowiki></code>


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


[[Category:Formatting templates]]</noinclude>
*<code><nowiki>{{color|Blue|Hello, world!}}</nowiki></code> → {{color|Blue|Hello, world!}}
</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