Template:KF2WeaponInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Corrected perk icon)
(Fixed support for Secondary Ammo without the need of an image, fixed width in some cases, replaced Weapon Type table to match the style of KF2)
Line 3: Line 3:
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2|<span style="color: #252525;">Killing Floor 2</span>]] item''</small>
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2|<span style="color: #252525;">Killing Floor 2</span>]] item''</small>
|- style="background: #ffffff; color: #ffffff; text-align: center;"
|- style="background: #ffffff; color: #ffffff; text-align: center;"
| 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 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><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 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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 12px;" | [[File:{{{WeaponImage}}}|326px]]
Line 37: Line 37:
| colspan="4" style="padding: 0; height: 6px;" |  
| colspan="4" style="padding: 0; height: 6px;" |  
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | 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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><div style="display: table-cell; vertical-align: middle;">'''General Information'''</div></div><div style="background: linear-gradient(135deg, transparent 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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;"}}
|- {{#if: {{{PerkName|}}} | style="height: 20px;" | style="display: none;"}}
| style="padding: 0 0 0 12px;" | '''Perk'''
| style="padding: 0 0 0 12px;" | '''Perk'''
Line 50: Line 50:
| colspan="4" style="padding: 0; height: 6px;" |  
| colspan="4" style="padding: 0; 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}} or {{#if: {{{Custom_0_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_1_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_2_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_3_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_4_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_5_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_6_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_7_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_8_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_9_Entry|}}} | 1 | 0}} | style="background: #000000; color: #ffffff; 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}} or {{#if: {{{Custom_0_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_1_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_2_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_3_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_4_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_5_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_6_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_7_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_8_Entry|}}} | 1 | 0}} or {{#if: {{{Custom_9_Entry|}}} | 1 | 0}} | 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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><div style="display: table-cell; vertical-align: middle;">'''Weapon Information'''</div></div><div style="background: linear-gradient(135deg, transparent 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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'''
Line 90: Line 90:
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size'''
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryMagazineSize}}} [[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]]
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryMagazineSize}}}{{#if: {{{SecondaryAmmoImage|}}} | &nbsp;[[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]] |}}
|- {{#if: {{{SecondaryAmmoCapacity|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{SecondaryAmmoCapacity|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Capacity'''
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Capacity'''
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryAmmoCapacity}}} [[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]]
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryAmmoCapacity}}}{{#if: {{{SecondaryAmmoImage|}}} | &nbsp;[[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]] |}}
|- {{#ifexpr: {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} and {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} and {{#if: {{{InitialSecondaryAmmo|}}} | 1 | 0}} | style="height: 20px;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} and {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} and {{#if: {{{InitialSecondaryAmmo|}}} | 1 | 0}} | 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;" | {{#ifexpr: {{{InitialSecondaryAmmo}}} < {{{SecondaryAmmoCapacity}}} | {{{SecondaryMagazineSize}}} + {{#expr: {{{InitialSecondaryAmmo}}} - {{{SecondaryMagazineSize}}}}} | {{{InitialSecondaryAmmo}}}}} [[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]]
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{#ifexpr: {{{InitialSecondaryAmmo}}} < {{{SecondaryAmmoCapacity}}} | {{{SecondaryMagazineSize}}} + {{#expr: {{{InitialSecondaryAmmo}}} - {{{SecondaryMagazineSize}}}}} | {{{InitialSecondaryAmmo}}}}}{{#if: {{{SecondaryAmmoImage|}}} | &nbsp;[[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]] |}}
|- {{#if: {{{SecondaryAmmoConsumption|}}} | {{#ifexpr: {{{SecondaryAmmoConsumption|}}} < {{{SecondaryMagazineSize}}} | style="height: 20px;"| style="display: none;"}} | style="display: none;"}}
|- {{#if: {{{SecondaryAmmoConsumption|}}} | {{#ifexpr: {{{SecondaryAmmoConsumption|}}} < {{{SecondaryMagazineSize}}} | style="height: 20px;"| style="display: none;"}} | style="display: none;"}}
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Consumption''' <small>(per use)</small>
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Consumption''' <small>(per use)</small>
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{SecondaryAmmoConsumption}}} round 0}} [[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]]
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{SecondaryAmmoConsumption}}} round 0}}{{#if: {{{SecondaryAmmoImage|}}} | &nbsp;[[File:{{{SecondaryAmmoImage}}}|baseline|10px|link=]] |}}
|- {{#if: {{{SecondaryAmmoCost|}}} | style="height: 20px;" | style="display: none;"}}
|- {{#if: {{{SecondaryAmmoCost|}}} | 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 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Cost'''
Line 136: Line 136:
| colspan="4" style="padding: 0; height: 6px;" |  
| colspan="4" style="padding: 0; 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: #000000; color: #ffffff; 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: #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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><div style="display: table-cell; vertical-align: middle;">'''Related Achievements'''</div></div><div style="background: linear-gradient(135deg, transparent 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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; top: 2px; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 5px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #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;">'''Related Achievements'''</div></div><div style="background: linear-gradient(135deg, transparent 5px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- {{#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: 0 6px 0 0;">[[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: 0 6px 0 0;">[[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 160: Line 160:
| colspan="4" style="padding: 0; height: 6px;" |  
| colspan="4" style="padding: 0; height: 6px;" |  
|- style="background: #ffffff; text-align: center;"
|- style="background: #ffffff; text-align: center;"
| colspan="4" style="padding: 0 0 2px; height: 8px;" | <div style="background: linear-gradient(45deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 8px; position: relative; top: -8px; width: 350px;"></div>{{#if: {{{GameVersion|}}} |<small style="position: relative; top: -8px;>''status as of [[Updates (Killing Floor 2)|<span style="color: #a6a7a9;">game version {{{GameVersion}}}''</span>]]</small>|}}
| colspan="4" style="padding: 0 0 2px; height: 8px;" | <div style="background: linear-gradient(45deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 8px; position: relative; top: -8px; width: 100%;"></div>{{#if: {{{GameVersion|}}} |<small style="position: relative; top: -8px;>''status as of [[Updates (Killing Floor 2)|<span style="color: #a6a7a9;">game version {{{GameVersion}}}''</span>]]</small>|}}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
Line 705: Line 705:
=== Weapon Types ===
=== Weapon Types ===
There are 10 specific choices for this section.
There are 10 specific choices for this section.
{| class="wikitable"
{{KF2Table
! Weapon Type
| th_0_0=Weapon Type
! Corresponding Image
|
|-
| th_0_1=Corresponding Image
| Pistol
|
| style="text-align: center;" | [[File:KF2_WeaponType_Pistol_Black.png|20px|link=]]
| th_1_0=Pistol
|-
| td_1_1_image=KF2_WeaponType_Pistol_Black.png
| Shotgun
| td_1_1_imageWidth=20
| style="text-align: center;" | [[File:KF2_WeaponType_Shotgun_Black.png|20px|link=]]
| td_1_1_imageHeight=20
|-
|
| Rifle
| th_2_0=Shotgun
| style="text-align: center;" | [[File:KF2_WeaponType_Rifle_Black.png|20px|link=]]
| td_2_1_image=KF2_WeaponType_Shotgun_Black.png
|-
| td_2_1_imageWidth=20
| Projectile
| td_2_1_imageHeight=20
| style="text-align: center;" | [[File:KF2_WeaponType_Projectile_Black.png|20px|link=]]
|
|-
| th_3_0=Rifle
| Flame Weapon
| td_3_1_image=KF2_WeaponType_Rifle_Black.png
| style="text-align: center;" | [[File:KF2_WeaponType_Flame_Weapon_Black.png|20px|link=]]
| td_3_1_imageWidth=20
|-
| td_3_1_imageHeight=20
| Electric Weapon
|
| style="text-align: center;" | [[File:KF2_WeaponType_Electric_Weapon_Black.png|20px|link=]]
| th_4_0=Projectile
|-
| td_4_1_image=KF2_WeaponType_Projectile_Black.png
| Explosive
| td_4_1_imageWidth=20
| style="text-align: center;" | [[File:KF2_WeaponType_Explosive_Black.png|20px|link=]]
| td_4_1_imageHeight=20
|-
|
| Assault Rifle
| th_5_0=Flame Weapon
| style="text-align: center;" | [[File:KF2_WeaponType_Assault_Rifle_Black.png|20px|link=]]
| td_5_1_image=KF2_WeaponType_Flame_Weapon_Black.png
|-
| td_5_1_imageWidth=20
| Melee Weapon
| td_5_1_imageHeight=20
| style="text-align: center;" | [[File:KF2_WeaponType_Melee_Weapon_Black.png|20px|link=]]
|
|-
| th_6_0=Electric Weapon
| SMG
| td_6_1_image=KF2_WeaponType_Electric_Weapon_Black.png
| style="text-align: center;" | [[File:KF2_WeaponType_SMG_Black.png|20px|link=]]
| td_6_1_imageWidth=20
|}
| td_6_1_imageHeight=20
|
| th_7_0=Explosive
| td_7_1_image=KF2_WeaponType_Explosive_Black.png
| td_7_1_imageWidth=20
| td_7_1_imageHeight=20
|
| th_8_0=Assault Rifle
| td_8_1_image=KF2_WeaponType_Assault_Rifle_Black.png
| td_8_1_imageWidth=20
| td_8_1_imageHeight=20
|
| th_9_0=Melee Weapon
| td_9_1_image=KF2_WeaponType_Melee_Weapon_Black.png
| td_9_1_imageWidth=20
| td_9_1_imageHeight=20
|
| th_10_0=SMG
| td_10_1_image=KF2_WeaponType_SMG_Black.png
| td_10_1_imageWidth=20
| td_10_1_imageHeight=20
}}


== Template ==
== Template ==

Revision as of 14:26, 18 January 2017


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
Alternative Weapon Type Electric Weapon
Secondary Ammunition
Ammo Type M203 Grenade
Heal Amount (coop) 0
Heal Amount (solo) 0
Full Recharge Time 0s
Full Recharge Time (self) 0s
Magazine Size
Ammo Capacity 12 
Starting Ammo 1 + 3 
Ammo Consumption (per use)
Ammo Cost 13
Heal Amount (per second) 5
Heal Duration 8s
Related Achievements
status as of game version 1042


Syntax

Parameters

{{KF2WeaponInfo

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

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

|

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

| SecondaryAmmoImage= Name of the Image of the corresponding Ammo Type Example: KF2_SecondaryAmmo_Grenade_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: 1

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

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

| 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: 13

|

| 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_9_Entry=

| Custom_9_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=

|

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

}}

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=
|
| SecondaryAmmoType=
| SecondaryAmmoImage=
| HealAmount=
| HealAmountSolo=
| HealRecharge=
| HealRechargeSelf=
| SecondaryMagazineSize=
| SecondaryAmmoCapacity=
| InitialSecondaryAmmo=
| 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=
|
| GameVersion=
}}