Diferencia entre revisiones de «Plantilla:Color/doc Ver historial

(Página creada con «{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> == Usage == Uses the <nowiki><span></nowiki> tag. {{Pre2|<nowiki> <span style="color:{{{color|{{{2|black}}}}}}"...»)
 
(Sin diferencias)

Revisión actual - 18:20 5 jul 2017

This is a documentation subpage for Plantilla:Color.
It contains usage information, categories and other content that is not part of the original plantilla page.

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.