Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
m (Experimenting (restored))
mNo edit summary
Line 16: Line 16:
{{ #if:{{{Pellets|}}}|{{!}}-
{{ #if:{{{Pellets|}}}|{{!}}-
   {{!}} Pellets per shot: {{{Pellets}}} }}
   {{!}} Pellets per shot: {{{Pellets}}} }}
{{ #if:{{{RPM|}}}|{{!}}-
{{ #if:{{{ROF|}}}|{{!}}-
   {{!}} <abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}} }}
   {{!}} <abbr title="???">Rate</abbr>: {{{ROF}}} }}
{{ #if:{{{Capacity|}}}|{{!}}-
{{ #if:{{{Capacity|}}}|{{!}}-
   {{!}} Capacity: {{{Capacity}}}}}
   {{!}} Capacity: {{{Capacity}}}}}
Line 37: Line 37:
|Weight=999
|Weight=999
|Damage=20 (heals)
|Damage=20 (heals)
|RPM=800
|ROF=1.0
|CanSellBuy=No
|CanSellBuy=No
}}</pre>
}}</pre>


</noinclude>
</noinclude>

Revision as of 14:41, 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)
|ROF=1.0
|CanSellBuy=No
}}