Template:Radio channel: Difference between revisions
From Space Station 14 Wiki
Created page with "<includeonly>{{#switch: {{lc: {{{1}}}}} |; |common = <span style="color: #32cd32;">;Common</span> |y |centcom = <span style="color: #2681a5;">;CentCom</span> |c |command = <span style="color: #fcdf03;">;Command</span> |e |engineering = <span style="color: #f37746;">;Engineering</span> |m |medical = <span style="color: #57b8f0;">;Medical</span> |n |science = <span style="color: #c68cfa;">;Science</span> |s |security = <span style="color: #dd3535;">;Security</span>..." |
UpAndLeaves (talk | contribs) m Also handheld is now whisper |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc: {{{1}}}}} | <includeonly>{{#switch: {{lc: {{{1}}}}} | ||
|; | |; | ||
|common = | |common = | ||
{{#vardefine: radio_channel_label|{{kbd|;}} Common}} | |||
{{#vardefine: radio_channel_color|{{color|radio:common}}}} | |||
|y | |y | ||
|centcom = | |cc | ||
|centcom = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}y}} CentCom}} | |||
{{#vardefine: radio_channel_color|{{color|radio:CentCom}}}} | |||
|c | |c | ||
|command = | |cmd | ||
|command = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}c}} Command}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Command}}}} | |||
|e | |e | ||
|engineering = | |eng | ||
|engineering = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}e}} Engineering}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Engineering}}}} | |||
|m | |m | ||
|medical = | |med | ||
|medical = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}m}} Medical}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Medical}}}} | |||
|n | |n | ||
|science = | |sci | ||
|science = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}n}} Science}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Science}}}} | |||
|s | |s | ||
|security = | |sec | ||
|security = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}s}} Security}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Security}}}} | |||
|v | |v | ||
|service = | |service = | ||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}v}} Service}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Service}}}} | |||
|u | |u | ||
|supply = | |sup | ||
|supply = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}u}} Supply}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Supply}}}} | |||
|t | |t | ||
|syndicate = | |synd | ||
|syndicate = | |||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}t}} Syndicate}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Syndicate}}}} | |||
|handheld = | |hh | ||
|handheld = | |||
{{#vardefine: radio_channel_label|{{kbd|,}} Handheld}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Handheld}}}} | |||
|b | |b | ||
|binary = | |binary = | ||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}b}} Binary}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Binary}}}} | |||
|f | |f | ||
|freelance = | |freelance = | ||
{{#vardefine: radio_channel_label|{{kbd|{{colon}}f}} Freelance}} | |||
{{#vardefine: radio_channel_color|{{color|radio:Freelance}}}} | |||
| | |{{error|unknown channel{{colon}} "{{{1}}}"}}<!--/switch-->}}<!-- | ||
}}</ | |||
{{docs}} | --><span style="color: {{#var:radio_channel_color}};"><!-- | ||
-->{{colored text|{{#var:radio_channel_color}}|{{#var:radio_channel_label}}}}<!-- | |||
--></span></includeonly><noinclude> | |||
{{docs|bb= | |||
{{has alias template|Rch}} | |||
}} | |||
[[Category:Wikitext typing-aid templates]] | [[Category:Wikitext typing-aid templates]] | ||
[[Category:Template starter-kit]] | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 56: | Line 95: | ||
"Common", | "Common", | ||
"y", | "y", | ||
"cc", | |||
"CentCom", | "CentCom", | ||
"c", | "c", | ||
"cmd", | |||
"Command", | "Command", | ||
"e", | "e", | ||
"eng", | |||
"Engineering", | "Engineering", | ||
"m", | "m", | ||
"med", | |||
"Medical", | "Medical", | ||
"n", | "n", | ||
"sci", | |||
"Science", | "Science", | ||
"s", | "s", | ||
"sec", | |||
"Security", | "Security", | ||
"v", | "v", | ||
"Service", | "Service", | ||
"u", | "u", | ||
"sup", | |||
"Supply", | "Supply", | ||
"t", | "t", | ||
"synd", | |||
"Syndicate", | "Syndicate", | ||
"hh", | |||
"Handheld", | "Handheld", | ||
"b", | "b", |
Latest revision as of 20:23, 30 March 2025
Has an alias
This template has an alternative name:
Based on Resources\Prototypes\radio_channels.yml
Examples
Radio channel | How it looks |
---|---|
; Common |
; Common |
y cc centcom |
:y CentCom |
c cmd command |
:c Command |
e eng engineering |
:e Engineering |
m med medical |
:m Medical |
n sci science |
:n Science |
s sec security |
:s Security |
v service |
:v Service |
u sup supply |
:u Supply |
t synd syndicate |
:t Syndicate |
hh handheld |
, Handheld |
b binary |
:b Binary |
f freelance |
:f Freelance |
Generates a label corresponding to a radio channel, like you would type in chat.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Channel code or name | 1 | Either a channel code (e.g. "e" for Engineering) or a channel name (e.g. "Engineering"). Supports any casing, lowercase included.
| Line | required |