Difference between revisions of "Template:TraitAbility/Name"
Jump to navigation
Jump to search
m |
m (Documentation) |
||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | == USAGE == | ||
+ | Used to look up the full name from a Trait/Ability enum. | ||
+ | |||
+ | Usage: | ||
+ | <pre>{{TraitAbility/Name|Enum of Ability}</pre> | ||
+ | |||
+ | e.g. | ||
+ | <pre>{{TraitAbility/Name|AbleSwimmer}</pre> | ||
+ | {{TraitAbility/Name|AbleSwimmer}} | ||
+ | |||
+ | == SETUP == | ||
+ | Add to / update the switch list to add new entries. Each should be on its own line, of the form: | ||
+ | <pre>| ENUM = Full Name</pre> | ||
+ | |||
+ | </noinclude> | ||
<includeonly>{{#switch: {{{1|default}}} | <includeonly>{{#switch: {{{1|default}}} | ||
| HighCommandArmy = Army High Command | | HighCommandArmy = Army High Command |
Revision as of 19:26, 22 February 2020
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