Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{|style="margin:auto auto auto 50px;float:right; width: 300px;text-align: center;border: 1px solid #603311;background-color:#E5EECC;font-size:1.1em;"
<includeonly>{|style="margin:auto auto auto 50px;float:right; width: 300px;text-align: center;border: 1px solid #603311;background-color:#E5EECC;font-size:1.1em;padding-left:20px;padding-right:30px;"
|-
|-
| <small>''[[Killing Floor]] item''</small>
| <small>''[[Killing Floor]] item''</small>
Line 7: Line 7:
|'''[[File:{{{Image}}}]]'''
|'''[[File:{{{Image}}}]]'''
|- {{#if:{{{Perk|}}}||style="display:none;"}}
|- {{#if:{{{Perk|}}}||style="display:none;"}}
| {{#if:{{{Perk|}}}|Perk: [[{{{Perk}}}]]}}
| Perk
| style="text-align:right;" | [[{{{Perk}}}]]
|- {{#if:{{{Cost|}}}||style="display:none;"}}
|- {{#if:{{{Cost|}}}||style="display:none;"}}
| {{#if:{{{Cost|}}}|[[File:Hud Pound Symbol.png|x20px|Cost]] {{{Cost}}}}}
| [[File:Hud Pound Symbol.png|x20px|Cost]]
| style="text-align:right;" | {{{Cost}}}
|- {{#if:{{{Weight|}}}||style="display:none;"}}
|- {{#if:{{{Weight|}}}||style="display:none;"}}
| {{#if:{{{Weight|}}}|[[File:Hud Weight.png|x20px|Weight]] {{{Weight}}}}}
| [[File:Hud Weight.png|x20px|Weight]]
| style="text-align:right;" | {{{Weight}}}
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
| {{#if:{{{Capacity|}}}|[[File:Hud Bullets.png|x20px|Capacity]] {{{Capacity}}}}}
| |[[File:Hud Bullets.png|x20px|Capacity]]
| style="text-align:right;" | {{{Capacity}}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
| {{#if:{{{Magazine|}}}|[[File:Hud Ammo Clip.png|x20px|Magazine size]] {{{Magazine}}}}}
| [[File:Hud Ammo Clip.png|x20px|Magazine size]]
| style="text-align:right;" | {{{Magazine}}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
| [[File:Hud Lightning Bolt.png|x20px|Damage]]
| style="text-align:right;" | {{{Damage}}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
| {{#if:{{{Radius|}}}|<abbr title="Radius of area of effect">Radius</abbr>: {{{Radius}}}}}
| <abbr title="Radius of area of effect">Radius</abbr>
| style="text-align:right;" | {{{Radius}}}
|- {{#if:{{{HeadMul|}}}||style="display:none;"}}
|- {{#if:{{{HeadMul|}}}||style="display:none;"}}
| {{#if:{{{HeadMul|}}}|<abbr title="How much extra damage is dealt when the head is hit">Head multiplier</abbr>: {{{HeadMul}}}}}
| <abbr title="How much extra damage is dealt when the head is hit">Head multiplier</abbr>
| style="text-align:right;" | {{{HeadMul}}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
| [[File:Pellets.png|x20px|Pellets per shot]]
| style="text-align:right;" | {{{Pellets}}}
|- {{#if:{{{Spread|}}}||style="display:none;"}}
|- {{#if:{{{Spread|}}}||style="display:none;"}}
| {{#if:{{{Spread|}}}|<abbr title="Maximum deviation for each bullet/pellet">Spread</abbr>: {{{Spread}}}}}
| <abbr title="Maximum deviation for each bullet/pellet">Spread</abbr>
| style="text-align:right;" | {{{Spread}}}
|- {{#if:{{{Penetration|}}}||style="display:none;"}}
|- {{#if:{{{Penetration|}}}||style="display:none;"}}
| {{#if:{{{Penetration|}}}|<abbr title="Amount of penetrations : reduction amount">Penetration</abbr>: {{{Penetration}}}}}
| <abbr title="Amount of penetrations : reduction amount">Penetration</abbr>
| style="text-align:right;" | {{{Penetration}}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
| {{#if:{{{ROF|}}}|<abbr title="Time (seconds) between shots">Rate of fire</abbr>: {{{ROF}}}}}
| <abbr title="Time (seconds) between shots">Rate of fire</abbr>
| style="text-align:right;" | {{{ROF}}}
|- {{#if:{{{ReloadTime|}}}||style="display:none;"}}
|- {{#if:{{{ReloadTime|}}}||style="display:none;"}}
| {{#if:{{{ReloadTime|}}}|<abbr title="Time (seconds) taken to reload">Reload time</abbr>: {{{ReloadTime}}}}}
| |<abbr title="Time (seconds) taken to reload">Reload time</abbr>
| style="text-align:right;" | {{{ReloadTime}}}
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
| {{#if:{{{AddOns|}}}|Attachments: {{{AddOns}}}}}
| Attachments
| style="text-align:right;" | {{{AddOns}}}
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}}
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}}
| {{#if:{{{CanSellBuy|}}}|Can sell/buy: {{{CanSellBuy}}}}}
| Can sell/buy
| style="text-align:right;" | {{{CanSellBuy}}}
|-
|-
| <br/><small><small>''Values listed in brackets are for alternate (secondary) fire.''</small></small>
| <br/><small><small>''Values listed in brackets are for alternate (secondary) fire.''</small></small>

Revision as of 02:20, 12 October 2012

This template is a work in progress.

To do

  • Need to add the following stats: ammo cost, reload type (mag, shell, etc).
  • Add burn damage? Does it depend on the weapon used to set alight?

Usage

Killing Floor item
MP7M
Perk Field Medic
Cost 3000
Weight 3
Capacity 400 (N/A)
Magazine size 20
Damage 25 (20)
Radius {{{Radius}}}
Head multiplier {{{HeadMul}}}
Pellets per shot {{{Pellets}}}
Spread {{{Spread}}}
Penetration {{{Penetration}}}
Rate of fire 0.06 (0.50)
Reload time {{{ReloadTime}}}
Attachments {{{AddOns}}}
Can sell/buy Yes

Values listed in brackets are for alternate (secondary) fire.


{{Inventory info
|Name=MP7M
|Image=Trader MP7m.png
|Perk=Field Medic
|Cost=3000
|Weight=3
|Damage=25 (20)
|ROF=0.06 (0.50)
|Capacity=400 (N/A)
|Magazine=20
|CanSellBuy=Yes
}}

Available parameters

ID

  • Name - Item name
  • Image - Image name of item, excluding the file: part
  • Perk - Related perk
  • Cost - Cost at the trader
  • Weight - Amount of blocks this item takes up

Combat stats

  • Capacity - Total ammo capacity
  • Magazine - Magazine capacity
  • Damage - Damage per shot (or pellet in the case of shotguns)
  • Radius - Size of radius for area of effect weapons (explosions etc)
  • HeadMul - Head shot multiplier, represented as a percentage
  • Pellets - Amount of pellets per shot. Used for shotguns
  • Spread - Potential amount of spread per shot/bullet
  • Penetration - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
  • ROF - Rate of fire, expressed as seconds between shots
  • ReloadTime - Reload time, expressed as seconds

Misc

  • AddOns - Attachments such as flashlight, laser sight, etc.
  • CanSellBuy - Can weapon be bought/sold?