Template:KF2WeaponInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Added PS4 support)
(Changed style to match the ingame trader view, added multiperk support)
Line 5: Line 5:
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''{{{Name}}}'''</div><div style="position: absolute; top: 5px; left: 12px;">[[File:{{{PerkImage}}}|20px|top|link={{#if: {{{PerkLink|}}}|{{{PerkLink}}}|}}]]</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''{{{Name}}}'''</div><div style="position: absolute; top: 5px; left: 12px;">[[File:{{{PerkImage}}}|20px|top|link={{#if: {{{PerkLink|}}}|{{{PerkLink}}}|}}]]</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="4" style="padding: 0 12px 12px;" | [[File:{{{WeaponImage}}}|326px]]
| colspan="4" style="padding: 0 12px {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}}{{{Damage|}}}{{{FireRate|}}}{{{Accuracy|}}}{{{Penetration|}}} | 0 | 8px}};" | [[File:{{{WeaponImage}}}|326px]]
|- {{#if: {{{MagazineSize|}}} | style="background: #202224; font-size: 125%; height: 30px;" | style="display: none;"}}
|- {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}}{{{Damage|}}}{{{FireRate|}}}{{{Accuracy|}}}{{{Penetration|}}} | style="color: #ffffff; height: 40px; line-height: 40px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px;" | Magazine Size
| colspan="2" style="padding: 0 0 0 26px; font-size: 180%; position: relative;" | {{#if: {{{Weight|}}} | <div style="position: absolute; top: 13px; left: 12px; height: 14px;">[[File:KF2_Weight_White.png|top|14px|link=]]</div>&nbsp;{{{Weight}}} |}}
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{MagazineSize}}} [[File:KF2_Magazine_Gray.png|baseline|13px|link=]]
| colspan="2" style="padding: 0 32px 0 0; font-size: 150%; text-align: right; position: relative;" | {{#if: {{{MultiPerkImage|}}} | +&nbsp;<div style="position: absolute; top: 10px; right: 12px; height: 20px;">[[File:{{{MultiPerkImage}}}|20px|top|link={{#if: {{{MultiPerkLink|}}}|{{{MultiPerkLink}}}|}}]]</div> |}}
|- {{#if: {{{AmmoCapacity|}}} | style="background: #202224; font-size: 125%; height: 30px;" | style="display: none;"}}
|- {{#if: {{{MagazineSize|}}} | style="background: #202224; height: 30px; line-height: 30px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px;" | Ammo Capacity
| colspan="2" style="padding: 0 0 0 12px; font-size: 120%; position: relative; top: 1px;" | MAGAZINE SIZE
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{AmmoCapacity}}} [[File:KF2_Ammo_Gray.png|baseline|13px|link=]]
| colspan="2" style="padding: 0 12px 0 0; font-size: 150%; text-align: right;" | {{{MagazineSize}}} [[File:KF2_Magazine_Gray.png|baseline|15px|link=]]
|- {{#if: {{{AmmoCapacity|}}} | style="background: #202224; height: 30px; line-height: 30px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; font-size: 120%; position: relative; top: 1px;" | AMMO CAPACITY
| colspan="2" style="padding: 0 12px 0 0; font-size: 150%; text-align: right;" | {{{AmmoCapacity}}} [[File:KF2_Ammo_Gray.png|baseline|15px|link=]]
|- {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}} | style="height: 8px;" | style="display: none;"}}
|- {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="4" style="padding: 0; height: 8px;" |  
| colspan="4" style="padding: 0; height: 8px;" |  
|- {{#if: {{{Damage|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{Damage|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px; width: 136px;" | '''Damage'''
| style="padding: 0 0 0 12px; width: 136px;" | '''DAMAGE'''
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: (({{#ifeq: {{#expr: {{{Damage}}} / 820 <= 1}} | 1 | {{#expr: {{{Damage}}} / 820}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: (({{#ifeq: {{#expr: {{{Damage}}} / 820 <= 1}} | 1 | {{#expr: {{{Damage}}} / 820}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Damage}}} round 0}}
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Damage}}} round 0}}
|- {{#if: {{{FireRate|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{FireRate|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px; width: 136px;" | '''Fire Rate'''
| style="padding: 0 0 0 12px; width: 136px;" | '''FIRE RATE'''
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: ({{#ifeq: {{#expr: {{{FireRate}}} / 800 <= 1}} | 1 | {{#expr: {{{FireRate}}} / 800}} | 1 }}) * 100 }}px"></div></div>
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: ({{#ifeq: {{#expr: {{{FireRate}}} / 800 <= 1}} | 1 | {{#expr: {{{FireRate}}} / 800}} | 1 }}) * 100 }}px"></div></div>
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{FireRate}}} round 0}}
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{FireRate}}} round 0}}
|- {{#if: {{{Accuracy|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{Accuracy|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px; width: 136px;" | '''Accuracy'''
| style="padding: 0 0 0 12px; width: 136px;" | '''ACCURACY'''
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: (({{#ifeq: {{#expr: {{{Accuracy}}} / 100 <= 1}} | 1 | {{#expr: {{{Accuracy}}} / 100}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: (({{#ifeq: {{#expr: {{{Accuracy}}} / 100 <= 1}} | 1 | {{#expr: {{{Accuracy}}} / 100}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Accuracy}}} round 0}}
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Accuracy}}} round 0}}
|- {{#if: {{{Penetration|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{Penetration|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px; width: 136px;" | '''Penetration'''
| style="padding: 0 0 0 12px; width: 136px;" | '''PENETRATION'''
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: ({{#ifeq: {{#expr: {{{Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{Penetration}}} / 4}} | 1 }}) * 100 }}px"></div></div>
| colspan="2" style="padding: 0; width: 158px;" | <div style="background: #202224; display: table-cell; height: 12px; margin: 4px 0 0 0; width: 100px;"><div style="background: #ffffff; height: 12px; position: relative; top: 0; left: 0; width: {{#expr: ({{#ifeq: {{#expr: {{{Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{Penetration}}} / 4}} | 1 }}) * 100 }}px"></div></div>
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Penetration}}} round 1}}
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{Penetration}}} round 1}}
Line 33: Line 36:
| colspan="4" style="padding: 0; height: 8px;" |  
| colspan="4" style="padding: 0; height: 8px;" |  
|- {{#if: {{{Description|}}} || style="display: none;"}}
|- {{#if: {{{Description|}}} || style="display: none;"}}
| colspan="4" style="padding: 0 10px" | {{{Description}}}
| colspan="4" style="padding: 0 10px" | '''{{{Description}}}'''
|- {{#if: {{{Description|}}} | style="height: 8px;" | style="display: none;"}}
|- {{#if: {{{Description|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="4" style="padding: 0; height: 8px;" |  
| colspan="4" style="padding: 0; height: 8px;" |  
|- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
|- {{#if: {{{Pricing|}}}{{{AmmoCost|}}}{{{WeaponType|}}}{{{AlternativeWeaponType|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''General Information'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''General Information'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- {{#if: {{{PerkName|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px;" | '''Perk'''
| colspan="3" style="padding: 0 12px 0 0; text-align: right;" | {{#if: {{{PerkLink}}}|[[{{{PerkLink}}}|<span style="color: #a6a7a9;">{{{PerkName}}}</span>]]|{{{PerkName}}}}}
|- {{#if: {{{Pricing|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{Pricing|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px;" | '''Pricing'''
| style="padding: 0 0 0 12px;" | '''Pricing'''
| colspan="3" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{Pricing}}}
| colspan="3" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{Pricing}}}
|- {{#if: {{{Weight|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{AmmoCost|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px;" | '''Weight'''
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Cost'''
| colspan="3" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}}
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{AmmoCost}}}
|- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | style="height: 8px;" | style="display: none;"}}
|- {{#if: {{{WeaponType|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{WeaponType}}} [[File:KF2_WeaponType_{{{WeaponType}}}_Gray.png|top|20px|link=]]
|- {{#if: {{{AlternativeWeaponType|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Alternative Weapon Type'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{AlternativeWeaponType}}} [[File:KF2_WeaponType_{{{AlternativeWeaponType}}}_Gray.png|top|20px|link=]]
|- {{#if: {{{Pricing|}}}{{{AmmoCost|}}}{{{WeaponType|}}}{{{AlternativeWeaponType|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="4" style="padding: 0; height: 8px;" |  
| colspan="4" style="padding: 0; height: 8px;" |  
|- {{#if: {{{InitialSpareMags|}}}{{{AmmoCost|}}}{{{Block|}}}{{{Parry|}}}{{{WeaponType|}}}{{{AlternativeWeaponType|}}}{{{SecondaryAmmunition_AmmoType|}}}{{{SecondaryAmmunition_AmmoImage|}}}{{{SecondaryAmmunition_MagazineSize|}}}{{{SecondaryAmmunition_AmmoCapacity|}}}{{{SecondaryAmmunition_Damage|}}}{{{SecondaryAmmunition_FireRate|}}}{{{SecondaryAmmunition_Accuracy|}}}{{{SecondaryAmmunition_Penetration|}}}{{{SecondaryAmmunition_InitialSpareMags|}}}{{{SecondaryAmmunition_AmmoConsumption|}}}{{{SecondaryAmmunition_AmmoCost|}}}{{{HealAmount|}}}{{{HealAmount_Solo|}}}{{{FullRechargeTime|}}}{{{FullRechargeTime_SelfInjection|}}}{{{Custom_Entries|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
|- {{#if: {{{InitialSpareMags|}}}{{{Block|}}}{{{Parry|}}}{{{SecondaryAmmunition_AmmoType|}}}{{{SecondaryAmmunition_AmmoImage|}}}{{{SecondaryAmmunition_MagazineSize|}}}{{{SecondaryAmmunition_AmmoCapacity|}}}{{{SecondaryAmmunition_Damage|}}}{{{SecondaryAmmunition_FireRate|}}}{{{SecondaryAmmunition_Accuracy|}}}{{{SecondaryAmmunition_Penetration|}}}{{{SecondaryAmmunition_InitialSpareMags|}}}{{{SecondaryAmmunition_AmmoConsumption|}}}{{{SecondaryAmmunition_AmmoCost|}}}{{{HealAmount|}}}{{{HealAmount_Solo|}}}{{{FullRechargeTime|}}}{{{FullRechargeTime_SelfInjection|}}}{{{Custom_Entries|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''Weapon Information'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
| colspan="4" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''Weapon Information'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- {{#if: {{{InitialSpareMags|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{InitialSpareMags|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Starting Ammo'''
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Starting Ammo'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{#if: {{{MagazineSize|}}} | {{#ifeq: {{{InitialSpareMags|}}} | 0 | {{{MagazineSize}}} | {{{MagazineSize}}} + {{#expr: {{{InitialSpareMags}}} * {{{MagazineSize}}}}}}} | {{{InitialSpareMags}}}}} [[File:KF2_Ammo_Gray.png|baseline|10px|link=]]
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{#if: {{{MagazineSize|}}} | {{#ifeq: {{{InitialSpareMags|}}} | 0 | {{{MagazineSize}}} | {{{MagazineSize}}} + {{#expr: {{{InitialSpareMags}}} * {{{MagazineSize}}}}}}} | {{{InitialSpareMags}}}}} [[File:KF2_Ammo_Gray.png|baseline|10px|link=]]
|- {{#if: {{{AmmoCost|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Cost'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{AmmoCost}}}
|- {{#if: {{{Block|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{Block|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Block''' <small>(damage multiplier)</small>
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Block''' <small>(damage multiplier)</small>
Line 63: Line 66:
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Parry''' <small>(damage multiplier)</small>
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Parry''' <small>(damage multiplier)</small>
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | &times;{{#expr: {{{Parry}}} round 1}}
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | &times;{{#expr: {{{Parry}}} round 1}}
|- {{#if: {{{WeaponType|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{InitialSpareMags|}}}{{{Block|}}}{{{Parry|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{WeaponType}}} [[File:KF2_WeaponType_{{{WeaponType}}}_Gray.png|top|20px|link=]]
|- {{#if: {{{AlternativeWeaponType|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Alternative Weapon Type'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{AlternativeWeaponType}}} [[File:KF2_WeaponType_{{{AlternativeWeaponType}}}_Gray.png|top|20px|link=]]
|- {{#if: {{{InitialSpareMags|}}}{{{AmmoCost|}}}{{{Block|}}}{{{Parry|}}}{{{WeaponType|}}}{{{AlternativeWeaponType|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="4" style="padding: 0; height: 8px;" |  
| colspan="4" style="padding: 0; height: 8px;" |  
|- {{#if: {{{SecondaryAmmunition_AmmoType|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{SecondaryAmmunition_AmmoType|}}} | style="height: 20px;" | style="display: none;"}}
Line 157: Line 154:
{{KF2WeaponInfo
{{KF2WeaponInfo
| Name=9mm Pistol
| Name=9mm Pistol
| PerkImage=KF2_No_Perk_White.png
| PerkImage=KF2_Off_Perk_White.png
| PerkLink=Perks (Killing Floor 2)
| PerkLink=Perks (Killing Floor 2)
| WeaponImage=KF29mm Pistol.png
| WeaponImage=KF29mm Pistol.png
| MultiPerkImage=KF2_Perk_Gunslinger_White.png
| MultiPerkLink=Gunslinger
| MagazineSize=15
| MagazineSize=15
| AmmoCapacity=225
| AmmoCapacity=225
Line 207: Line 206:
|
|
| Achievements_PS4=
| Achievements_PS4=
   {{KF2VariousInfo_Achievement|PS4=true|0|Platinum|Platinum}}
   {{KF2VariousInfo_Achievement | PS4=true | 0 | Platinum | Platinum }}
|
|
| GameVersion=1050
| GameVersion=1050
Line 235: Line 234:
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''[[Media:KF2_No_Perk_White.png|KF2_No_Perk_White.png]]''
| style="vertical-align: top;" | ''[[Media:KF2_Off_Perk_White.png|KF2_Off_Perk_White.png]]''
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 774: Line 773:
|
|
| Achievements_PS4=
| Achievements_PS4=
   {{KF2VariousInfo_Achievement|1|2}}
   {{KF2VariousInfo_Achievement|PS4=true|1|2|3}}
|
|
| GameVersion=
| GameVersion=

Revision as of 23:49, 16 February 2017


Killing Floor 2 item
9mm Pistol
 0
MAGAZINE SIZE 15
AMMO CAPACITY 225
DAMAGE
15
FIRE RATE
343
ACCURACY
50
PENETRATION
0
• Fire mode is semi-auto only.
• This is the standard 9mm pistol. Simple and cheap (very cheap, frankly, to you), it is the basic sidearm for all Horzine operatives.
General Information
Pricing 0
Ammo Cost 8
Weapon Type Pistol
Alternative Weapon Type Electric Weapon
Weapon Information
Starting Ammo 15 + 105
Block (damage multiplier) ×1
Parry (damage multiplier) ×1
Secondary Ammunition
Ammo Type M203 Grenade
Magazine Size 1
Ammo Capacity 12
Damage
10
Fire Rate
300
Accuracy
25
Penetration
1
Starting Ammo 1 + 3
Ammo Consumption (per use) 0
Ammo Cost 13
Heal Amount 0 ✚
Heal Amount (solo) 0 ✚
Full Recharge Time 0s
Full Recharge Time (self injection) 0s
Custom Entry
Custom Value
Heal Amount (per second)
5 ✚
Heal Duration
8s
Custom Description
Technical Information
Technical Entry
Technical Value
Technical Description
Related Achievements
PS4 Trophies
status as of game version 1050


Syntax

Parameters

{{KF2WeaponInfo

| Name= Name of the weapon Example: 9mm Pistol

| PerkImage= Name of the image of the corresponding perk Example: KF2_Off_Perk_White.png

| PerkLink= Name of the page of the corresponding perk Example: Perks (Killing Floor 2)

| WeaponImage= Name of the image of the corresponding weapon Example: KF29mm Pistol.png

| MagazineSize= Magazine capacity Example: 15

| AmmoCapacity= Maximum spare ammo Example: 225

| Damage= Damage value of the weapon Example: 15.000000

| FireRate= Fire Rate value of the weapon Example: 342.857147

| Accuracy= Accuracy value of the weapon Example: 50.000000

| Penetration= Penetration value of the weapon Example: 0.000000

| Description= Trader descripton of the weapon Example: • Fire mode is semi-auto only.
• This is the standard 9mm pistol. Simple and cheap (very cheap, frankly, to you), it is the basic sidearm for all Horzine operatives.

|

| PerkName= Name of the corresponding perk Example: All

| Pricing= How much the weapon costs at the trader Example: 0

| Weight= How much the weapon weights Example: 0

|

| InitialSpareMags= How much spare magazines you have
Displays "Starting Ammo"
Example: 7

| AmmoCost= How much one magazine costs Example: 8

| Block= Damage multiplier while blocking Example: 1

| Parry= Damage multiplier while parrying Example: 1

| WeaponType= The weapons weapon type Example: Pistol

| AlternativeWeaponType= The weapons alternative weapon type Example: Electric Weapon

|

| SecondaryAmmunition_AmmoType= Ammo Type of the secondary Ammunition Example: M203 Grenade

| SecondaryAmmunition_AmmoImage= Name of the Image of the corresponding Ammo Type Example: KF2_SecondaryAmmo_Grenade_Gray.png

| SecondaryAmmunition_MagazineSize= Magazine Size of the secondary Ammo Type Example: 1

| SecondaryAmmunition_AmmoCapacity= Maximum ammo of the secondary Ammo Type Example: 12

| SecondaryAmmunition_Damage= Damage value of the secondary Ammo Type Example: 10.000000

| SecondaryAmmunition_FireRate= Fire Rate value of the secondary Ammo Type Example: 300.000000

| SecondaryAmmunition_Accuracy= Accuracy value of the secondary Ammo Type Example: 25.000000

| SecondaryAmmunition_Penetration= Penetration value of the secondary Ammo Type Example: 1.000000

| SecondaryAmmunition_InitialSpareMags= Initial ammo of the secondary Ammo Type Example: 4

| SecondaryAmmunition_AmmoConsumption= How much ammo it takes to use one shot / attack with the weapon Example: 0

| HealAmount= How much the Healing Dart heals other players Example: 0

| HealAmount_Solo= How much you heal yourself (Syringe only) Example: 0

| FullRechargeTime= How long it takes until the Healing Dart / Syringe is fully charged after healing other players Example: 0

| FullRechargeTime_SelfInjection= How long it takes until the Syringe is fully charged after healing yourself (Syringe only) Example: 0

| SecondaryAmmunition_AmmoCost= How much one magazine costs of the secondary Ammo Type Example: 13

|

| Custom_Entries=
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3|AddSpaceAfterEntry=true}}
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3|Last=true}}
Additional custom entries

1 - Entry Title
2 - Entry Value
3 - Entry Description (optional)

AddSpaceAfterEntry=true
Adds some space between the current custom entry and the following

Last=true
Only if a description is defined and this custom entry is the last one in this section Last hast to be set to true

Example: {{KF2VariousInfo_CustomEntry|'''Custom Entry'''|Custom Value|AddSpaceAfterEntry=true}}
{{KF2VariousInfo_CustomEntry|'''Heal Amount''' <small>(per second)</small>|5 &#10010;}}
{{KF2VariousInfo_CustomEntry|'''Heal Duration'''|8s|Custom Description|Last=true}}

|

| Technical_Entries=
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3|AddSpaceAfterEntry=true}}
  {{KF2VariousInfo_CustomEntry|1|2|3}}
  {{KF2VariousInfo_CustomEntry|1|2|3|Last=true}}
Additional technical entries

1 - Entry Title
2 - Entry Value
3 - Entry Description (optional)

AddSpaceAfterEntry=true
Adds some space between the current custom entry and the following

Last=true
Only if a description is defined and this custom entry is the last one in this section Last hast to be set to true

Example: {{KF2VariousInfo_CustomEntry|'''Technical Entry'''|Technical Value|Technical Description|Last=true}}

|

| Achievements=
  {{KF2VariousInfo_Achievement|1|2}}
Related Achievement entrys

1 - Achievement Number
According to steamdb.info

2 - Achievement Title

Example: {{KF2VariousInfo_Achievement|109|School's Out Forever}}

|

| GameVersion= Version of Killing Floor 2 these stats are taken from Example: 1050

}}

Weapon Types

There are 10 specific choices for this section.

Weapon Type
Corresponding Image
{{{th_0_2}}}
{{{th_0_3}}}
{{{th_0_4}}}
{{{th_0_5}}}
{{{th_0_6}}}
{{{th_0_7}}}
{{{th_0_8}}}
{{{th_0_9}}}
Pistol
Shotgun
Rifle
Projectile
Flame Weapon
Electric Weapon
Explosive
Assault Rifle
Melee Weapon
SMG
{{{th_11_0}}}
{{{th_12_0}}}
{{{th_13_0}}}
{{{th_14_0}}}
{{{th_15_0}}}
{{{th_16_0}}}
{{{th_17_0}}}
{{{th_18_0}}}
{{{th_19_0}}}
{{{th_20_0}}}
{{{th_21_0}}}
{{{th_22_0}}}
{{{th_23_0}}}
{{{th_24_0}}}
{{{th_25_0}}}


Template

Copy this template for quick usage.

{{KF2WeaponInfo
| Name=
| PerkImage=
| PerkLink=
| WeaponImage=
| MagazineSize=
| AmmoCapacity=
| Damage=
| FireRate=
| Accuracy=
| Penetration=
| Description=
|
| PerkName=
| Pricing=
| Weight=
|
| InitialSpareMags=
| AmmoCost=
| Block=
| Parry=
| WeaponType=
| AlternativeWeaponType=
|
| SecondaryAmmunition_AmmoType=
| SecondaryAmmunition_AmmoImage=
| SecondaryAmmunition_MagazineSize=
| SecondaryAmmunition_AmmoCapacity=
| SecondaryAmmunition_Damage=
| SecondaryAmmunition_FireRate=
| SecondaryAmmunition_Accuracy=
| SecondaryAmmunition_Penetration=
| SecondaryAmmunition_InitialSpareMags=
| SecondaryAmmunition_AmmoConsumption=
| SecondaryAmmunition_AmmoCost=
| HealAmount=
| HealAmount_Solo=
| FullRechargeTime=
| FullRechargeTime_SelfInjection=
|
| Custom_Entries=
  {{KF2VariousInfo_CustomEntry|1|2|3}}
|
| Technical_Entries=
  {{KF2VariousInfo_CustomEntry|1|2|3}}
|
| Achievements=
  {{KF2VariousInfo_Achievement|1|2}}
|
| Achievements_PS4=
  {{KF2VariousInfo_Achievement|PS4=true|1|2|3}}
|
| GameVersion=
}}