Template:Color/doc
From Angelina Jordan Wiki
This is a subpage documenting Template:Color. To change the template, edit that page; to change the template's documentation (seen below), edit this one.
Documentation
This template outputs the character # (as the HTML entity #) followed by its input. It is used to specify CSS colors by hex code in the templates that call this one directly (namely, {{background-color of}} and {{border-color of}}). It is necessary in these situations to avoid the number sign being interpreted as wiki markup.
This template is used on a great many pages. Making any changes to it will cause lots of jobs to be added to the processing queue.
Usage
{{color|xxx}}{{color|xxxxxx}}
Each x represents a single hexadecimal digit (0–9 or a–f, case insensitive).
Examples
{{color}}⇒ #{{color|fff}}⇒ #fff{{color|60c99f}}⇒ #60c99f
As seen in the first example, there is no default color number provided by the template.
See also
{{num}}– outputs only a number sign