Difference between revisions of "Template:Equipment Weapon"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{#cargo_attach:_table=Equipment_Items}} | {{#cargo_attach:_table=Equipment_Items}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Equipment_Weapons|Damage={{{Damage|}}}|Critical={{{Critical|}}}|DamageType={{{DamageType|}}}|DamageTypeLong={{{DamageTypeLong|}}}|RangeInc={{{RangeInc|—}}}|Special={{{Special|—}}}}} | </noinclude><includeonly>{{#cargo_store:_table=Equipment_Weapons|Damage={{{Damage|}}}|Critical={{{Critical|}}}|DamageType={{{DamageType|}}}|DamageTypeLong={{{DamageTypeLong|}}}|RangeInc={{{RangeInc|—}}}|Special={{{Special|—}}}}} | ||
{{#cargo_store:_table=Equipment_Items|Short={{{Short|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|Cost={{{Cost|—}}}|Weight={{{Weight|—}}}|CraftDC={{{CraftDC|}}}|CraftType={{{CraftType|}}}|OGL={{{OGL|}}}}}<!-- | {{#cargo_store:_table=Equipment_Items|Advanced={{{Advanced|no}}}|Variant={{{Variant|no}}}|Short={{{Short|}}}|Fluff={{{Fluff|}}}|Description={{{Description|}}}|Benefit={{{Benefit|}}}|Note={{{Note|}}}|CostGp={{{CostGp|0}}}|Cost={{#if:{{{CostGp|}}}|{{Mapper Cost|{{{CostGp}}}}}|{{{Cost|—}}}}}|Weight={{{Weight|—}}}|CraftDC={{{CraftDC|}}}|CraftType={{{CraftType|}}}|OGL={{{OGL|}}}}}<!-- | ||
-->{{BreadCrumbs|Equipment,Equipment/{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!-- | -->{{BreadCrumbs|Equipment,Equipment/{{{Category}}}}}{{DISPLAYTITLE:{{SUBPAGENAME}}}}<!-- | ||
-->{{#ifeq: {{{Variant|}}}|Yes|'''Variant:''' {{{Variant}}}{{Break}}}}<!-- | |||
-->{{#!:{| class="wikitable" | -->{{#!:{| class="wikitable" | ||
Line 12: | Line 14: | ||
! Hands !! Damage !! Critical !! Type !!{{#if: {{{RangeInc|}}}| Range !!|}} Special !! Cost !! Weight | ! Hands !! Damage !! Critical !! Type !!{{#if: {{{RangeInc|}}}| Range !!|}} Special !! Cost !! Weight | ||
|- | |- | ||
| {{{Hands}}} {{{ItemType}}} || {{{Damage|—}}} || {{{Critical|—}}} || {{{DamageType|—}}} ||{{#if: {{{RangeInc|}}}| {{{RangeInc|—}}} {{#!:||}}|}} {{{Special|—}}} || {{{Cost|—}}} || {{{Weight|—}}} | | {{{Hands}}} {{{ItemType}}} || {{{Damage|—}}} || {{{Critical|—}}} || {{{DamageType|—}}} ||{{#if: {{{RangeInc|}}}| {{{RangeInc|—}}} {{#!:||}}|}} {{{Special|—}}} || {{#if:{{{CostGp|}}}|{{Mapper Cost|{{{CostGp}}}}}|{{{Cost|—}}}}} || {{{Weight|—}}} | ||
|}}}<!-- | |}}}<!-- | ||
Line 31: | Line 33: | ||
<wbr>|}}<!-- | <wbr>|}}<!-- | ||
-->'''Training Feats:''' {{# | -->'''Training Feats:''' {{#cargo_query:tables=Feats_Weapon_Training|where=Weapons HOLDS "{{PAGENAME}}"|order by=Name|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name|format=list}} | ||
<wbr><!-- | <wbr><!-- |
Latest revision as of 15:27, 29 January 2022
This is the "Equipment Weapon" template.
It should be called in the following format:
{{Equipment Weapon |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.