Template:Color: Difference between revisions

From Space Station 14 Wiki
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}}}}
<includeonly>{{#invoke: Color|main|{{lc: {{{1}}}}}}}</includeonly><noinclude>
<!-- DEPARMENTS -->
<!-- sourced from Resources/Roles/Jobs/deparments.yml -->
|dept:command
|dept:cmd = #334E6D
 
|dept:engineering
|dept:eng = #EFB341
 
|dept:medical
|dept:med = #52B4E9
 
|dept:science
|dept:sci = #D381C9
 
|dept:security
|dept:sec = #DE3A3A
 
|dept:civilian
|dept:civ = #9FED58
 
|dept:cargo = #A46106
 
|dept:specific = #9FED58
 
<!-- RADIO CHANNELS -->
|radio:common
|radio:; = #32cd32
 
|radio:centcom
|radio:cc
|radio:y = #2681a5
 
|radio:command
|radio:cmd
|radio:c = #fcdf03
 
|radio:engineering
|radio:eng
|radio:e = #f37746
 
|radio:medical
|radio:med
|radio:m = #57b8f0
 
|radio:science
|radio:sci
|radio:n = #c68cfa
 
|radio:security
|radio:sec
|radio:s = #dd3535
 
|radio:service
|radio:v = #6ca729
 
|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>
{{docs}}
{{docs}}



Revision as of 15:20, 9 August 2024

Template documentation
view or edit this documentation about template documentation

Colors

Departments

Color code How it looks
dept:command
dept:cmd

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:engineering
dept:eng

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:medical
dept:med

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:science
dept:sci

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:security
dept:sec

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:civilian
dept:civ

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:cargo

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

dept:specific

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

Radio channels

Color code How it looks
radio:common
radio:;

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:centcom
radio:cc
radio:y

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:command
radio:cmd
radio:c

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:engineering
radio:eng
radio:e

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:medical
radio:med
radio:m

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:science
radio:sci
radio:n

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:security
radio:sec
radio:s

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:service
radio:v

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:supply
radio:sup
radio:u

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:syndicate
radio:synd
radio:t

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:handheld
radio:hh

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:binary
radio:b

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".

radio:freelance
radio:f

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

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".
<span class="color-label-color-square" style="

   background-color: Script error: No such module "Color".;
   display: inline-block;
   vertical-align: middle;
   width: 1em;
   height: 1em;
   border-radius: 2px;
   margin-right: 0.15rem;

">Script error: No such module "Color".


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
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:hendheld radio:hh radio:binary radio:b radio:freelance radio:f
Linerequired