Diferencia entre revisiones de «Plantilla:SiteColor»

De Inkipedia
mSin resumen de edición
mSin resumen de edición
Línea 1: Línea 1:
<includeonly>{{#switch: "{{{1|}}}"
<includeonly>{{#switch: "{{{1|}}}"
|"NIWA"      = 255, 128, 0
|"Splatoon"  = 170, 220, 0
|"Splatoon"  = 170, 220, 0
|"Splatoon 2" = 240, 60, 120
|"Splatoon 2" = 240, 60, 120
Línea 11: Línea 12:
==== 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(170, 220, 0)}} "Splatoon"
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor|Splatoon}})}} Splatoon
*{{Ink|custom|16|rgb(240, 60, 120)}} "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(196, 196, 196)}} ''Any other value''
*{{Ink|custom|16|rgb(196, 196, 196)}} ''Any other value''



Revisión del 05:47 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