Difference between revisions of "Template:TraitAbility/Name"
Jump to navigation
Jump to search
m (Documentation) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
<pre>| ENUM = Full Name</pre> | <pre>| ENUM = Full Name</pre> | ||
− | </noinclude> | + | </noinclude><includeonly>{{#switch: {{{1|default}}} |
− | <includeonly>{{#switch: {{{1|default}}} | ||
| HighCommandArmy = Army High Command | | HighCommandArmy = Army High Command | ||
| HighCommandNaval = Naval High Command | | HighCommandNaval = Naval High Command | ||
Line 52: | Line 51: | ||
| MountedFirearmSpecialisation = Mounted Firearm Specialisation | | MountedFirearmSpecialisation = Mounted Firearm Specialisation | ||
| MountedSwordSpecialisation = Mounted Sword Specialisation | | MountedSwordSpecialisation = Mounted Sword Specialisation | ||
− | | SkilfulRider = Skilful Rider }}</includeonly> | + | | SkilfulRider = Skilful Rider |
+ | | BayonetHandling = Bayonet Handling | ||
+ | | Bandage = Bandage | ||
+ | | Orderly = Orderly }}</includeonly> |
Latest revision as of 20:54, 28 June 2021
USAGE
Used to look up the full name from a Trait/Ability enum.
Usage:
{{TraitAbility/Name|Enum of Ability}
e.g.
{{TraitAbility/Name|AbleSwimmer}
Able Swimmer
SETUP
Add to / update the switch list to add new entries. Each should be on its own line, of the form:
| ENUM = Full Name