Template:Inventory info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| style="float:right; width: 300px;text-align: center;border: hidden;background-color:#E5EECC;" | <includeonly>{|style="float:right; width: 300px;text-align: center;border: hidden;background-color:#E5EECC;" | ||
|- | |- | ||
| <small>''[[Killing Floor]] weapon''</small> | | <small>''[[Killing Floor]] weapon''</small> | ||
Line 6: | Line 6: | ||
|- | |- | ||
|'''[[File:{{{Image}}}]]''' | |'''[[File:{{{Image}}}]]''' | ||
{{ #if:{{{Perk|}}}| | |- {{#if:{{{Perk|}}}||style="display:none;"}} | ||
| {{#if:{{{Perk|}}}|Perk: [[{{{Perk}}}]]}} | |||
{{ #if:{{{Cost|}}}| | |- {{#if:{{{Cost|}}}||style="display:none;"}} | ||
| {{#if:{{{Cost|}}}|Cost: £{{{Cost}}}}} | |||
{{ #if:{{{Weight|}}}| | |- {{#if:{{{Weight|}}}||style="display:none;"}} | ||
| {{#if:{{{Weight|}}}|Weight: {{{Weight}}} block(s)}} | |||
{{ #if:{{{Damage|}}}| | |- {{#if:{{{Damage|}}}||style="display:none;"}} | ||
| {{#if:{{{Damage|}}}|Damage: {{{Damage}}}}} | |||
{{ #if:{{{Pellets|}}}| | |- {{#if:{{{Pellets|}}}||style="display:none;"}} | ||
| {{#if:{{{Pellets|}}}|Pellets per shot: {{{Pellets}}}}} | |||
{{ #if:{{{ROF|}}}| | |- {{#if:{{{ROF|}}}||style="display:none;"}} | ||
| {{#if:{{{ROF|}}}|ROF: {{{ROF}}}}} | |||
{{ #if:{{{Capacity|}}}| | |- {{#if:{{{Capacity|}}}||style="display:none;"}} | ||
| {{#if:{{{Capacity|}}}|Capacity: {{{Capacity}}}}} | |||
{{ #if:{{{Magazine|}}}| | |- {{#if:{{{Magazine|}}}||style="display:none;"}} | ||
| {{#if:{{{Magazine|}}}|Magazine: {{{Magazine}}}}} | |||
{{ #if:{{{CanSellBuy|}}}| | |- {{#if:{{{CanSellBuy|}}}||style="display:none;"}} | ||
| {{#if:{{{CanSellBuy|}}}|CanSellBuy: {{{CanSellBuy}}}}} | |||
|}</includeonly> | |}</includeonly> | ||
<noinclude><div style="width:100%; height:100%; background-color: lightblue;">This template is a work in progress. | <noinclude><div style="width:100%; height:100%; background-color: lightblue;">This template is a work in progress. |
Revision as of 17:09, 7 October 2012
This template is a work in progress.
To do
- Need to fix the spaces that occur when some parameters are left out. For the empty rows that appear when a parameter is left out, perhaps we could cheat by setting the row height to 0?
- Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.
- Need to add penetration stat.
- Need to add headshot multiplier stat.
- Add burn damage? Does it depend on the weapon used to set alight?
- Add explosion radius.
Usage
{{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 }}