Difference between revisions of "Template:Equipment Weapon"

From Epic Paths
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Disciplines|Proficiency|Hands|ItemType|Damage|Critical|DamageType|RangeInc|DamageTypeLong|Special}}
{{#template_params:Disciplines|Proficiency|Hands|ItemType|Damage|Critical|DamageType|RangeInc|DamageTypeLong|Special}}
{{#cargo_declare:_table=Equipment_Weapons|Disciplines=List (,) of String|Proficiency=String (allowed values=simple,martial,exotic)|Hands=String (allowed values=light,one-handed,two-handed)|ItemType=String (allowed values=melee,ranged,ammunition,misc)|Damage=String|Critical=String|DamageType=String|DamageTypeLong=String|RangeInc=String|Special=Wikitext}}
{{#cargo_declare:_table=Equipment_Weapons|Disciplines=List (,) of String|Proficiency=String (allowed values=simple,martial,exotic,improvised)|Hands=String (allowed values=light,one-handed,two-handed)|ItemType=String (allowed values=melee,ranged,ammunition,misc)|Damage=String|Critical=String|DamageType=String|DamageTypeLong=String|RangeInc=String|Special=Wikitext}}
{{#cargo_attach:_table=Equipment_Items}}
{{#cargo_attach:_table=Equipment_Items}}
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Weapons|Disciplines={{{Disciplines|}}}|Damage={{{Damage|}}}|Critical={{{Critical|}}}|DamageType={{{DamageType|}}}|DamageTypeLong={{{DamageTypeLong|}}}|RangeInc={{{RangeInc|—}}}|Special={{{Special|—}}}}}
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Weapons|Disciplines={{{Disciplines|}}}|Damage={{{Damage|}}}|Critical={{{Critical|}}}|DamageType={{{DamageType|}}}|DamageTypeLong={{{DamageTypeLong|}}}|RangeInc={{{RangeInc|—}}}|Special={{{Special|—}}}}}

Revision as of 20:11, 7 August 2021

This is the "Equipment Weapon" template.

It should be called in the following format:

{{Equipment Weapon
|Disciplines=
|Proficiency=
|Hands=
|ItemType=
|Damage=
|Critical=
|DamageType=
|RangeInc=
|DamageTypeLong=
|Special=
}}

Edit the page to see the template text.

This template defines the table "Equipment_Weapons". View table. This template adds rows to the table "Equipment_Items", which is declared by the template Equipment Item. View table.