Difference between revisions of "Template:SiteColor"
ink>GuyPerfect m |
ink>GuyPerfect m |
||
| Line 3: | Line 3: | ||
|"Splatoon" = 170, 220, 0 | |"Splatoon" = 170, 220, 0 | ||
|"Splatoon 2" = 240, 60, 120 | |"Splatoon 2" = 240, 60, 120 | ||
| − | |#default = | + | |#default = 192, 192, 192 |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
| Line 15: | Line 15: | ||
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Splatoon 2}})}} Splatoon 2 | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Splatoon 2}})}} Splatoon 2 | ||
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|NIWA}})}} NIWA | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|NIWA}})}} NIWA | ||
| − | *{{Ink|custom|16|rgb( | + | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor}})}} ''Any other value'' |
=== Example === | === Example === | ||
Revision as of 05:48, 17 January 2017
Produces an RGB triplet color value using Inkipedia site colors.
Usage
{{SiteColor|theme}}
Parameters
theme - The theme ID for the color to use. Must be one of the following:
- Splatoon
- Splatoon 2
- NIWA
- Any other value
Example
Markup
<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>
Output
Sample text