Diferencia entre revisiones de «Plantilla:SiteColor»
De Inkipedia
m (Adding entry for Generic. Same color as Splatoon for now, but now it's not set in stone.) |
m (Updating documentation, removing NIWA definition) |
||
Línea 9: | Línea 9: | ||
Produces an RGB triplet color value using Inkipedia site colors. | Produces an RGB triplet color value using Inkipedia site colors. | ||
=== | === Parameters === | ||
{| | |||
|- style="vertical-align: top;" | |||
|<code>theme</code>||Unnamed. | |||
|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|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 | ||
*{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor}})}} ''Any other value'' | *{{Ink|custom|16|rgb({{User:GuyPerfect/SiteColor}})}} ''Any other value'' | ||
|} | |||
=== Example === | === Example === |
Revisión del 06:43 18 ene 2017
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:
|
Example
Markup
<span style="color: rgb({{SiteColor|Splatoon 2}});">Sample text</span>
Output
Sample text