Template:Color: Difference between revisions

From Space Station 14 Wiki
(Created page with "<includeonly>{{#switch: {{lc: {{{1}}}}} | }}</includeonly><noinclude> {{docs}} <templatedata> { "params": { "Color code": { "description": "A color code.", "type": "line", "suggestedvalues": [ "dept:command", "dept:cmd", "radio:command", "radio:cmd", "dept:engineering", "dept:eng", "radio:engineering", "radio:eng", "dept:medical", "dept:med", "radio:medical", "radio:med", "dept:science", "dept:sci",...")
 
(new sci radio color pr #31319)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}}}}
<includeonly>{{#switch: {{lc: {{{1}}}}}
|
<!-- DEPARMENTS -->
<!-- sourced from Resources/Roles/Jobs/deparments.yml -->
|dept:command
|dept:cmd = <nowiki>#334E6D</nowiki>
 
|dept:engineering
|dept:eng = <nowiki>#EFB341</nowiki>
 
|dept:medical
|dept:med = <nowiki>#52B4E9</nowiki>
 
|dept:science
|dept:sci = <nowiki>#D381C9</nowiki>
 
|dept:security
|dept:sec = <nowiki>#DE3A3A</nowiki>
 
|dept:civilian
|dept:civ = <nowiki>#9FED58</nowiki>
 
|dept:cargo = <nowiki>#A46106</nowiki>
 
|dept:specific = <nowiki>#9FED58</nowiki>
 
<!-- RADIO CHANNELS -->
|radio:common
|radio:; = <nowiki>#32cd32</nowiki>
 
|radio:centcom
|radio:cc
|radio:y = <nowiki>#2681a5</nowiki>
 
|radio:command
|radio:cmd
|radio:c = <nowiki>#fcdf03</nowiki>
 
|radio:engineering
|radio:eng
|radio:e = <nowiki>#f37746</nowiki>
 
|radio:medical
|radio:med
|radio:m = <nowiki>#57b8f0</nowiki>
 
|radio:science
|radio:sci
|radio:n = <nowiki>#cd7ccd</nowiki>
 
|radio:security
|radio:sec
|radio:s = <nowiki>#dd3535</nowiki>
 
|radio:service
|radio:v = <nowiki>#6ca729</nowiki>
 
|radio:supply
|radio:sup
|radio:u = <nowiki>#b88646</nowiki>
 
|radio:syndicate
|radio:synd
|radio:t = <nowiki>#8f4a4b</nowiki>
 
|radio:handheld
|radio:hh = <nowiki>#d39f01</nowiki>
 
|radio:binary
|radio:b = <nowiki>#2ed2fd</nowiki>
 
|radio:freelance
|radio:f = <nowiki>#f6ce64</nowiki>
 
|{{error|unknown color code{{colon}} "{{{1}}}"}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{docs}}
{{docs}}
Line 8: Line 80:
{
{
"params": {
"params": {
"Color code": {
"1": {
"description": "A color code.",
"label": "Color code",
"description": "A color code. Values in any case are allowed, including lowercase.",
"type": "line",
"type": "line",
"suggestedvalues": [
"suggestedvalues": [
"dept:command",
"dept:command",
"dept:cmd",
"dept:cmd",
"dept:engineering",
"dept:eng",
"dept:medical",
"dept:med",
"dept:science",
"dept:sci",
"dept:security",
"dept:sec",
"dept:civilian",
"dept:civ",
"dept:cargo",
"dept:specific",
"radio:common",
"radio:;",
"radio:centcom",
"radio:cc",
"radio:y",
"radio:command",
"radio:command",
"radio:cmd",
"radio:cmd",
"dept:engineering",
"radio:c",
"dept:eng",
"radio:engineering",
"radio:engineering",
"radio:eng",
"radio:eng",
"dept:medical",
"radio:e",
"dept:med",
"radio:medical",
"radio:medical",
"radio:med",
"radio:med",
"dept:science",
"radio:m",
"dept:sci",
"radio:science",
"radio:science",
"radio:sci",
"radio:sci",
"dept:security",
"radio:n",
"dept:sec",
"radio:security",
"radio:security",
"radio:sec",
"radio:sec",
"dept:service",
"radio:s",
"radio:service",
"radio:service",
"dept:supply",
"radio:v",
"dept:sup",
"radio:supply",
"radio:supply",
"radio:sup",
"radio:sup",
"radio:centcom",
"radio:u",
"radio:cc",
"radio:syndicate",
"radio:syndicate",
"radio:synd",
"radio:synd",
"radio:common",
"radio:t",
"radio:hendheld",
"radio:handheld",
"radio:hh",
"radio:hh",
"radio:binary",
"radio:binary",
"radio:freelance"
"radio:b",
"radio:freelance",
"radio:f"
],
],
"required": true
"required": true
Line 52: Line 138:
},
},
"description": "A template that stores various special game- and wiki-related colors. Pass a code from the list to get a color (see the parameter description).",
"description": "A template that stores various special game- and wiki-related colors. Pass a code from the list to get a color (see the parameter description).",
"format": "inline"
"format": "inline",
"paramOrder": [
"1"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:06, 26 August 2024

Template documentation
view or edit this documentation about template documentation

Colors

Departments

Color code How it looks
dept:command
dept:cmd

#334E6D
#334E6D

dept:engineering
dept:eng

#EFB341
#EFB341

dept:medical
dept:med

#52B4E9
#52B4E9

dept:science
dept:sci

#D381C9
#D381C9

dept:security
dept:sec

#DE3A3A
#DE3A3A

dept:civilian
dept:civ

#9FED58
#9FED58

dept:cargo

#A46106

dept:specific

#9FED58

Radio channels

Color code How it looks
radio:common
radio:;

#32cd32
#32cd32

radio:centcom
radio:cc
radio:y

#2681a5
#2681a5
#2681a5

radio:command
radio:cmd
radio:c

#fcdf03
#fcdf03
#fcdf03

radio:engineering
radio:eng
radio:e

#f37746
#f37746
#f37746

radio:medical
radio:med
radio:m

#57b8f0
#57b8f0
#57b8f0

radio:science
radio:sci
radio:n

#cd7ccd
#cd7ccd
#cd7ccd

radio:security
radio:sec
radio:s

#dd3535
#dd3535
#dd3535

radio:service
radio:v

#6ca729
#6ca729

radio:supply
radio:sup
radio:u

#b88646
#b88646
#b88646

radio:syndicate
radio:synd
radio:t

#8f4a4b
#8f4a4b
#8f4a4b

radio:handheld
radio:hh

#d39f01
#d39f01

radio:binary
radio:b

#2ed2fd
#2ed2fd

radio:freelance
radio:f

#f6ce64
#f6ce64


A template that stores various special game- and wiki-related colors. Pass a code from the list to get a color (see the parameter description).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color code1

A color code. Values in any case are allowed, including lowercase.

Suggested values
dept:command dept:cmd dept:engineering dept:eng dept:medical dept:med dept:science dept:sci dept:security dept:sec dept:civilian dept:civ dept:cargo dept:specific radio:common radio:; radio:centcom radio:cc radio:y radio:command radio:cmd radio:c radio:engineering radio:eng radio:e radio:medical radio:med radio:m radio:science radio:sci radio:n radio:security radio:sec radio:s radio:service radio:v radio:supply radio:sup radio:u radio:syndicate radio:synd radio:t radio:handheld radio:hh radio:binary radio:b radio:freelance radio:f
Linerequired