Template:SiteColor

From Inkipedia, the Splatoon wiki
Revision as of 01:01, 16 August 2018 by Heddy (talk | contribs) (semi-automated edit: updating ink templates sitewide)

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:
  •   Generic
  •   Splatoon
  •   Splatoon 2
  •   Octo Expansion
  •   NIWA
  •   Any other value

Example

Markup

<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>

For use in templates with an optional color parameter:

style=" background:rgb({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}); " 

Output

Sample text