Template:Radio channel: Difference between revisions

From Space Station 14 Wiki
(alias)
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{1}}}}}
<includeonly>{{#switch: {{lc: {{{1}}}}}
|;
|;
|common = <span style="color: #32cd32;">;Common</span>
|common = <span style="color: #32cd32;">:; Common</span>


|y
|y
|centcom = <span style="color: #2681a5;">;CentCom</span>
|centcom = <span style="color: #2681a5;">:y CentCom</span>


|c
|c
|command = <span style="color: #fcdf03;">;Command</span>
|command = <span style="color: #fcdf03;">:c Command</span>


|e
|e
|engineering = <span style="color: #f37746;">;Engineering</span>
|engineering = <span style="color: #f37746;">:e Engineering</span>


|m
|m
|medical = <span style="color: #57b8f0;">;Medical</span>
|medical = <span style="color: #57b8f0;">:m Medical</span>


|n
|n
|science = <span style="color: #c68cfa;">;Science</span>
|science = <span style="color: #c68cfa;">:n Science</span>


|s
|s
|security = <span style="color: #dd3535;">;Security</span>
|security = <span style="color: #dd3535;">:s Security</span>


|v
|v
|service = <span style="color: #6ca729;">;Service</span>
|service = <span style="color: #6ca729;">:v Service</span>


|u
|u
|supply = <span style="color: #b88646;">;Supply</span>
|supply = <span style="color: #b88646;">:u Supply</span>


|t
|t
|syndicate = <span style="color: #8f4a4b;">;Syndicate</span>
|syndicate = <span style="color: #8f4a4b;">:t Syndicate</span>


|handheld = <span style="color: #d39f01;">;Handheld</span>
|handheld = <span style="color: #d39f01;">: Handheld</span>


|b
|b
|binary = <span style="color: #2ed2fd;">;Binary</span>
|binary = <span style="color: #2ed2fd;">:b Binary</span>


|f
|f
|freelance = <span style="color: #f6ce64;">;Freelance</span>
|freelance = <span style="color: #f6ce64;">:f Freelance</span>


|
|{{error|unknown channel{{colon}} {{{1}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{refactor on new extensions arrival|switch to colored text; use variables}}
{{refactor on new extensions arrival|switch to colored text; use variables}}

Revision as of 22:29, 7 July 2024

Has an alias
This template has an alternative name:
Template documentation
view or edit this documentation about template documentation

Based on Resources\Prototypes\radio_channels.yml

Examples

Radio channel How it looks
;
Common

:; Common
:; Common

y
cc
centcom

:y CentCom
unknown channel: cc
:y CentCom

c
cmd
command

:c Command
unknown channel: cmd
:c Command

e
eng
engineering

:e Engineering
unknown channel: eng
:e Engineering

m
med
medical

:m Medical
unknown channel: med
:m Medical

n
sci
science

:n Science
unknown channel: sci
:n Science

s
sec
security

:s Security
unknown channel: sec
:s Security

v
service

:v Service
:v Service

u
sup
supply

:u Supply
unknown channel: sup
:u Supply

t
synd
syndicate

:t Syndicate
unknown channel: synd
:t Syndicate

hh
handheld

unknown channel: hh
: Handheld

b
binary

:b Binary
:b Binary

f
freelance

:f Freelance
:f Freelance

Generates a label corresponding to a radio channel, like you would type in chat.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Channel code or name1

Either a channel code (e.g. "e" for Engineering) or a channel name (e.g. "Engineering"). Supports any casing, lowercase included.

Suggested values
; Common y CentCom c Command e Engineering m Medical n Science s Security v Service u Supply t Syndicate Handheld b Binary f Freelance
Linerequired