Template:KF2WeaponInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Changed design to match the newest trader UI changes, added custom entries & values, removed one-time-only entries like medic-grenade-specific entries (moved functionality to custom entries))
(Fixed "space above the Secondary Ammo section isn't displayed properly")
Line 1: Line 1:
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 12px 24px; text-align: left; vertical-align: middle; width: 350px;"
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 18px 24px; text-align: left; vertical-align: middle; width: 350px;"
|- style="background: #ffffff; color: #000000; text-align: center;"
|- style="background: #ffffff; color: #000000; text-align: center;"
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2]] item''</small>
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2]] item''</small>
Line 35: Line 35:
| colspan="4" style="padding: 0 10px" | {{{Description}}}
| colspan="4" style="padding: 0 10px" | {{{Description}}}
|- {{#ifexpr: {{#if: {{{Damage|}}} | 1 | 0}} or {{#if: {{{FireRate|}}} | 1 | 0}} or {{#if: {{{Accuracy|}}} | 1 | 0}} or {{#if: {{{Penetration|}}} | 1 | 0}} or {{#if: {{{MagazineSize|}}} | 1 | 0}} or {{#if: {{{AmmoCapacity|}}} | 1 | 0}} or {{#if: {{{Description|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{Damage|}}} | 1 | 0}} or {{#if: {{{FireRate|}}} | 1 | 0}} or {{#if: {{{Accuracy|}}} | 1 | 0}} or {{#if: {{{Penetration|}}} | 1 | 0}} or {{#if: {{{MagazineSize|}}} | 1 | 0}} or {{#if: {{{AmmoCapacity|}}} | 1 | 0}} or {{#if: {{{Description|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
| colspan="4" style="height: 30px;" | '''General Information'''
| colspan="4" style="height: 30px;" | '''General Information'''
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#if: {{{PerkName|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{PerkName|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 12px;" | '''Perk'''
| style="padding-left: 12px;" | '''Perk'''
Line 50: Line 50:
| colspan="3" style="padding-right: 12px; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}}
| colspan="3" style="padding-right: 12px; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}}
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
| colspan="4" style="height: 30px;" | '''Weapon Information'''
| colspan="4" style="height: 30px;" | '''Weapon Information'''
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#if: {{{InitialSpareMags|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{InitialSpareMags|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Starting Ammo'''
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Starting Ammo'''
Line 70: Line 70:
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type'''
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type'''
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{WeaponType}}} [[File:KF2_WeaponType_{{{WeaponType}}}_Gray.png|top|20px|link=]]
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{WeaponType}}} [[File:KF2_WeaponType_{{{WeaponType}}}_Gray.png|top|20px|link=]]
|- {{#ifexpr: ({{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryAmmoType|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealAmountGrenade|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{HealDuration|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}}) || style="display: none;"}}
|- {{#ifexpr: ({{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryAmmoType|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}}) || style="display: none;"}}
| colspan="4" style="height: 6px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#if: {{{SecondaryAmmoType|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{SecondaryAmmoType|}}} | style="height: 20px" | style="display: none;"}}
Line 83: Line 83:
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(solo)</small>
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(solo)</small>
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountSolo}}} round 0}} <span style="margin: 0 -1px;">&#10010;</span>
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountSolo}}} round 0}} <span style="margin: 0 -1px;">&#10010;</span>
<!--|- {{#if: {{{HealAmountGrenade|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(per second)</small>
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountGrenade}}} round 0}}-->
|- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time'''
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time'''
Line 92: Line 89:
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time''' <small>(self)</small>
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time''' <small>(self)</small>
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRechargeSelf}}} round 1}}s
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRechargeSelf}}} round 1}}s
<!--|- {{#if: {{{HealDuration|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Duration'''
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealDuration}}} round 1}}s-->
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size'''
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size'''
Line 141: Line 135:
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{Custom_9_Value}}}
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{Custom_9_Value}}}
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSelf|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoImage|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
| colspan="4" style="height: 30px;" | '''Related Achievements'''
| colspan="4" style="height: 30px;" | '''Related Achievements'''
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#if: {{{Achievement_0_Name|}}} | style="height: 30px;" | style="display: none;"}}
|- {{#if: {{{Achievement_0_Name|}}} | style="height: 30px;" | style="display: none;"}}
| colspan="4" style="padding: 0 12px;" | <div style="overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 326px;"><span style="margin-right: 6px;">[[File:{{#if: {{{Achievement_0_Image}}}|{{{Achievement_0_Image}}}|KF2_Achievement_Locked.jpg}}|middle|24px|link=]]</span> [[Achievements (Killing Floor 2)#{{{Achievement_0_Name}}}|<span style="color: #a6a7a9;">{{{Achievement_0_Name}}}</span>]]</div>
| colspan="4" style="padding: 0 12px;" | <div style="overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 326px;"><span style="margin-right: 6px;">[[File:{{#if: {{{Achievement_0_Image}}}|{{{Achievement_0_Image}}}|KF2_Achievement_Locked.jpg}}|middle|24px|link=]]</span> [[Achievements (Killing Floor 2)#{{{Achievement_0_Name}}}|<span style="color: #a6a7a9;">{{{Achievement_0_Name}}}</span>]]</div>
Line 167: Line 161:
| colspan="4" style="padding: 0 12px;" | <div style="overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 326px;"><span style="margin-right: 6px;">[[File:{{#if: {{{Achievement_9_Image}}}|{{{Achievement_9_Image}}}|KF2_Achievement_Locked.jpg}}|middle|24px|link=]]</span> [[Achievements (Killing Floor 2)#{{{Achievement_9_Name}}}|<span style="color: #a6a7a9;">{{{Achievement_9_Name}}}</span>]]</div>
| colspan="4" style="padding: 0 12px;" | <div style="overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; width: 326px;"><span style="margin-right: 6px;">[[File:{{#if: {{{Achievement_9_Image}}}|{{{Achievement_9_Image}}}|KF2_Achievement_Locked.jpg}}|middle|24px|link=]]</span> [[Achievements (Killing Floor 2)#{{{Achievement_9_Name}}}|<span style="color: #a6a7a9;">{{{Achievement_9_Name}}}</span>]]</div>
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} || style="display: none;"}}
| colspan="4" style="height: 12px;" |  
| colspan="4" style="height: 6px;" |  
|- style="background: #ffffff; color: #ffffff; text-align: center;"
|- style="background: #ffffff; color: #ffffff; text-align: center;"
| colspan="4" style="height: 12px; padding: 0;" | <div style="background: #ffffff; height: 12px; position: relative; top: -12px; width: 350px;"><div style="background: linear-gradient(45deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 6px; position: relative; top: 0px; width: 350px;"></div></div>
| colspan="4" style="height: 6px; padding: 0;" | <div style="background: linear-gradient(45deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 6px; position: relative; top: -6px; width: 350px;"></div>
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
Line 297: Line 291:
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Damage=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| MagazineSize=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Damage value of the weapon
| style="vertical-align: top; width: 300px;" | Magazine capacity
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''15.000000''
| style="vertical-align: top;" | ''15''
|-
|-
| colspan="6" |  
| colspan="6" |  
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| FireRate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| AmmoCapacity=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Fire Rate value of the weapon
| style="vertical-align: top; width: 300px;" | Maximum spare ammo
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''342.857147''
| style="vertical-align: top;" | ''225''
|-
|-
| colspan="6" |  
| colspan="6" |  
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Accuracy=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Damage=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Accuracy value of the weapon
| style="vertical-align: top; width: 300px;" | Damage value of the weapon
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''50.000000''
| style="vertical-align: top;" | ''15.000000''
|-
|-
| colspan="6" |  
| colspan="6" |  
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Penetration=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| FireRate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Penetration value of the weapon
| style="vertical-align: top; width: 300px;" | Fire Rate value of the weapon
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''0.000000''
| style="vertical-align: top;" | ''342.857147''
|-
|-
| colspan="6" |  
| colspan="6" |  
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| MagazineSize=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Accuracy=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Magazine capacity
| style="vertical-align: top; width: 300px;" | Accuracy value of the weapon
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''15''
| style="vertical-align: top;" | ''50.000000''
|-
|-
| colspan="6" |  
| colspan="6" |  
----
----
|-
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| AmmoCapacity=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Penetration=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Maximum spare ammo
| style="vertical-align: top; width: 300px;" | Penetration value of the weapon
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''225''
| style="vertical-align: top;" | ''0.000000''
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 495: Line 489:
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | How much you heal yourself <small>(Syringe only)</small>
| style="vertical-align: top; width: 300px;" | How much you heal yourself <small>(Syringe only)</small>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''0''
|-
| colspan="6" |
----
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| HealAmountGrenade=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | How much you heal per second <small>(Grenade only)</small>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
Line 525: Line 509:
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | How long it takes until the Syringe is fully charged after healing yourself <small>(Syringe only)</small>
| style="vertical-align: top; width: 300px;" | How long it takes until the Syringe is fully charged after healing yourself <small>(Syringe only)</small>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''0''
|-
| colspan="6" |
----
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| HealDuration=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | How long the Medic Grenade lasts <small>(Grenade only)</small>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
Line 737: Line 711:
| PerkLink=
| PerkLink=
| WeaponImage=
| WeaponImage=
| MagazineSize=
| AmmoCapacity=
| Damage=
| Damage=
| FireRate=
| FireRate=
| Accuracy=
| Accuracy=
| Penetration=
| Penetration=
| MagazineSize=
| AmmoCapacity=
| Description=
| Description=
|
|
Line 759: Line 733:
| HealAmount=
| HealAmount=
| HealAmountSolo=
| HealAmountSolo=
| HealAmountGrenade=
| HealRecharge=
| HealRecharge=
| HealRechargeSelf=
| HealRechargeSelf=
| HealDuration=
| SecondaryMagazineSize=
| SecondaryMagazineSize=
| SecondaryAmmoCapacity=
| SecondaryAmmoCapacity=

Revision as of 02:15, 11 August 2016


Killing Floor 2 item
9mm Pistol
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
Perk All
Pricing 0
Weight 0
Weapon Information
Starting Ammo 15 + 105
Ammo Cost 8
Block (damage multiplier) ×1
Parry (damage multiplier) ×1
Weapon Type Pistol
Secondary Ammo
Ammo Type Healing Darts
Heal Amount (coop) 0
Heal Amount (solo) 0
Full Recharge Time 0s
Full Recharge Time (self) 0s
Magazine Size 0
Ammo Capacity 100
Starting Ammo 100
Ammo Consumption (per use) 0
Ammo Cost 0
Heal Amount (per second) 5
Heal Duration 8s
Related Achievements


Syntax

Parameters

{{KF2WeaponInfo

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

| PerkImage= Name of the image of the corresponding perk Example: KF2_No_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

|

| SecondaryAmmoType= Ammo Type of the secondary Ammunition Example: Healing Dart

| SecondaryAmmoImage= Name of the Image of the corresponding Ammo Type Example: KF2_SecondaryAmmo_MedicDarts_Gray.png

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

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

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

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

| SecondaryMagazineSize= Magazine Size of the secondary Ammo Type Example: 0

| SecondaryAmmoCapacity= Maximum spare ammo of the secondary Ammo Type Example: 100

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

| SecondaryAmmoCost= How much one magazine costs of the secondary Ammo Type Example: 0

|

| Custom_0_Entry= Additional custom entries Example: '''Heal Amount''' <small>(per second)</small>

| Custom_0_Value= Additional custom values Example: 5 <span style="margin: 0 -1px;">&#10010;</span>

| Custom_1_Entry=

| Custom_1_Value=

|          .
|          .
|          .
.
.
.
.
.
.

| Custom_2_Entry=

| Custom_2_Value=

|

| Achievement_0_Image= Name of the image of the corresponding achievement Example: KF2_Achievement_109.jpg

| Achievement_0_Name= Name of the achievement the weapon is related to Example: School's Out Forever

| Achievement_1_Image=

| Achievement_1_Name=

|          .
|          .
|          .
.
.
.
.
.
.

| Achievement_9_Image=

| Achievement_9_Name=

}}

Weapon Types

There are 10 specific choices for this section.

Weapon Type Corresponding Image
Pistol
Shotgun
Rifle
Projectile
Flame Weapon
Electric Weapon
Explosive
Assault Rifle
Melee Weapon
SMG

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=
|
| SecondaryAmmoType=
| SecondaryAmmoImage=
| HealAmount=
| HealAmountSolo=
| HealRecharge=
| HealRechargeSelf=
| SecondaryMagazineSize=
| SecondaryAmmoCapacity=
| SecondaryAmmoConsumption=
| SecondaryAmmoCost=
|
| Custom_0_Entry=
| Custom_0_Value=
| Custom_1_Entry=
| Custom_1_Value=
| Custom_2_Entry=
| Custom_2_Value=
| Custom_3_Entry=
| Custom_3_Value=
| Custom_4_Entry=
| Custom_4_Value=
| Custom_5_Entry=
| Custom_5_Value=
| Custom_6_Entry=
| Custom_6_Value=
| Custom_7_Entry=
| Custom_7_Value=
| Custom_8_Entry=
| Custom_8_Value=
| Custom_9_Entry=
| Custom_9_Value=
|
| Achievement_0_Image=
| Achievement_0_Name=
| Achievement_1_Image=
| Achievement_1_Name=
| Achievement_2_Image=
| Achievement_2_Name=
| Achievement_3_Image=
| Achievement_3_Name=
| Achievement_4_Image=
| Achievement_4_Name=
| Achievement_5_Image=
| Achievement_5_Name=
| Achievement_6_Image=
| Achievement_6_Name=
| Achievement_7_Image=
| Achievement_7_Name=
| Achievement_8_Image=
| Achievement_8_Name=
| Achievement_9_Image=
| Achievement_9_Name=
}}