Diferencia entre revisiones de «Plantilla:SiteColor»
De Inkipedia
m (It makes more sense as just the color triplet) |
mSin resumen de edición |
||
Línea 17: | Línea 17: | ||
=== Example === | === Example === | ||
==== Markup ==== | ==== Markup ==== | ||
<nowiki><span style="color: rgb({{SiteColor|Splatoon 2 | <nowiki><span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span></nowiki> | ||
==== Output ==== | ==== Output ==== | ||
<span style="color: rgb({{User:GuyPerfect/SiteColor|Splatoon 2}});">Sample text</span> | <span style="color: rgb({{User:GuyPerfect/SiteColor|Splatoon 2}});">Sample text</span> | ||
</noinclude> | </noinclude> |
Revisión del 03:11 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 Any other value
Example
Markup
<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>
Output
Sample text