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

De Pikmin FR
fr>Fxfxfx0
m Suppression de la catégorie Category:Formatting templates et ajout de Catégorie:Modèles de mise en forme par un robot
m 8 versions importées
 
(5 versions intermédiaires par un autre utilisateur non affichées)
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}}
Ligne 20 : Ligne 20 :
|}
|}


[[Category:Formatting templates|Color]]
[[Catégorie:Modèles de formatage|Color]]
[[Catégorie:Modèles de mise en forme]]

Dernière version du 9 avril 2025 à 21:37

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