Template:Color

From Wazeopedia

Revision as of 14:05, 17 May 2020 by Moweez (talk | contribs) (1 revision imported from india:Template:Color: to import templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Uses the <span> tag.


<span style="color:{{{color|{{{2|black}}}}}}">{{{1|}}}</span>

Parameters

The first unnamed parameter is the text that will be colored. The second unnamed parameter or |color= will be the color used. It will accept the HTML numeric or named colors.

The absence of the second or |color= parameter will return black.

The above documentation is transcluded from Template:Color/doc.
Please add categories to the /doc subpage.
Subpages of this template.