Template:WeaponsTable/ranged: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{doc}}</noinclude><onlyinclude> |- | style="text-align:center;" {{#switch:{{#count:<nowiki><br></nowiki>}}|0=colspan="1"|1=colspan="2"|2=colspan="3"}}| File:{{#r...")
 
mNo edit summary
Line 8: Line 8:
{{#if:{{{fuelduration}}}|{{{fuelduration}}}s{{#if:{{{fuelduration2}}}|-{{{fuelduration2}}}s}}}}
{{#if:{{{fuelduration}}}|{{{fuelduration}}}s{{#if:{{{fuelduration2}}}|-{{{fuelduration2}}}s}}}}
{{#cargo_query:
{{#cargo_query:
tables = Items, Ammunition
tables = Items,Ammunition
| join on = Items.name = Ammunition.name
| join on = Items.name = Ammunition.name
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier,
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier,
| where = Items.usedby = {{{name}}}
| where = Ammunition.usedby = "{{{name}}}"
| order by = Items.name
| order by = Items.name
| format = template
| format = template
Line 18: Line 18:
}}
}}
{{#cargo_query:
{{#cargo_query:
tables = Items, Ammunition
tables = Items,Ammunition
| join on = Items.name = Ammunition.name
| join on = Items.name = Ammunition.name
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby2,  Ammunition.usedby2weapondamagemodifier,
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby2,  Ammunition.usedby2weapondamagemodifier,
| where = Items.usedby2 = {{{name}}}
| where = Ammunition.usedby2 = "{{{name}}}"
| order by = Items.name
| order by = Items.name
| format = template
| format = template
Line 28: Line 28:
}}
}}
{{#cargo_query:
{{#cargo_query:
tables = Items, Ammunition
tables = Items,Ammunition
| join on = Items.name = Ammunition.name
| join on = Items.name = Ammunition.name
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby3,  Ammunition.usedby3weapondamagemodifier,
| fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, Items.minleveldifficulty, Items.unbuyable, Items.outpostsold, Items.citysold, Items.researchsold, Items.militarysold, Items.minesold, Items.medicalsold, Items.engineeringsold, 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.progressivestun, Items.stun, Items.projectiles, 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, Items.outpostmultiplier, Items.citymultiplier, Items.researchmultiplier, Items.militarymultiplier, Items.minemultiplier, Items.medicalmultiplier, Items.engineeringmultiplier, Items.armorymultiplier, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby3,  Ammunition.usedby3weapondamagemodifier,
| where = Items.usedby3 = {{{name}}}
| where = Ammunition.usedby3 = "{{{name}}}"
| order by = Items.name
| order by = Items.name
| format = template
| format = template

Revision as of 23:55, 8 March 2023

Documentation

This template is used by Template:WeaponsTable to display individual rows. It is not meant for direct usage.


Ranged Weapons
Weapon Fire
rate
Max
ammo
Ammunition Mag
size
Afflictions Armor
Pen
Sever
Limb
Supply

<onlyinclude>


Advanced Syringe Gun
1 8 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Syringe Gun
1 4 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Stun Gun
1 2 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Machine Pistol
5.7 0.8x 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Deadeye Carbine
3.33 1.1x 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

SMG
5 1.3x 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Boom Stick
1.82 2 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Riot Shotgun
1 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Autoshotgun
2.22 0.9x 24 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Rifle
0.5 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Revolver
2 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Scrap Cannon
0.33 8 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

HMG
10 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Harpoon Gun
0.571 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Harpoon Coil-Rifle
0.571 1.7x 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Handcannon
1 6 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Assault Rifle
4.167 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Alien Pistol
1.88 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Grenade Launcher
1 1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Ancient Weapon
1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Arc Emitter
0.2 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Flamer
1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Prototype Steam Cannon
1 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
<onlyinclude>

Rapid Fissile Accelerator
0.8 {{{magazine}}}-{{{magazine2}}}

{{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".

|- | style="text-align:center;" colspan="1"| [[File:{{{name}}}.png|50px]]
[[{{{name}}}]] | style="text-align:center" |{{{attackspeed}}} | style="text-align:center" | | style="text-align:center" |{{{ammocount}}} | style="text-align:center" |{{{magazine}}}-{{{magazine2}}} {{{fuelduration}}}s-{{{fuelduration2}}}s

Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".
Error: No field named "type" found for the database table "Items".