Template:Color/doc View history

mNo edit summary
 
m (1 revision imported from usa:Template:Color/doc)
 

Latest revision as of 12:22, 1 June 2020

{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang=⧼lang⧽}}

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.