« Module:Color/doc » : différence entre les versions

De Pikmin FR
fr>Fxfxfx0
m 1 version importée : Import de la majorité des modèles manquants
fr>Fxfxfx0
Ligne 4 : Ligne 4 :
{{t|Color|The Text|The Color|ingame}}
{{t|Color|The Text|The Color|ingame}}


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


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

Version du 20 septembre 2024 à 15:21

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}} 000000
{{color|In-Game Example|Orange S2|ingame}} 000000
{{color|Hex Example|#0055FF}} 000000