Difference between revisions of "Template:TraitAbility/Type"

From Holdfast: Nations At War
Jump to navigation Jump to search
m
m
Line 14: Line 14:
 
<pre>| ENUM = Type (Trait or Ability)</pre>
 
<pre>| ENUM = Type (Trait or Ability)</pre>
  
</noinclude>
+
</noinclude><includeonly>{{#switch: {{{1|default}}}  
<includeonly>{{#switch: {{{1|default}}}  
 
 
| HighCommandArmy = Ability  
 
| HighCommandArmy = Ability  
 
| HighCommandNaval = Ability  
 
| HighCommandNaval = Ability  

Revision as of 19:44, 22 February 2020

USAGE

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

Usage:

{{TraitAbility/Type|Enum of Ability}}

e.g.

{{TraitAbility/Type|AbleSwimmer}}

Trait

SETUP

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

| ENUM = Type (Trait or Ability)