Template:Inventory info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Added spacer before misc section) |
||
(130 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="float:right; width: 300px;text-align: center; | <includeonly>{|style="white-space:nowrap;margin:auto auto auto 50px;float:right; width: 300px;text-align: left;border: 1px solid #999999;color:#3f3f3f;background-color:#cacaca;font-size:1.1em;padding-left:20px;padding-right:20px;" | ||
|- style="text-align:center;" | |||
| colspan="2" | <small>''[[Killing Floor]] item''</small> | |||
|- style="text-align:center;background-color:#9f9f9f;" | |||
| colspan="2" | '''{{{Name}}}''' | |||
|- style="min-height:128px;height:auto;height:128px;margin:auto auto auto auto;" | |||
| colspan="2" | '''[[File:{{{Image}}}|center]]''' | |||
|- {{#if:{{{Desc|}}} | style="text-align:center;color:black;" | style="display:none;"}} | |||
| colspan="2" style="padding:10px 10px 10px 10px;" | ''{{{Desc}}}'' | |||
|- style="height: 20px;" | |||
| | |||
|- style="background-color:#8896b7;text-align:center;padding:2px;" | |||
| colspan="2" | '''General Information''' | |||
|- {{#if:{{{Perk|}}}||style="display:none;"}} | |||
| Perk | |||
| style="text-align:right;" | [[{{{Perk}}}]] | |||
|- {{#if:{{{Cost|}}}||style="display:none;"}} | |||
| Cost | |||
| style="text-align:right;" | £{{{Cost}}} | |||
|- {{#if:{{{Weight|}}}||style="display:none;"}} | |||
| Weight | |||
| style="text-align:right;" | {{{Weight}}} | |||
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}} | |||
| Can sell/buy | |||
| style="text-align:right;" | {{{CanSellBuy}}} | |||
|- style="visibility:hidden;" | |||
| - | |||
| - | |||
|- style="background-color:#8896b7;text-align:center;padding:2px;" | |||
| colspan="2" | '''Weapon Information''' | |||
|- {{#if:{{{AmmoCost|}}}||style="display:none;"}} | |||
| Ammo cost ({{ #if:{{{AmmoType|}}} | {{{AmmoType}}} | {{{AmmoBuyAmount}}} }}) | |||
| style="text-align:right;" | £{{{AmmoCost}}} | |||
|- {{#if:{{{Capacity|}}}||style="display:none;"}} | |||
| Ammo capacity | |||
| style="text-align:right;" | {{{Capacity}}} | |||
|- {{#if:{{{Magazine|}}}||style="display:none;"}} | |||
| Magazine capacity | |||
| style="text-align:right;" | {{{Magazine}}} | |||
|- {{#if:{{{Damage|}}}||style="display:none;"}} | |||
| Damage | |||
| style="text-align:right;" | {{{Damage}}} | |||
|- {{#if:{{{ImpactDamage|}}}||style="display:none;"}} | |||
| Impact damage | |||
| style="text-align:right;" | {{{ImpactDamage}}} | |||
|- {{#if:{{{Radius|}}}||style="display:none;"}} | |||
| <abbr title="Radius of area of effect">Radius</abbr> | |||
| style="text-align:right;" | {{{Radius}}} | |||
|- {{#if:{{{HeadMul|}}}||style="display:none;"}} | |||
| <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;"}} | |||
| Pellets | |||
| style="text-align:right;" | {{{Pellets}}} | |||
|- {{#if:{{{Spread|}}}||style="display:none;"}} | |||
| <abbr title="Maximum deviation for each bullet/pellet">Spread</abbr> | |||
| style="text-align:right;" | {{{Spread}}} | |||
|- {{#if:{{{Penetration|}}}||style="display:none;"}} | |||
| <abbr title="Amount of penetrations : reduction amount">Penetration</abbr> | |||
| style="text-align:right;" | {{{Penetration}}} | |||
|- {{#if:{{{ROF|}}}||style="display:none;"}} | |||
| <abbr title="Time (seconds) between shots">Rate of fire</abbr> | |||
| style="text-align:right;" | {{{ROF}}} | |||
|- {{#if:{{{ReloadTime|}}}||style="display:none;"}} | |||
| |<abbr title="Time (seconds) taken to reload">Reload time</abbr> | |||
| style="text-align:right;" | {{{ReloadTime}}} | |||
|- {{#if:{{{RegenRate|}}}||style="display:none;"}} | |||
| |<abbr title="Amount of charge regenerated per second (healing)">Regen rate</abbr> | |||
| style="text-align:right;" | {{{RegenRate}}} | |||
|- {{#if:{{{AddOns|}}}|style="height: 20px;"|style="display:none;"}} | |||
| | |||
|- {{#if:{{{AddOns|}}}|style="background-color:#8896b7;text-align:center;padding:2px;"|style="display:none;"}} | |||
| colspan="2" | '''Misc''' | |||
|- {{#if:{{{AddOns|}}}||style="display:none;"}} | |||
| Attachments | |||
| style="text-align:right;" | {{{AddOns}}} | |||
|- | |- | ||
| <small> | | colspan="2" | <br/><small><small>''Values listed in brackets are for alternate (secondary) fire.''</small></small> | ||
|}</includeonly> | |||
<noinclude><div style="width:100%; height:100%;">This template is a work in progress. | |||
===To do=== | |||
* Need to add the following stats: ammo cost, recoil, reload type (mag, shell, etc). | |||
* Add burn damage? Does it depend on the weapon used to set alight? | |||
<noinclude>This template is a work in progress. Need to | |||
==Usage== | ==Usage== | ||
{{Inventory info | {{Inventory info | ||
|Name= | |Name=MP7M | ||
|Image= | |Desc=Alt-fire fires a healing dart | ||
|Image=Trader MP7m.png | |||
|Perk=Field Medic | |||
|Cost=3000 | |||
|Weight=3 | |||
|AmmoType=Magazine | |||
|AmmoCost=10 | |||
|Damage=25 (20) | |||
|ROF=0.06 (0.50) | |||
|Capacity=400 (N/A) | |||
|Magazine=20 | |||
|CanSellBuy=Yes | |||
|Spread=0.01 | |||
|ReloadTime=3.17 | |||
|HeadMul=110% | |||
}} | |||
<div style="width:500px;"><pre> | |||
{{Inventory info | |||
|Name=MP7M | |||
|Desc=Alt-fire fires a healing dart | |||
|Image=Trader MP7m.png | |||
|Perk=Field Medic | |Perk=Field Medic | ||
|Cost= | |Cost=3000 | ||
|Weight= | |Weight=3 | ||
|Damage=20 ( | |AmmoType=Magazine | ||
| | |AmmoCost=10 | ||
|CanSellBuy= | |Damage=25 (20) | ||
}}</pre> | |ROF=0.06 (0.50) | ||
|Capacity=400 (N/A) | |||
|Magazine=20 | |||
|CanSellBuy=Yes | |||
|Spread=0.01 | |||
|ReloadTime=3.17 | |||
|HeadMul=110% | |||
}}</pre></div> | |||
===Available parameters=== | |||
'''ID''' | |||
*'''Name''' - Item name | |||
*'''Desc''' - Description of alt-fire mode | |||
*'''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''' | |||
*'''AmmoType''' - Ammunition that is bought, can be magazine or shell | |||
*'''AmmoCost''' - Cost of each clip (mag) | |||
*'''AmmoBuyAmount''' - How much ammo the ''buy clip'' button buys (instead of specifying AmmoType) | |||
*'''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? | |||
</div> | |||
</noinclude> | </noinclude> |
Latest revision as of 17:51, 26 December 2012
This template is a work in progress.
To do
- Need to add the following stats: ammo cost, recoil, reload type (mag, shell, etc).
- Add burn damage? Does it depend on the weapon used to set alight?
Usage
Killing Floor item | |
MP7M | |
Alt-fire fires a healing dart | |
General Information | |
Perk | Field Medic |
Cost | £3000 |
Weight | 3 |
Can sell/buy | Yes |
Weapon Information | |
Ammo cost (Magazine) | £10 |
Ammo capacity | 400 (N/A) |
Magazine capacity | 20 |
Damage | 25 (20) |
Head multiplier | 110% |
Spread | 0.01 |
Rate of fire | 0.06 (0.50) |
Reload time | 3.17 |
Values listed in brackets are for alternate (secondary) fire. |
{{Inventory info |Name=MP7M |Desc=Alt-fire fires a healing dart |Image=Trader MP7m.png |Perk=Field Medic |Cost=3000 |Weight=3 |AmmoType=Magazine |AmmoCost=10 |Damage=25 (20) |ROF=0.06 (0.50) |Capacity=400 (N/A) |Magazine=20 |CanSellBuy=Yes |Spread=0.01 |ReloadTime=3.17 |HeadMul=110% }}
Available parameters
ID
- Name - Item name
- Desc - Description of alt-fire mode
- 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
- AmmoType - Ammunition that is bought, can be magazine or shell
- AmmoCost - Cost of each clip (mag)
- AmmoBuyAmount - How much ammo the buy clip button buys (instead of specifying AmmoType)
- 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?