|
|
(47 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>
| | {| class="wikitable sortable" |
| {| class="responsive-table" style="width:{{#if: {{{width|}}}|{{{width}}}|70}}%;" | | ! colspan = 3|Weapon Stats |
| ! Item | | ! colspan = 4|Ammunition Stats |
| ! Afflictions | | ! rowspan = 2|Notes |
| {{#if: {{{showpenetration|}}}|! Armor Penetration|}}
| | |- |
| {{#if: {{{showexplosionrange|}}}|! Explosion Range|}}
| | !Weapon Name |
| ! Structure Damage | | !<abbr title="Rounds per Second">RPS</abbr> |
| ! [[Fabricator]] Materials{{#cargo_query:
| | !Ammunition |
| tables = Ammunition,Items | | !Afflictions |
| | join on = Ammunition.name = Items.name | | !Penetration |
| | fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.penetration, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials | | {{#cargo_query: |
| | where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| | tables = Items,Ammunition |
| | | join on = Items.name = Ammunition.name |
| | |
| | | fields = Items.name, Items.type, Items.icon, Items.afflictions, Items.attackspeed, Items.penetration, Items.pellets, Ammunition.magazine, Ammunition.penetration, Ammunition.structuredamage, Items.explosionstructuredamage, Ammunition.explosionrange, Ammunition.usedby, Ammunition.usedby2, Ammunition.usedby3, Items.ammo, Items.ammocount, Items.magazine, Items.hands, Items.note, |
| | |
| | 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.explosionradiationsickness, Items.explosiondeeptissueinjury, Items.explosionburn, Items.explosionlacerations, Items.explosionbleeding, Items.explosionstun |
| | |
| | | where = Items.type = "weapon" AND Items.ammocount > 0 |
| | format = template | | | format = template |
| | template = Sandbox/row | | | template = Sandbox/row |
| | named args = yes | | | named args = yes |
| }}<!--{{#if: {{{showpenetration|}}}|{{#if: {{{showexplosionrange|}}}|{{#cargo_query: | | }} |
| tables = Ammunition,Items
| |
| | join on = Ammunition.name = Items.name
| |
| | fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.penetration, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials
| |
| | where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| |
| | format = template
| |
| | template = Sandbox/row both
| |
| | named args = yes
| |
| }}|{{#cargo_query:
| |
| tables = Ammunition,Items
| |
| | join on = Ammunition.name = Items.name
| |
| | fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.penetration, Ammunition.structuredamage, Items.fabricatormaterials
| |
| | where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| |
| | format = template
| |
| | template = Sandbox/row penetration
| |
| | named args = yes
| |
| }}}}|{{#cargo_query:
| |
| tables = Ammunition,Items
| |
| | join on = Ammunition.name = Items.name
| |
| | fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.structuredamage, Items.fabricatormaterials
| |
| | where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| |
| | format = template
| |
| | template = Sandbox/row none
| |
| | named args = yes
| |
| }}}}{{#if: {{{showexplosionrange|}}}|{{#cargo_query:
| |
| tables = Ammunition,Items
| |
| | join on = Ammunition.name = Items.name
| |
| | fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials
| |
| | where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| |
| | format = template
| |
| | template = Sandbox/row explo
| |
| | named args = yes
| |
| }}|}}-->
| |
| |} | | |} |
| </includeonly>
| |