Template:WeaponsTable: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 5: Line 5:
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="Talent required to craft the weapon">Required Talent</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
!<abbr title="At what Level Difficulty and at which Outposts is the Weapon sold.>Store Availability</abbr>
!<abbr title="Modifier of all damage dealt by the Weapon.">Damage<br>Modifier</abbr>
!<abbr title="Shoots per Second">Firerate</abbr>
!<abbr title="Shoots per Second">Firerate</abbr>
!<abbr title="Max number of ammunition stackable outside of the weapon">Ammo<br>Stack</abbr>
!<abbr title="Max number of ammunition stackable outside of the weapon">Ammo<br>Stack</abbr>
Line 29: Line 30:
-->{{#cargo_query:
-->{{#cargo_query:
tables = Items
tables = Items
| fields = Items.name, Items.type, Items.icon, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, <!-- Items.armorysold -->, Items.ammomaxstack, Items.talent, Items.afflictions, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.oxygenlow, Items.huskinfection, Items.psychosis, Items.morbusinepoisoning, Items.sufforinpoisoning, Items.deliriuminepoisoning, Items.cyanidepoisoning, Items.radiationsickness, Items.paralysis, Items.progressivestun, Items.stun, Items.pellets, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage,
| fields = Items.name, Items.type, Items.icon, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, <!-- Items.armorysold -->, Items.ammomaxstack, Items.talent, Items.afflictions, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.bluntforcetrauma, Items.lacerations, Items.gunshotwound, Items.deeptissueinjury, Items.organdamage, Items.burn, Items.bleeding, Items.oxygenlow, Items.huskinfection, Items.psychosis, Items.morbusinepoisoning, Items.sufforinpoisoning, Items.deliriuminepoisoning, Items.cyanidepoisoning, Items.radiationsickness, Items.paralysis, Items.progressivestun, Items.stun, Items.pellets, Items.ammocount, Items.magazine, Items.magazine2, Items.fuelduration, Items.fuelduration2, Items.ammo, Items.explosionrange, Items.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun, Items.explosionstructuredamage, Items.structuredamage,
| where = Items.weapontype="{{#switch: {{{Tabletype}}}|Ranged=ranged|Melee=melee|Throwable=throwable|Explosive=explosive}}"
| where = Items.weapontype="{{#switch: {{{Tabletype}}}|Ranged=ranged|Melee=melee|Throwable=throwable|Explosive=explosive}}"
| format = template
| format = template

Revision as of 07:20, 28 December 2022

Documentation

Table displaying Weapons for the Handheld Weapons page.

Sub Templates

See also

Template in use

Ranged

To show up here items must have:

  • weapontype defined as ranged.
{{WeaponsTable|tabletype=ranged}}
Weapon Name
Error: No field named "type" found for the database table "Items".

Melee

  • weapontype defined as melee.
{{WeaponsTable|tabletype=melee}}
Weapon Name
Error: No field named "type" found for the database table "Items".

Throwable

  • weapontype defined as throwable.
{{WeaponsTable|tabletype=throwable}}
Weapon Name
Error: No field named "type" found for the database table "Items".