Template:Role infobox: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
dropped template styles
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
|sep=,
|sep=,
|title={{{title|}}}
|title={{{title|}}}
|image={{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
|image={{#if:{{{image|{{{img|}}}}}}|[[File:{{{image|{{{img}}}}}}|250px]]}}
|sections=Main
|sections=Main


|Main=Access, Difficulty, Duties, Supervisors, Subordinates, Guides
|Main=Department, Access, Difficulty, Duties, Supervisors, Subordinates, Radio channels, Guides
|Main_nolabel = yes
|Main_nolabel = yes
|Department = {{{department|}}}
|Access = {{{access|}}}
|Access = {{{access|}}}
|Difficulty = {{{difficulty|}}}
|Difficulty = {{{difficulty|}}}
Line 13: Line 14:
|Supervisors = {{{supervisors|}}}
|Supervisors = {{{supervisors|}}}
|Subordinates = {{{subordinates|}}}
|Subordinates = {{{subordinates|}}}
|Radio channels = {{{radio|}}}
|Radio channels_class = flat-bullet-list
|Guides = {{{guides|}}}
|Guides = {{{guides|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{docs}}
{{docs|bb=
}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
Line 31: Line 35:
"example": "File:Detective.png",
"example": "File:Detective.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true,
"aliases": [
"img"
]
},
},
"access": {
"access": {
Line 68: Line 75:
"example": "This is the guide. / [[Medical]], [[Medicine]]",
"example": "This is the guide. / [[Medical]], [[Medicine]]",
"type": "line",
"type": "line",
"suggested": true
},
"department": {
"label": "Department",
"example": "Security",
"type": "line",
"suggested": true
},
"radio": {
"label": "Radio channels (comms)",
"description": "What radio channels are available round-start? If multiple channels are available, list each on a separate line starting with '*'.",
"example": "{{rch|supply}} / * {{rch|binary}} * {{rch|science}} ",
"type": "string",
"suggested": true
"suggested": true
}
}
Line 74: Line 94:
"title",
"title",
"image",
"image",
"department",
"access",
"access",
"difficulty",
"difficulty",
Line 79: Line 100:
"supervisors",
"supervisors",
"subordinates",
"subordinates",
"guides"
"guides",
]
"radio"
],
"description": "Infobox templates for roles/jobs.",
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 13:26, 29 March 2025

Template documentation
view or edit this documentation about template documentation

Template:Role infobox/doc

Infobox templates for roles/jobs.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Infobox titletitle

no description

Example
Nuclear Operative
Linerequired
Imageimage img

no description

Example
File:Detective.png
Filesuggested
Departmentdepartment

no description

Example
Security
Linesuggested
Level of accessaccess

no description

Example
Brig, Detective, Maintenance, Security, Service
Linesuggested
Difficultydifficulty

no description

Example
Medium
Linesuggested
Dutiesduties

What this role entails?

Linesuggested
Supervisorssupervisors

no description

Example
[[Head of Security]]
Linesuggested
Subordinatessubordinates

no description

Example
[[Scientist]], [[Research Assistant]]
Linesuggested
Guidesguides

List of guides for this role.

Example
This is the guide. / [[Medical]], [[Medicine]]
Linesuggested
Radio channels (comms)radio

What radio channels are available round-start? If multiple channels are available, list each on a separate line starting with '*'.

Example
{{rch|supply}} / * {{rch|binary}} * {{rch|science}}
Stringsuggested