Diferencia entre revisiones de «Plantilla:SiteColor»

De Inkipedia
mSin resumen de edición
m (Adding entry for Generic. Same color as Splatoon for now, but now it's not set in stone.)
Línea 1: Línea 1:
<includeonly>{{#switch: "{{{1|}}}"
<includeonly>{{#switch: "{{{1|}}}"
|"Generic"    = 170, 220, 0
|"NIWA"      = 255, 128, 0
|"NIWA"      = 255, 128, 0
|"Splatoon"  = 170, 220, 0
|"Splatoon"  = 170, 220, 0
Línea 12: Línea 13:
==== Parameters ====
==== Parameters ====
''theme'' - The theme ID for the color to use. Must be one of the following:
''theme'' - 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|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

Revisión del 06:38 17 ene 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:

Example

Markup

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

Output

Sample text