Diferencia entre revisiones de «Plantilla:SiteColor»
De Inkipedia
mSin resumen de edición |
mSin resumen de edición |
||
Línea 3: | Línea 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__ | ||
Línea 15: | Línea 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 === |
Revisión del 05:48 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:
- Plantilla:Ink Splatoon
- Plantilla:Ink Splatoon 2
- Plantilla:Ink NIWA
- Plantilla:Ink Any other value
Example
Markup
<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>
Output
Sample text