Difference between revisions of "Template:TraitAbility/Description"

From Holdfast: Nations At War
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 +
<noinclude>
 +
== USAGE ==
 +
Used to look up the descriptions from a Trait/Ability enum.
 +
 +
Usage:
 +
<pre>{{TraitAbility/Description|Enum of Ability}</pre>
 +
 +
e.g.
 +
<pre>{{TraitAbility/Description|AbleSwimmer}</pre>
 +
{{TraitAbility/Description|AbleSwimmer}}
 +
 +
== SETUP ==
 +
Add to / update the switch list to add new entries.  Each should be on its own line, of the form:
 +
<pre>| ENUM = Description</pre>
 +
 +
</noinclude>
 
<includeonly>{{#switch: {{{1|default}}}  
 
<includeonly>{{#switch: {{{1|default}}}  
 
| HighCommandArmy = An officer in command. You are able to issue orders to the rank and file.   
 
| HighCommandArmy = An officer in command. You are able to issue orders to the rank and file.   

Revision as of 19:34, 22 February 2020

USAGE

Used to look up the descriptions from a Trait/Ability enum.

Usage:

{{TraitAbility/Description|Enum of Ability}

e.g.

{{TraitAbility/Description|AbleSwimmer}

Lightly equipped. Your swimming speed is increased by 35%.

SETUP

Add to / update the switch list to add new entries. Each should be on its own line, of the form:

| ENUM = Description