Difference between revisions of "Template:TraitAbility"

From Holdfast: Nations At War
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#cargo_store:
+
{{#cargo_store:_table=TraitAbility|Type={{type|Trait}}|Enum={{enum|Blank}}|Name={{name|Unknown}}|Description=={{description|Unknown Trait}} }}
_table=TraitAbility
 
|Type={{type|Trait}}
 
|Enum={{enum|Blank}}
 
|Name={{name|Unknown}}
 
|Description=={{description|Unknown Trait}}
 
}}
 
 
 
 
{| class=wikitable
 
{| class=wikitable
 
|-
 
|-
Line 23: Line 16:
 
| style="width: 350px" | {{{ name }}}
 
| style="width: 350px" | {{{ name }}}
 
| style="width: 500px" | {{{ description }}}
 
| style="width: 500px" | {{{ description }}}
|}
+
|}</includeonly>
</includeonly>
 

Revision as of 17:38, 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}}