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:
{| 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 24: Line 24:
{{ #if:{{{CanSellBuy|}}}|{{!}}-
{{ #if:{{{CanSellBuy|}}}|{{!}}-
   {{!}} Can sell/buy: {{{CanSellBuy}}} }}
   {{!}} Can sell/buy: {{{CanSellBuy}}} }}
|}
|}</includeonly>
<noinclude>This template is a work in progress.
<noinclude><div style="width:100%; height:100%; background-color: lightblue;">This template is a work in progress.


===To do===
===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 seeing the row height to 0?
*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.
* Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.
Line 43: Line 43:
==Usage==
==Usage==


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


<div style="width:500px;"><pre>
{{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
}}</pre></div>
</div>
</noinclude>
</noinclude>

Revision as of 16:40, 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

Killing Floor weapon
MP7M
Field Medic
Cost: £3000
Weight: 3 blocks
Damage: 25 (20)
Rate: 0.06 (0.50)
Capacity: 400 (N/A)
Magazine: 20
Can sell/buy: Yes


{{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
}}