(새 문서: <includeonly>{{#switch: "{{{1|}}}" |"Generic" = 0, 153, 255 <!-- #0099FF --> |"NIWA" = 255, 128, 0 <!-- #FF8000 --> |"Splatoon" = 170, 220, 0 <!-- #...) |
편집 요약 없음 |
||
19번째 줄: | 19번째 줄: | ||
*{{Ink|custom|1|rgb({{SiteColor|Splatoon 2}})}} {{S2}} | *{{Ink|custom|1|rgb({{SiteColor|Splatoon 2}})}} {{S2}} | ||
*{{Ink|custom|1|rgb({{SiteColor|Splatoon 3}})}} {{S3}} | *{{Ink|custom|1|rgb({{SiteColor|Splatoon 3}})}} {{S3}} | ||
*{{Ink|custom|1|rgb({{SiteColor|스플래툰}})}} {{S}} | |||
*{{Ink|custom|1|rgb({{SiteColor|스플래툰 2}})}} {{S2}} | |||
*{{Ink|custom|1|rgb({{SiteColor|스플래툰 3}})}} {{S3}} | |||
*{{Ink|custom|1|rgb({{SiteColor|Octo Expansion}})}} Octo Expansion | *{{Ink|custom|1|rgb({{SiteColor|Octo Expansion}})}} Octo Expansion | ||
*{{Ink|custom|1|rgb({{SiteColor|NIWA}})}} NIWA | *{{Ink|custom|1|rgb({{SiteColor|NIWA}})}} NIWA |
2021년 2월 21일 (일) 23:06 판
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>
For use in templates with an optional color parameter:
style=" background:rgb({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}); "
Output
Sample text