Template:ColorScheme: Difference between revisions
From Inkipedia, the Splatoon wiki
(ditch css variables, this feature is sysop-only) |
(add named aliases for 1 and 2) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: "{{lc:{{{2|}}}}}" | <includeonly>{{#switch: "{{lc: {{{color|{{{2|}}}}}}}}" | ||
|#default = rgb({{SiteColor|{{{1|}}}}}) | |#default = rgb({{SiteColor|{{{scheme|{{{1|}}}}}}}}) | ||
|"textcolor" = {{#switch: "{{{1|}}}" | |"textcolor" = {{#switch: "{{{scheme|{{{1|}}}}}}" | ||
|"Generic" = white | |"Generic" = white | ||
|"NIWA" = white | |"NIWA" = white | ||
Line 10: | Line 10: | ||
|#default = black | |#default = black | ||
}} | }} | ||
|"backgroundcolor" = | |"backgroundcolor" = rgba({{SiteColor|{{{scheme|{{{1|}}}}}}}}, 0.2) | ||
}}</includeonly><noinclude>__NOTOC__ | }}</includeonly><noinclude>__NOTOC__ | ||
== The "Generic" color scheme == | == The "Generic" color scheme == | ||
* Base color: {{User:Makendo/Sandbox/ColorScheme|Generic}} | * Base color: {{User:Makendo/Sandbox/ColorScheme|Generic}} | ||
* Text color ( | * Text color (<code>textColor</code>): {{User:Makendo/Sandbox/ColorScheme|Generic|TextColor}} | ||
* Background color ( | * Background color (<code>backgroundColor</code>): {{User:Makendo/Sandbox/ColorScheme|Generic|BackgroundColor}} | ||
</noinclude> | </noinclude> |
Revision as of 10:48, 16 November 2022
The "Generic" color scheme
- Base color: User:Makendo/Sandbox/ColorScheme
- Text color (
textColor
): User:Makendo/Sandbox/ColorScheme - Background color (
backgroundColor
): User:Makendo/Sandbox/ColorScheme