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",...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}}}}
<includeonly>{{#switch: {{lc: {{{1}}}}}
|
|radio:common
|radio:; = #32cd32
 
|radio:centcom
|radio:cc
|radio:y = #2681a5
 
|dept:command
|dept:cmd
|radio:command
|radio:cmd
|radio:c = #fcdf03
 
|dept:engineering
|dept:eng
|radio:engineering
|radio:eng
|radio:e = #f37746
 
|dept:medical
|dept:med
|radio:medical
|radio:med
|radio:m = #57b8f0
 
|dept:science
|dept:sci
|radio:science
|radio:sci
|radio:n = #c68cfa
 
|dept:security
|dept:sec
|radio:security
|radio:sec
|radio:s = #dd3535
 
|dept:service
|radio:service
|radio:v = #6ca729
 
|dept:supply
|dept:sup
|radio:supply
|radio:sup
|radio:u = #b88646
 
|radio:syndicate
|radio:synd
|radio:t = #8f4a4b
 
|radio:hendheld
|radio:hh = #d39f01
 
|radio:binary
|radio:b = #2ed2fd
 
|radio:freelance
|radio:f = #f6ce64
 
|{{error|unknown color code{{colon}} {{{1}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{docs}}
{{docs}}
Line 8: Line 68:
{
{
"params": {
"params": {
"Color code": {
"1": {
"label": "Color code",
"description": "A color code.",
"description": "A color code.",
"type": "line",
"type": "line",
"suggestedvalues": [
"suggestedvalues": [
"radio:common",
"radio:centcom",
"radio:cc",
"dept:command",
"dept:command",
"dept:cmd",
"dept:cmd",
"radio:command",
"radio:command",
"radio:cmd",
"radio:cmd",
"radio:c",
"dept:engineering",
"dept:engineering",
"dept:eng",
"dept:eng",
"radio:engineering",
"radio:engineering",
"radio:eng",
"radio:eng",
"radio:e",
"dept:medical",
"dept:medical",
"dept:med",
"dept:med",
"radio:medical",
"radio:medical",
"radio:med",
"radio:med",
"radio:m",
"dept:science",
"dept:science",
"dept:sci",
"dept:sci",
"radio:science",
"radio:science",
"radio:sci",
"radio:sci",
"radio:n",
"dept:security",
"dept:security",
"dept:sec",
"dept:sec",
Line 38: Line 106:
"radio:supply",
"radio:supply",
"radio:sup",
"radio:sup",
"radio:centcom",
"radio:cc",
"radio:syndicate",
"radio:syndicate",
"radio:synd",
"radio:synd",
"radio:common",
"radio:hendheld",
"radio:hendheld",
"radio:hh",
"radio:hh",
Line 52: Line 117:
},
},
"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>

Revision as of 13:53, 9 August 2024

Template documentation
view or edit this documentation about template documentation

Colors

Departments

Color code How it looks
dept:command
dept:cmd

  1. fcdf03

  1. fcdf03
dept:engineering
dept:eng

  1. f37746

  1. f37746
dept:medical
dept:med

  1. 57b8f0

  1. 57b8f0
dept:science
dept:sci

  1. c68cfa

  1. c68cfa
dept:security
dept:sec

  1. dd3535

  1. dd3535
dept:civilian
dept:civ

<span class="color-label-color-square" style="

   background-color: unknown color code: dept:civilian;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">unknown color code: dept:civilian
<span class="color-label-color-square" style="

   background-color: unknown color code: dept:civ;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">unknown color code: dept:civ

dept:cargo

<span class="color-label-color-square" style="

   background-color: unknown color code: dept:cargo;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">unknown color code: dept:cargo

dept:specific

<span class="color-label-color-square" style="

   background-color: unknown color code: dept:specific;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">unknown color code: dept:specific

Radio channels

Color code How it looks
radio:common
radio:;

  1. 32cd32

  1. 32cd32
radio:centcom
radio:cc
radio:y

  1. 2681a5

  1. 2681a5

  1. 2681a5
radio:command
radio:cmd
radio:c

  1. fcdf03

  1. fcdf03

  1. fcdf03
radio:engineering
radio:eng
radio:e

  1. f37746

  1. f37746

  1. f37746
radio:medical
radio:med
radio:m

  1. 57b8f0

  1. 57b8f0

  1. 57b8f0
radio:science
radio:sci
radio:n

  1. c68cfa

  1. c68cfa

  1. c68cfa
radio:security
radio:sec
radio:s

  1. dd3535

  1. dd3535

  1. dd3535
radio:service
radio:v

  1. 6ca729

  1. 6ca729
radio:supply
radio:sup
radio:u

  1. b88646

  1. b88646

  1. b88646
radio:syndicate
radio:synd
radio:t

  1. 8f4a4b

  1. 8f4a4b

  1. 8f4a4b
radio:handheld
radio:hh

<span class="color-label-color-square" style="

   background-color: unknown color code: radio:handheld;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">unknown color code: radio:handheld

  1. d39f01
radio:binary
radio:b

  1. 2ed2fd

  1. 2ed2fd
radio:freelance
radio:f

  1. f6ce64

  1. 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.

Suggested values
radio:common radio:centcom radio:cc dept:command dept:cmd radio:command radio:cmd radio:c dept:engineering dept:eng radio:engineering radio:eng radio:e dept:medical dept:med radio:medical radio:med radio:m dept:science dept:sci radio:science radio:sci radio:n dept:security dept:sec radio:security radio:sec dept:service radio:service dept:supply dept:sup radio:supply radio:sup radio:syndicate radio:synd radio:hendheld radio:hh radio:binary radio:freelance
Linerequired