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="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;"}}
  {{!}} [[{{{Perk}}}]] }}
| {{#if:{{{Perk|}}}|Perk: [[{{{Perk}}}]]}}
{{ #if:{{{Cost|}}}|{{!}}-
|- {{#if:{{{Cost|}}}||style="display:none;"}}
  {{!}} Cost: £{{{Cost}}} }}
| {{#if:{{{Cost|}}}|Cost: £{{{Cost}}}}}
{{ #if:{{{Weight|}}}|{{!}}-
|- {{#if:{{{Weight|}}}||style="display:none;"}}
  {{!}} Weight: {{{Weight}}} blocks }}
| {{#if:{{{Weight|}}}|Weight: {{{Weight}}} block(s)}}
{{ #if:{{{Damage|}}}|{{!}}-
|- {{#if:{{{Damage|}}}||style="display:none;"}}
  {{!}} Damage: {{{Damage}}} }}
| {{#if:{{{Damage|}}}|Damage: {{{Damage}}}}}
{{ #if:{{{Pellets|}}}|{{!}}-
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
  {{!}} Pellets per shot: {{{Pellets}}} }}
| {{#if:{{{Pellets|}}}|Pellets per shot: {{{Pellets}}}}}
{{ #if:{{{ROF|}}}|{{!}}-
|- {{#if:{{{ROF|}}}||style="display:none;"}}
  {{!}} <abbr title="???">Rate</abbr>: {{{ROF}}} }}
| {{#if:{{{ROF|}}}|ROF: {{{ROF}}}}}
{{ #if:{{{Capacity|}}}|{{!}}-
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
  {{!}} Capacity: {{{Capacity}}}}}
| {{#if:{{{Capacity|}}}|Capacity: {{{Capacity}}}}}
{{ #if:{{{Magazine|}}}|{{!}}-
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
  {{!}} Magazine: {{{Magazine}}} }}
| {{#if:{{{Magazine|}}}|Magazine: {{{Magazine}}}}}
{{ #if:{{{CanSellBuy|}}}|{{!}}-
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}}
  {{!}} Can sell/buy: {{{CanSellBuy}}} }}
| {{#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

Killing Floor weapon
MP7M
Perk: Field Medic
Cost: £3000
Weight: 3 block(s)
Damage: 25 (20)
ROF: 0.06 (0.50)
Capacity: 400 (N/A)
Magazine: 20
CanSellBuy: 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
}}