(새 문서: <includeonly>{{#switch: "{{{1|}}}" |"Generic" = 0, 153, 255 <!-- #0099FF --> |"NIWA" = 255, 128, 0 <!-- #FF8000 --> |"Splatoon" = 170, 220, 0 <!-- #...) |
편집 요약 없음 |
||
(같은 사용자의 중간 판 2개는 보이지 않습니다) | |||
5번째 줄: | 5번째 줄: | ||
|"Splatoon 2" = 240, 60, 120 <!-- #F03C78 --> | |"Splatoon 2" = 240, 60, 120 <!-- #F03C78 --> | ||
|"Splatoon 3" = 235, 238, 61 <!-- #EBEE3D --> | |"Splatoon 3" = 235, 238, 61 <!-- #EBEE3D --> | ||
|"스플래툰" = 170, 220, 1 <!-- #AADC00 --> | |||
|"스플래툰 2" = 240, 60, 121 <!-- #F03C78 --> | |||
|"스플래툰 3" = 235, 238, 62 <!-- #EBEE3D --> | |||
|"Octo Expansion" = 174, 21, 102 <!-- #AE1566 --> | |"Octo Expansion" = 174, 21, 102 <!-- #AE1566 --> | ||
|#default = 192, 192, 192 <!-- #C0C0C0 --> | |#default = 192, 192, 192 <!-- #C0C0C0 --> | ||
19번째 줄: | 22번째 줄: | ||
*{{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:09 기준 최신판
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