Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
m (Experimenting (restored))
Line 7: Line 7:
|'''[[File:{{{Image}}}]]'''
|'''[[File:{{{Image}}}]]'''
{{ #if:{{{Perk|}}}|{{!}}-
{{ #if:{{{Perk|}}}|{{!}}-
{{!}} [[{{{Perk}}}]] }}
  {{!}} [[{{{Perk}}}]] }}
{{ #if:{{{Cost|}}}|{{!}}-
{{ #if:{{{Cost|}}}|{{!}}-
{{!}} Cost: £{{{Cost}}} }}
  {{!}} Cost: £{{{Cost}}} }}
{{ #if:{{{Weight|}}}|{{!}}-
{{ #if:{{{Weight|}}}|{{!}}-
{{!}} Weight: {{{Weight}}} blocks }}
  {{!}} Weight: {{{Weight}}} blocks }}
{{ #if:{{{Damage|}}}|{{!}}-
{{ #if:{{{Damage|}}}|{{!}}-
{{!}} Damage: {{{Damage}}} }}
  {{!}} Damage: {{{Damage}}} }}
{{ #if:{{{Pellets|}}}|{{!}}-
{{ #if:{{{Pellets|}}}|{{!}}-
{{!}} Pellets per shot: {{{Pellets}}} }}
  {{!}} Pellets per shot: {{{Pellets}}} }}
{{ #if:{{{RPM|}}}|{{!}}-
{{ #if:{{{RPM|}}}|{{!}}-
{{!}} <abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}} }}
  {{!}} <abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}} }}
{{ #if:{{{Capacity|}}}|{{!}}-
{{ #if:{{{Capacity|}}}|{{!}}-
{{!}} Capacity: {{{Capacity}}}}}
  {{!}} Capacity: {{{Capacity}}}}}
{{ #if:{{{Magazine|}}}|{{!}}-
{{ #if:{{{Magazine|}}}|{{!}}-
{{!}} Magazine: {{{Magazine}}} }}
  {{!}} Magazine: {{{Magazine}}} }}
{{ #if:{{{CanSellBuy|}}}|{{!}}-
{{ #if:{{{CanSellBuy|}}}|{{!}}-
{{!}} Can sell/buy: {{{CanSellBuy}}} }}
  {{!}} Can sell/buy: {{{CanSellBuy}}} }}
|}
|}
<noinclude>This template is a work in progress. Need to fix the spaces that occur when some parameters are left out. Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.
<noinclude>This template is a work in progress. Need to fix the spaces that occur when some parameters are left out. Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.

Revision as of 14:37, 7 October 2012

Killing Floor weapon
{{{Name}}}
[[File:{{{Image}}}]]





This template is a work in progress. Need to fix the spaces that occur when some parameters are left out. Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.

Usage

{{Inventory info
|Name=Syringe
|Image=Syringe.png
|Perk=Field Medic
|Cost=123
|Weight=999
|Damage=20 (heals)
|RPM=800
|CanSellBuy=No
}}