Template:KF2WeaponInfo: Difference between revisions
Jump to navigation
Jump to search
(Fixed an if-Statement has a wrong condition) |
(Optical improvement, changed how achievements are entered (supports now infinite amount of achievements - similar to custom entries), code optimizations) |
||
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 | | 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 12px;" | [[File:{{{WeaponImage}}}|326px]] | ||
Line 12: | Line 12: | ||
| colspan="2" style="padding: 0 0 0 12px;" | Ammo Capacity | | colspan="2" style="padding: 0 0 0 12px;" | Ammo Capacity | ||
| 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; text-align: right;" | {{{AmmoCapacity}}} [[File:KF2_Ammo_Gray.png|baseline|13px|link=]] | ||
|- {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}} | style="height: | |- {{#if: {{{MagazineSize|}}}{{{AmmoCapacity|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | 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''' | ||
Line 30: | Line 30: | ||
| 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}} | ||
|- {{#if: {{{Damage|}}}{{{FireRate|}}}{{{Accuracy|}}}{{{Penetration|}}} | style="height: | |- {{#if: {{{Damage|}}}{{{FireRate|}}}{{{Accuracy|}}}{{{Penetration|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | 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: | |- {{#if: {{{Description|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}} | |- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | 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 | | 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;"}} | |- {{#if: {{{PerkName|}}} | style="height: 20px;" | style="display: none;"}} | ||
| style="padding: 0 0 0 12px;" | '''Perk''' | | style="padding: 0 0 0 12px;" | '''Perk''' | ||
Line 47: | Line 47: | ||
| style="padding: 0 0 0 12px;" | '''Weight''' | | style="padding: 0 0 0 12px;" | '''Weight''' | ||
| colspan="3" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}} | | colspan="3" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}} | ||
|- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | style="height: | |- {{#if: {{{PerkName|}}}{{{Pricing|}}}{{{Weight|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | 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|}}}{{{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;"}} | ||
| 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 | | 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''' | ||
Line 69: | Line 69: | ||
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Alternative Weapon Type''' | | 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=]] | | 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: | |- {{#if: {{{InitialSpareMags|}}}{{{AmmoCost|}}}{{{Block|}}}{{{Parry|}}}{{{WeaponType|}}}{{{AlternativeWeaponType|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | 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;"}} | ||
| colspan="4" style="padding: 0 12px; text-align: center;" | <small>Secondary Ammunition</small> | | colspan="4" style="padding: 0 12px; text-align: center;" | <small>Secondary Ammunition</small> | ||
Line 76: | Line 76: | ||
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Type''' | | colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Ammo Type''' | ||
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryAmmunition_AmmoType}}} | | colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryAmmunition_AmmoType}}} | ||
|- {{#if: {{{SecondaryAmmunition_AmmoType|}}} | style="height: | |- {{#if: {{{SecondaryAmmunition_AmmoType|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{SecondaryAmmunition_MagazineSize|}}} | style="height: 20px;" | style="display: none;"}} | |- {{#if: {{{SecondaryAmmunition_MagazineSize|}}} | 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''' | ||
Line 84: | Line 84: | ||
| 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;" | {{{SecondaryAmmunition_AmmoCapacity}}} {{#if: {{{SecondaryAmmunition_AmmoImage|}}} | [[File:{{{SecondaryAmmunition_AmmoImage}}}|baseline|10px|link=]] |}} | | colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{SecondaryAmmunition_AmmoCapacity}}} {{#if: {{{SecondaryAmmunition_AmmoImage|}}} | [[File:{{{SecondaryAmmunition_AmmoImage}}}|baseline|10px|link=]] |}} | ||
|- {{#if: {{{SecondaryAmmunition_MagazineSize|}}}{{{SecondaryAmmunition_AmmoCapacity|}}} | style="height: | |- {{#if: {{{SecondaryAmmunition_MagazineSize|}}}{{{SecondaryAmmunition_AmmoCapacity|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{SecondaryAmmunition_Damage|}}} | style="height: 20px;" | style="display: none;"}} | |- {{#if: {{{SecondaryAmmunition_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''' | ||
Line 102: | Line 102: | ||
| 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: {{{SecondaryAmmunition_Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{SecondaryAmmunition_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: {{{SecondaryAmmunition_Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{SecondaryAmmunition_Penetration}}} / 4}} | 1 }}) * 100 }}px"></div></div> | ||
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{SecondaryAmmunition_Penetration}}} round 1}} | | style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{SecondaryAmmunition_Penetration}}} round 1}} | ||
|- {{#if: {{{SecondaryAmmunition_Damage|}}}{{{SecondaryAmmunition_FireRate|}}}{{{SecondaryAmmunition_Accuracy|}}}{{{SecondaryAmmunition_Penetration|}}} | style="height: | |- {{#if: {{{SecondaryAmmunition_Damage|}}}{{{SecondaryAmmunition_FireRate|}}}{{{SecondaryAmmunition_Accuracy|}}}{{{SecondaryAmmunition_Penetration|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{SecondaryAmmunition_InitialSpareMags|}}} | style="height: 20px;" | style="display: none;"}} | |- {{#if: {{{SecondaryAmmunition_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 113: | Line 113: | ||
| 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''' | ||
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{SecondaryAmmunition_AmmoCost}}} | | colspan="2" style="padding: 0 12px 0 0; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{SecondaryAmmunition_AmmoCost}}} | ||
|- {{#if: {{{SecondaryAmmunition_InitialSpareMags|}}}{{{SecondaryAmmunition_AmmoCost|}}}{{{SecondaryAmmunition_AmmoConsumption|}}} | style="height: | |- {{#if: {{{SecondaryAmmunition_InitialSpareMags|}}}{{{SecondaryAmmunition_AmmoCost|}}}{{{SecondaryAmmunition_AmmoConsumption|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{HealAmount|}}} | style="height: 20px;" | style="display: none;"}} | |- {{#if: {{{HealAmount|}}} | style="height: 20px;" | style="display: none;"}} | ||
| colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' {{#if: {{{HealAmountSolo|}}} | <small>(coop)</small> |}} | | colspan="2" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' {{#if: {{{HealAmountSolo|}}} | <small>(coop)</small> |}} | ||
Line 127: | Line 127: | ||
| colspan="3" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time''' <small>(self injection)</small> | | colspan="3" style="padding: 0 0 0 12px; vertical-align: top; white-space: nowrap;" | '''Full Recharge Time''' <small>(self injection)</small> | ||
| style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{FullRechargeTime_SelfInjection}}} round 2}}s | | style="padding: 0 12px 0 0; text-align: right;" | {{#expr: {{{FullRechargeTime_SelfInjection}}} round 2}}s | ||
|- {{#if: {{{HealAmount|}}}{{{HealAmount_Solo|}}}{{{FullRechargeTime|}}}{{{FullRechargeTime_SelfInjection|}}} | style="height: | |- {{#if: {{{HealAmount|}}}{{{HealAmount_Solo|}}}{{{FullRechargeTime|}}}{{{FullRechargeTime_SelfInjection|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{Custom_Entries|}}} || style="display: none;"}} | |- {{#if: {{{Custom_Entries|}}} || style="display: none;"}} | ||
| colspan="4" style="padding: 0 12px;" | {{{Custom_Entries|}}} | | colspan="4" style="padding: 0 12px;" | {{{Custom_Entries|}}} | ||
|- {{#if: {{{Custom_Entries|}}} | style="height: | |- {{#if: {{{Custom_Entries|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{Technical_Entries|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}} | |- {{#if: {{{Technical_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 | | 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;">'''Technical 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: {{{Technical_Entries|}}} || style="display: none;"}} | |- {{#if: {{{Technical_Entries|}}} || style="display: none;"}} | ||
| colspan="4" style="padding: 0 12px;" | {{{Technical_Entries|}}} | | colspan="4" style="padding: 0 12px;" | {{{Technical_Entries|}}} | ||
|- {{#if: {{{Technical_Entries|}}} | style="height: | |- {{#if: {{{Technical_Entries|}}} | style="height: 8px;" | style="display: none;"}} | ||
| colspan="4" style="padding: 0; height: | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{ | |- {{#if: {{{Achievements|}}} | 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 | | 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;">'''Related Achievements'''</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: {{{ | |- {{#if: {{{Achievements|}}} || style="display: none;"}} | ||
| colspan="4" style="padding: 0 12px;" | {{{Achievements|}}} | |||
|- {{#if: {{{Achievements|}}} | style="height: 8px;" | style="display: none;"}} | |||
| colspan="4" style="padding: 0 12px;" | | | colspan="4" style="padding: 0; height: 8px;" | | ||
|- {{#if: {{{ | |||
| colspan="4" style="padding: 0 | |||
|- 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: 100%;"></div>{{#if: {{{GameVersion|}}} |<small style="position: relative; top: -8px;>''status as of [[ | | 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 game version [[Update {{{GameVersion}}} (Killing Floor 2)|<span style="color: #a6a7a9;">{{{GameVersion}}}''</span>]]</small>|}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
Line 235: | Line 197: | ||
{{KF2VariousInfo_CustomEntry | '''Technical Entry''' | Technical Value | Technical Description | Last=true }} | {{KF2VariousInfo_CustomEntry | '''Technical Entry''' | Technical Value | Technical Description | Last=true }} | ||
| | | | ||
| | | Achievements= | ||
| | {{KF2VariousInfo_Achievement | 109 | School's Out Forever }} | ||
| | | | ||
| GameVersion= | | GameVersion=1050 | ||
}} | }} | ||
Line 648: | Line 592: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | ''<span style="white-space: nowrap;"><small><nowiki>{{KF2VariousInfo_CustomEntry|'''Custom Entry'''|Custom Value|AddSpaceAfterEntry=true}}</nowiki><br /><nowiki>{{KF2VariousInfo_CustomEntry|'''Heal Amount''' <small>(per second)</small>|5 &#10010;}}</nowiki><br /><nowiki>{{KF2VariousInfo_CustomEntry|'''Heal Duration'''|8s|Custom Description|Last=true}}</nowiki></span>'' | | style="vertical-align: top;" | ''<span style="white-space: nowrap;"><small><nowiki>{{KF2VariousInfo_CustomEntry|'''Custom Entry'''|Custom Value|AddSpaceAfterEntry=true}}</nowiki><br /><nowiki>{{KF2VariousInfo_CustomEntry|'''Heal Amount''' <small>(per second)</small>|5 &#10010;}}</nowiki><br /><nowiki>{{KF2VariousInfo_CustomEntry|'''Heal Duration'''|8s|Custom Description|Last=true}}</nowiki></small></span>'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 658: | Line 602: | ||
---- | ---- | ||
|- | |- | ||
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| | | style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Technical_Entries=</nowiki><br /><small><nowiki> {{KF2VariousInfo_CustomEntry|1|2|3}}</nowiki><br /><nowiki> {{KF2VariousInfo_CustomEntry|1|2|3}}</nowiki><br /><nowiki> {{KF2VariousInfo_CustomEntry|1|2|3|AddSpaceAfterEntry=true}}</nowiki><br /><nowiki> {{KF2VariousInfo_CustomEntry|1|2|3}}</nowiki><br /><nowiki> {{KF2VariousInfo_CustomEntry|1|2|3|Last=true}}</nowiki></small> | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | Additional technical entries | | style="vertical-align: top;" | Additional technical entries | ||
Line 669: | Line 613: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | ''<span style="white-space: nowrap;"><small><nowiki>{{KF2VariousInfo_CustomEntry|'''Technical Entry'''|Technical Value|Technical Description|Last=true}}</nowiki></span>'' | | style="vertical-align: top;" | ''<span style="white-space: nowrap;"><small><nowiki>{{KF2VariousInfo_CustomEntry|'''Technical Entry'''|Technical Value|Technical Description|Last=true}}</nowiki></small></span>'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 679: | Line 623: | ||
---- | ---- | ||
|- | |- | ||
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| | | style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Achievements=</nowiki><br /><small><nowiki> {{KF2VariousInfo_Achievement|1|2}}</nowiki></small> | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | | | style="vertical-align: top;" | Related Achievement entrys | ||
''<span style="font-family: monospace, Curier;">1</span> - Achievement Number''<br /><small>''According to [https://steamdb.info/app/232090/stats/ steamdb.info]''</small> | |||
''<span style="font-family: monospace, Curier;">2</span> - Achievement Title'' | |||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''<span style="white-space: nowrap;"><small><nowiki>{{KF2VariousInfo_Achievement|109|School's Out Forever}}</nowiki></small></span>'' | ||
| | |||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 738: | Line 647: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''1050'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 852: | Line 761: | ||
{{KF2VariousInfo_CustomEntry|1|2|3}} | {{KF2VariousInfo_CustomEntry|1|2|3}} | ||
| | | | ||
| | | Achievements= | ||
| | {{KF2VariousInfo_Achievement|1|2}} | ||
| | |||
| | | | ||
| GameVersion= | | GameVersion= |
Revision as of 12:07, 25 January 2017
Killing Floor 2 item | |||
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 | ||
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 | |||
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_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 | ||
| |||||
| 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 AddSpaceAfterEntry=true Last=true |
Example: | {{KF2VariousInfo_CustomEntry|'''Custom Entry'''|Custom Value|AddSpaceAfterEntry=true}} {{KF2VariousInfo_CustomEntry|'''Heal Amount''' <small>(per second)</small>|5 ✚}} {{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 AddSpaceAfterEntry=true Last=true |
Example: | {{KF2VariousInfo_CustomEntry|'''Technical Entry'''|Technical Value|Technical Description|Last=true}} | ||
| |||||
| | |||||
| |||||
| Achievements= {{KF2VariousInfo_Achievement|1|2}} |
Related Achievement entrys
1 - Achievement Number 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 |
---|---|
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= | 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}} | | GameVersion= }}