Difference between revisions of "Template:TraitAbility"
Jump to navigation
Jump to search
Tag: Undo |
m (Updated to be driven by sub-template data) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Used to create a single row detailing a trait / ability | 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)}}--> | <!--{{#cargo_declare:_table=TraitAbility|Type=String (allowed values=Trait,Ability;mandatory)|Enum=String (mandatory;unique)|Name=String|Description=Wikitext string (size=500)}}--> | ||
Usage: | Usage: | ||
− | <pre>{{TraitAbility| | + | <pre>{{TraitAbility|enum=Enum of Ability|style=TBC|width=TBC}}</pre> |
+ | |||
+ | {{TraitAbility|enum=AbleSwimmer|style=TBC|width=TBC}} | ||
+ | |||
+ | Note that this is now driven by sub-templates of the data: | ||
+ | <pre> | ||
+ | {{TraitAbility/Type|AbleSwimmer}} | ||
+ | {{TraitAbility/Name|AbleSwimmer}} | ||
+ | {{TraitAbility/Description|AbleSwimmer}} | ||
+ | </pre> | ||
+ | |||
+ | {{TraitAbility/Type|AbleSwimmer}} | ||
+ | |||
+ | {{TraitAbility/Name|AbleSwimmer}} | ||
+ | |||
+ | {{TraitAbility/Description|AbleSwimmer}} | ||
</noinclude> | </noinclude> | ||
Line 13: | Line 27: | ||
{| class=wikitable style="margin-bottom:0px;margin-top:0px" | {| class=wikitable style="margin-bottom:0px;margin-top:0px" | ||
|- | |- | ||
− | | style="width: 100px" | [[File:{{{ | + | | style="width: 100px;text-align: center" | [[File:{{TraitAbility/Type|{{{enum}}}}}_{{{ enum|blank }}}.png]] |
− | | style="width: 350px" | {{{ | + | | style="width: 350px" | {{TraitAbility/Name|{{{enum}}}}} |
− | | style="width: 500px" | {{{ | + | | style="width: 500px" | {{TraitAbility/Description|{{{enum}}}}} |
|}</includeonly> | |}</includeonly> |
Revision as of 20:22, 20 August 2019
Used to create a single row detailing a trait / ability
Usage:
{{TraitAbility|enum=Enum of Ability|style=TBC|width=TBC}}
Able Swimmer | Lightly equipped. Your swimming speed is increased by 35%. |
Note that this is now driven by sub-templates of the data:
{{TraitAbility/Type|AbleSwimmer}} {{TraitAbility/Name|AbleSwimmer}} {{TraitAbility/Description|AbleSwimmer}}
Trait
Able Swimmer
Lightly equipped. Your swimming speed is increased by 35%.