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

De Pikmin FR
fr>BlueGhost
m 1 révision importée : http://splatoonwiki.org/wiki/Luna_Blaster_Neo
FRInki>Slate
making into module invocation
Ligne 1 : Ligne 1 :
<span style="color:{{{2}}}">{{{1}}}</span><noinclude>
<includeonly>{{#invoke:Color|main}}</includeonly><noinclude>
Template invocation of [[Module:Color]].


== Summary ==
{{:Module:Color/doc}}
Colors text the specified color.
</noinclude>
 
{{t|Color|The Text|The Color}}
 
To color links, see {{t|Color-link}}
 
== Examples ==
* <nowiki>{{</nowiki>color|Named Example|red<nowiki>}}</nowiki> {{color|Named Example|red}}
* <nowiki>{{</nowiki>color|Hex Example|#0055FF<nowiki>}}</nowiki> {{color|Hex Example|#0055FF}}
 
[[Category:Formatting Templates|Color]]</noinclude>

Version du 10 septembre 2023 à 14:34

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