Dicemonger (talk | contribs) mNo edit summary |
Dicemonger (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Damage|Hands| | {{#template_params:Damage|Hands|WeaponRange|Reload|WeaponCategory|WeaponGroup|Ammunition}} | ||
{{#cargo_declare:_table=Equipment_Weapon|Damage=WikiText|Hands=String| | {{#cargo_declare:_table=Equipment_Weapon|Damage=WikiText|Hands=String|WeaponRange=String|Reload=String|WeaponCategory=String|WeaponGroup=String|Ammunition=String}} | ||
{{#cargo_attach:_table=Equipment}} | {{#cargo_attach:_table=Equipment}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Equipment}} | </noinclude><includeonly>{{#cargo_store:_table=Equipment}} | ||
Line 14: | Line 14: | ||
| {{#ifeq:{{{Rarity|}}}|Common||{{{Rarity}} {{#!:||}}}} {{#if:{{{Level|}}}|{{{Level}}} {{#!:||}}}} {{#if:{{{Price_Gp|}}}|{{{Price_Gp}}} gp|{{#if:{{{Price_Sp|}}}|{{{Price_Sp}}} sp|{{#if:{{{Price_Cp|}}}|{{{Price_Cp}}} cp|{{{Cost|—}}}}}}}}} || {{{Bulk|—}}} | | {{#ifeq:{{{Rarity|}}}|Common||{{{Rarity}} {{#!:||}}}} {{#if:{{{Level|}}}|{{{Level}}} {{#!:||}}}} {{#if:{{{Price_Gp|}}}|{{{Price_Gp}}} gp|{{#if:{{{Price_Sp|}}}|{{{Price_Sp}}} sp|{{#if:{{{Price_Cp|}}}|{{{Price_Cp}}} cp|{{{Cost|—}}}}}}}}} || {{{Bulk|—}}} | ||
|- | |- | ||
! Damage!! {{#if:{{{ | ! Damage!! {{#if:{{{WeaponRange|}}}|Range!!}} {{#if:{{{Reload|}}}|Reload!!}} Hands | ||
|- | |- | ||
| {{{Damage|—}}} || {{#if:{{{ | | {{{Damage|—}}} || {{#if:{{{WeaponRange|}}}|{{{WeaponRange}}} {{#!:||}}}} {{#if:{{{Reload|}}}|{{{Reload}}} {{#!:||}}}} {{{Hands|—}}} | ||
|}}} | |}}} | ||
Revision as of 12:55, 16 June 2023
This is the "Equipment Weapon" template.
It should be called in the following format:
{{Equipment Weapon |Damage= |Hands= |WeaponRange= |Reload= |WeaponCategory= |WeaponGroup= |Ammunition= }}
Edit the page to see the template text.
This template defines the table "Equipment_Weapon". View table. This template adds rows to the table "Equipment", which is declared by the template Equipment Item. View table.