틀:SiteColor: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
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, 0    <!-- #AADC00 -->
|"스플래툰 2"    = 240, 60, 120    <!-- #F03C78 -->
|"스플래툰 3"    = 235, 238, 61    <!-- #EBEE3D -->
|"Octo Expansion" = 174, 21, 102    <!-- #AE1566 -->
|"Octo Expansion" = 174, 21, 102    <!-- #AE1566 -->
|#default        = 192, 192, 192  <!-- #C0C0C0 -->
|#default        = 192, 192, 192  <!-- #C0C0C0 -->

2021년 2월 21일 (일) 23:07 판

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