Difference between revisions of "Template:TraitAbility"

From Holdfast: Nations At War
Jump to navigation Jump to search
m (Testing Cargo)
m
Line 20: Line 20:
 
{| class=wikitable
 
{| class=wikitable
 
|-
 
|-
| <!-- Icon --> style="width: 100px" [[File:{{{type}}}_{{{ enum|blank }}}]]
+
| style="width: 100px" [[File:{{{type}}}_{{{ enum|blank }}}]]
| <!-- Name --> style="width: 350px" {{{ name }}}
+
| style="width: 350px" {{{ name }}}
| <!-- Description --> style="width: 500px" {{{ description }}}
+
| style="width: 500px" {{{ description }}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 17:35, 15 August 2019

Used to create a single row detailing a trait / ability


{{#cargo_declare:_table=TraitAbility|Type=String (allowed values=Trait,Ability;mandatory)|Enum=String (mandatory;unique)|Name=String|Description=Wikitext string (size=500)}}

Usage:

{{TraitAbility|type=Trait/Ability|enum=Enum of Ability|name=Friendly name|description=Text description of ability}}