Template:SiteColor: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) m (Adding entry for Generic. Same color as Splatoon for now, but now it's not set in stone.) |
GuyPerfect (talk | contribs) m (Updating documentation, removing NIWA definition) |
||
Line 9: | Line 9: | ||
Produces an RGB triplet color value using Inkipedia site colors. | Produces an RGB triplet color value using Inkipedia site colors. | ||
=== | === Parameters === | ||
{| | |||
|- style="vertical-align: top;" | |||
|<code>theme</code>||Unnamed. | |||
|The theme ID for the color to use. Must be one of the following: | |||
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Generic}})}} Generic | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Generic}})}} Generic | ||
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Splatoon}})}} Splatoon | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Splatoon}})}} Splatoon | ||
*{{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}})}} ''Any other value'' | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor}})}} ''Any other value'' | ||
|} | |||
=== Example === | === Example === |
Revision as of 06:43, 18 January 2017
Produces an RGB triplet color value using Inkipedia site colors.
Parameters
theme |
Unnamed. | The theme ID for the color to use. Must be one of the following:
|
Example
Markup
<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>
Output
Sample text