Template:Color: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Text replacement - "Category:Formatting Templates" to "Category:Formatting templates") |
(making into module invocation) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>{{#invoke:Color|main}}</includeonly><noinclude> | ||
Template invocation of [[Module:Color]]. | |||
{{:Module:Color/doc}} | |||
</noinclude> | |||
{{ | |||
Latest revision as of 14:34, 10 September 2023
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 {{TextColor|<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 |