Difference between revisions of "Template:TraitAbility"

From Holdfast: Nations At War
Jump to navigation Jump to search
m (Fixed the image size, and the documentation)
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
== USAGE ==
 
Used to create a single row detailing a trait / ability
 
Used to create a single row detailing a trait / ability
  
Line 11: Line 12:
 
{{TraitAbility|enum=AbleSwimmer}}
 
{{TraitAbility|enum=AbleSwimmer}}
  
 +
== SETUP ==
 
This is driven by sub-templates for the data used (these also feed other uses of trait/ability data).  The Trait image is resized to 55x55px and should be named Trait_[enum].png, replacing [enum] with the name of the trait.
 
This is driven by sub-templates for the data used (these also feed other uses of trait/ability data).  The Trait image is resized to 55x55px and should be named Trait_[enum].png, replacing [enum] with the name of the trait.
 
<pre>
 
<pre>

Revision as of 19:24, 22 February 2020

USAGE

Used to create a single row detailing a trait / ability


Usage:

{{TraitAbility|enum=Enum of Ability}

e.g.

{{TraitAbility|enum=AbleSwimmer}


Trait AbleSwimmer.png Able Swimmer Lightly equipped. Your swimming speed is increased by 35%.

SETUP

This is driven by sub-templates for the data used (these also feed other uses of trait/ability data). The Trait image is resized to 55x55px and should be named Trait_[enum].png, replacing [enum] with the name of the trait.

{{TraitAbility/Type|AbleSwimmer}}
{{TraitAbility/Name|AbleSwimmer}}
{{TraitAbility/Description|AbleSwimmer}}

Trait

Able Swimmer

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