Template:WeaponsTable: Difference between revisions
From Official Barotrauma Wiki
m (moved supply to the right) |
mNo edit summary Tag: Reverted |
||
Line 29: | Line 29: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = Items | tables = Items | ||
| fields = Items.name, Items.icon, Items.ammotype, Items.weapontype, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.projectiles, Items.ammo, Items.ammocount, Items.ammomaxstack, Items.ammo2, Items.ammo2count, Items.ammo2maxstack, Items.supplyname, Items.supplyitems, Items.severlimbsprobability, Items.explosionrange, Items.afflictions, Items.explosionafflictions, | | fields = Items.name, Items.icon, Items.ammotype, Items.weapontype, Items.weapondamagemodifier, Items.attackspeed, Items.penetration, Items.projectiles, Items.ammo, Items.ammocount, Items.ammomaxstack, Items.ammo2, Items.ammo2count, Items.ammo2maxstack, Items.supplyname, Items.supplyitems, Items.severlimbsprobability, Items.explosionrange, Items.afflictions, Items.explosionafflictions, Items.ammonowiki, Items.ammo2nowiki | ||
| where = Items.weapontype="{{#switch: {{{tabletype}}}|ranged=ranged|melee=melee|throwable=throwable|explosive=explosive}}" {{#if:{{{customquery|}}}|{{{customquery}}}}} | | where = Items.weapontype="{{#switch: {{{tabletype}}}|ranged=ranged|melee=melee|throwable=throwable|explosive=explosive}}" {{#if:{{{customquery|}}}|{{{customquery}}}}} | ||
| order by = Items.ammo DESC, Items.weapondamagemodifier, Items.name | | order by = Items.ammo DESC, Items.weapondamagemodifier, Items.name |
Revision as of 18:14, 9 December 2023
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 asranged
.
{{WeaponsTable|tabletype=ranged}}
Weapon | Firerate | Ammo Capacity |
Ammunition | Magazine size |
Afflictions | Penetration | Severance Chance |
Supply
Error: No field named "ammonowiki" found for the database table "Items".
|
---|
Melee
weapontype
defined asmelee
.
{{WeaponsTable|tabletype=melee}}
Weapon | Attack Speed | Afflictions | Penetration | Severance Chance Error: No field named "ammonowiki" found for the database table "Items".
|
---|
Throwable
weapontype
defined asthrowable
.
{{WeaponsTable|tabletype=throwable}}
Weapon | Afflictions | Penetration | Severance Chance Error: No field named "ammonowiki" found for the database table "Items".
|
---|
The above documentation is transcluded from Template:WeaponsTable/doc. (edit | history)