Template:WeaponsTable/ranged: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}</noinclude><onlyinclude> | <noinclude>{{doc}}</noinclude><onlyinclude> | ||
|- | |- | ||
| style="text-align:center;" {{#switch:{{#count: | | style="text-align:center;" {{#switch:{{#count:{{{ammo}}}|<br>}}|0=rowspan="1"|1=rowspan="2"|2=rowspan="3"}}| [[File:{{#replace:{{{name}}}|&#39;|'}}.png|50px]] <br> [[{{#replace:{{{name}}}|&#39;|'}}]] | ||
| style="text-align:center" |{{{attackspeed}}} | | style="text-align:center;" {{#switch:{{#count:{{{ammo}}}|<br>}}|0=rowspan="1"|1=rowspan="2"|2=rowspan="3"}}|{{{attackspeed}}} | ||
| style="text-align:center" |{{#if:{{{weapondamagemodifier|}}}|{{{weapondamagemodifier}}}x}} | | style="text-align:center;" {{#switch:{{#count:{{{ammo}}}|<br>}}|0=rowspan="1"|1=rowspan="2"|2=rowspan="3"}}|{{#if:{{{weapondamagemodifier|}}}|{{{weapondamagemodifier}}}x}} | ||
| style="text-align:center" |{{{ammocount}}} | | style="text-align:center;" {{#switch:{{#count:{{{ammo}}}|<br>}}|0=rowspan="1"|1=rowspan="2"|2=rowspan="3"}}|{{{ammocount}}} | ||
| style="text-align:center" |{{#if:{{{magazine}}}|{{{magazine}}}{{#if:{{{magazine2}}}|-{{{magazine2}}}}}}} | | style="text-align:center;" {{#switch:{{#count:{{{ammo}}}|<br>}}|0=rowspan="1"|1=rowspan="2"|2=rowspan="3"}}|{{#if:{{{magazine}}}|{{{magazine}}}{{#if:{{{magazine2}}}|-{{{magazine2}}}}}}} | ||
{{#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 | | fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, 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, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedbyweapondamagemodifier, | ||
| where = Ammunition.usedby = "{{{name}}}" | | where = Ammunition.usedby = "{{{name}}}" | ||
| order by = Items.name | | order by = Items.name | ||
Line 16: | Line 16: | ||
| template = AmmoTable/ammo | | template = AmmoTable/ammo | ||
| named args = yes | | named args = yes | ||
}} | }}<!-- | ||
-->{{#ifeq:{{#count:{{{ammo}}}|<br>}}|1| | |||
{{!}}- | |||
{{#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 | | fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, 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, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby2, Ammunition.usedby2weapondamagemodifier, | ||
| where = Ammunition.usedby2 = "{{{name}}}" | | where = Ammunition.usedby2 = "{{{name}}}" | ||
| order by = Items.name | | order by = Items.name | ||
Line 26: | Line 29: | ||
| template = AmmoTable/ammo | | template = AmmoTable/ammo | ||
| named args = yes | | named args = yes | ||
}} | }}}}<!-- | ||
-->{{#ifeq:{{#count:{{{ammo}}}|<br>}}|2| | |||
{{!}}- | |||
{{#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 | | fields = Items.name, Items.type, Items.icon, Items.ammotype, Items.weapontype, 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, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Ammunition.explosionrange, Ammunition.usedby3, Ammunition.usedby3weapondamagemodifier, | ||
| where = Ammunition.usedby3 = "{{{name}}}" | | where = Ammunition.usedby3 = "{{{name}}}" | ||
| order by = Items.name | | order by = Items.name | ||
Line 36: | Line 42: | ||
| template = AmmoTable/ammo | | template = AmmoTable/ammo | ||
| named args = yes | | named args = yes | ||
}} | }}}} | ||
</onlyinclude> |
Revision as of 01:06, 9 March 2023
This template is used by Template:WeaponsTable to display individual rows. It is not meant for direct usage.
Weapon | Fire rate |
Max ammo |
Ammunition | Mag size |
Afflictions | Armor Pen |
Sever Limb |
Supply |
---|---|---|---|---|---|---|---|---|
Advanced Syringe Gun |
1 | 8 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Syringe Gun |
1 | 4 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
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".
| |||||
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".
| ||||
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".
| ||||
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".
| ||||
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".
| |||||
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".
| |||||
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".
| ||||
Rifle |
0.5 | 6 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
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".
| |||||
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".
| |||||
HMG |
10 | 1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Harpoon Gun |
0.571 | 6 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
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".
| ||||
Handcannon |
1 | 6 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Assault Rifle |
4.167 | 1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Alien Pistol |
1.88 | 1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Grenade Launcher |
1 | 1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| |||||
Ancient Weapon |
1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| ||||||
Arc Emitter |
0.2 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| ||||||
Flamer |
1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| ||||||
Prototype Steam Cannon |
1 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
| ||||||
Rapid Fissile Accelerator |
0.8 | {{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s Error: No field named "type" found for the database table "Items".
|
The above documentation is transcluded from Template:WeaponsTable/ranged/doc. (edit | history)
|-
| style="text-align:center;" rowspan="1"| [[File:{{{name}}}.png|50px]]
[[{{{name}}}]]
| style="text-align:center;" rowspan="1"|{{{attackspeed}}}
| style="text-align:center;" rowspan="1"|
| style="text-align:center;" rowspan="1"|{{{ammocount}}}
| style="text-align:center;" rowspan="1"|{{{magazine}}}-{{{magazine2}}}
{{{fuelduration}}}s-{{{fuelduration2}}}s