Template:Radio channel: Difference between revisions

From Space Station 14 Wiki
(switched to variables and {{color}} for color codes)
(added more shorthands - now synced up with {{color}})
 
Line 6: Line 6:


|y
|y
|cc
|centcom =  
|centcom =  
{{#vardefine: radio_channel_label|{{colon}}y CentCom}}
{{#vardefine: radio_channel_label|{{colon}}y CentCom}}
Line 11: Line 12:


|c
|c
|cmd
|command =  
|command =  
{{#vardefine: radio_channel_label|{{colon}}c Command}}
{{#vardefine: radio_channel_label|{{colon}}c Command}}
Line 16: Line 18:


|e
|e
|eng
|engineering =  
|engineering =  
{{#vardefine: radio_channel_label|{{colon}}e Engineering}}
{{#vardefine: radio_channel_label|{{colon}}e Engineering}}
Line 21: Line 24:


|m
|m
|med
|medical =  
|medical =  
{{#vardefine: radio_channel_label|{{colon}}m Medical}}
{{#vardefine: radio_channel_label|{{colon}}m Medical}}
Line 26: Line 30:


|n
|n
|sci
|science =  
|science =  
{{#vardefine: radio_channel_label|{{colon}}n Science}}
{{#vardefine: radio_channel_label|{{colon}}n Science}}
Line 31: Line 36:


|s
|s
|sec
|security =  
|security =  
{{#vardefine: radio_channel_label|{{colon}}s Security}}
{{#vardefine: radio_channel_label|{{colon}}s Security}}
Line 39: Line 45:
{{#vardefine: radio_channel_label|{{colon}}v Service}}
{{#vardefine: radio_channel_label|{{colon}}v Service}}
{{#vardefine: radio_channel_color|{{color|radio:Service}}}}
{{#vardefine: radio_channel_color|{{color|radio:Service}}}}
|u
|u
|sup
|supply =  
|supply =  
{{#vardefine: radio_channel_label|{{colon}}u Supply}}
{{#vardefine: radio_channel_label|{{colon}}u Supply}}
Line 45: Line 53:


|t
|t
|synd
|syndicate =  
|syndicate =  
{{#vardefine: radio_channel_label|{{colon}}t Syndicate}}
{{#vardefine: radio_channel_label|{{colon}}t Syndicate}}
{{#vardefine: radio_channel_color|{{color|radio:Syndicate}}}}
{{#vardefine: radio_channel_color|{{color|radio:Syndicate}}}}


|hh
|handheld =  
|handheld =  
{{#vardefine: radio_channel_label|{{;}} Handheld}}
{{#vardefine: radio_channel_label|{{;}} Handheld}}
Line 84: Line 94:
"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 16:09, 9 August 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
:y CentCom
:y CentCom

c
cmd
command

:c Command
:c Command
:c Command

e
eng
engineering

:e Engineering
:e Engineering
:e Engineering

m
med
medical

:m Medical
:m Medical
:m Medical

n
sci
science

:n Science
:n Science
:n Science

s
sec
security

:s Security
:s Security
:s Security

v
service

:v Service
:v Service

u
sup
supply

:u Supply
:u Supply
:u Supply

t
synd
syndicate

:t Syndicate
:t Syndicate
:t Syndicate

hh
handheld

; Handheld
; 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 cc CentCom c cmd Command e eng Engineering m med Medical n sci Science s sec Security v Service u sup Supply t synd Syndicate hh Handheld b Binary f Freelance
Linerequired