« Modèle:Color » : différence entre les versions

De Pikmin FR
FRInki>Slate
making into module invocation
fr>Yaya
m 1 version importée
(Aucune différence)

Version du 13 décembre 2023 à 20:18

Template invocation of Module:Color.

Summary

Colors text the specified color.

{{Color|<The Text>|<The Color>|<ingame>}}

If ingame is present, the named color is passed to {{Text color|<color>}} to show in-game color, instead of using HTML notation

To color links, see {{Color-link}}

Examples

Code Result
{{color|Named Example|red}} Named Example
{{color|In-Game Example|Orange S2|ingame}} In-Game Example
{{color|Hex Example|#0055FF}} Hex Example