Template:Role: Difference between revisions
From Space Station 14 Wiki
m а |
Tag: Rollback |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Role|main}}</includeonly><noinclude> | |||
{{docs|bb= | |||
{{uses lua|Role}} | |||
}} | |||
[[Category:Icon templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Role", | |||
"description": "Select a predefined role. Lowercase values or abbreviations are allowed.", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Captain", | |||
"Head of Personnel", | |||
"Head of Security", | |||
"Chief Engineer", | |||
"Chief Medical Officer", | |||
"Quartermaster", | |||
"Research Director", | |||
"Warden", | |||
"Detective", | |||
"Security Officer", | |||
"Security Cadet", | |||
"Salvage Specialist", | |||
"Cargo Technician", | |||
"Atmospheric Technician", | |||
"Station Engineer", | |||
"Technical Assistant", | |||
"Paramedic", | |||
"Chemist", | |||
"Medical Doctor", | |||
"Medical Intern", | |||
"Scientist", | |||
"Research Assistant", | |||
"Lawyer", | |||
"Bartender", | |||
"Chef", | |||
"Botanist", | |||
"Chaplain", | |||
"Janitor", | |||
"Librarian", | |||
"Musician", | |||
"Mime", | |||
"Clown", | |||
"Service Worker", | |||
"Passenger", | |||
"Boxer", | |||
"Reporter", | |||
"Zookeeper", | |||
"Psychologist", | |||
"Station AI", | |||
"Cyborg", | |||
"Personal AI", | |||
"Maintenance Drone", | |||
"Mouse", | |||
"Ghost", | |||
"Hamlet", | |||
"Pun Pun", | |||
"Nuclear Commander", | |||
"Nuclear Agent", | |||
"Nuclear Operative", | |||
"Lone Nuclear Operative", | |||
"Syndicate Agent", | |||
"Rat King", | |||
"Initial Infected", | |||
"Zombie", | |||
"Space Ninja", | |||
"Space Dragon", | |||
"Head Revolutionary", | |||
"Revolutionary", | |||
"Thief", | |||
"Wizard", | |||
"Paradox Clone", | |||
"Terminator" | |||
], | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Icon size", | |||
"description": "Size of the icon.", | |||
"type": "line", | |||
"default": "24px", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Creates a link to a job/role page with a job/role icon.", | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 01:37, 16 May 2025
Uses Lua module
This template uses Lua module:
How to add/edit/remove a role
See Module:Role.
Examples
Basic usage
{{Role
↓
Abbreviation
{{Role
↓
Lowercase
{{Role
↓
Custom label
{{Role
↓
Custom icon size
{{Role
↓
In text
Bla bla bla {{role|chemist}} blu blu blu
↓
Bla bla bla Chemist blu blu blu
List of all roles
See Template:Role/doc/list of all roles.Creates a link to a job/role page with a job/role icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Role | 1 | Select a predefined role. Lowercase values or abbreviations are allowed.
| Line | required |
Icon size | 2 | Size of the icon.
| Line | suggested |