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:
<div style="display:inline; width:300px; float:right;">
{| style="float:right; width: 300px;text-align: center;border: hidden;background-color:#E5EECC;"
<table style="text-align:center; border:1px solid black;background-color:#E5EECC;">
|-
<tr><td>'''{{{Name}}}'''</td></tr>
|'''{{{Name}}}'''
<tr><td>[[File:{{{Image}}}]]</td></tr>
|-
{{#if: {{{Perk|}}} | <tr><td>Perk: [[{{{Perk}}}]]</td></tr> }}
|'''[[File:{{{Image}}}]]'''
{{#if: {{{Cost|}}} | <tr><td>Cost: £{{{Cost}}}</td></tr> }}
{{ #if:{{{Perk|}}}|{{!}}-
{{#if: {{{Weight|}}} | <tr><td>Weight: {{{Weight}}} blocks</td></tr> }}
  {{!}} [[{{{Perk}}}]] }}
{{#if: {{{Damage|}}} | <tr><td>Damage: {{{Damage}}}</td></tr> }}
{{ #if:{{{Cost|}}}|{{!}}-
{{#if: {{{Pellets|}}} | <tr><td>Pellets: {{{Pellets}}}</td></tr> }}
  {{!}} Cost: £{{{Cost}}} }}
{{#if: {{{RPM|}}} | <tr><td><abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}}</td></tr> }}
{{ #if:{{{Weight|}}}|{{!}}-
{{#if: {{{Capacity|}}} | <tr><td>Capacity: {{{Capacity}}}</td></tr> }}
  {{!}} Weight: {{{Weight}}} blocks }}
{{#if: {{{Magazine|}}} | <tr><td>Magazine: {{{Magazine}}}</td></tr> }}
{{ #if:{{{Damage|}}}|{{!}}-
{{#if: {{{CanSellBuy|}}} | <tr><td>Can sell/buy: {{{CanSellBuy}}}</td></tr> }}
  {{!}} Damage: {{{Damage}}} }}
<tr><td><br/>''Statistics for alternate fire are displayed in brackets.''</td></tr>
{{ #if:{{{Pellets|}}}|{{!}}-
</table>
  {{!}} Pellets per shot: {{{Pellets}}} }}
</div><noinclude>This template is a work in progress.<br/><br/><br/><br/><br/><br/><br/>
{{ #if:{{{RPM|}}}|{{!}}-
  {{!}} <abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}} }}
{{ #if:{{{Capacity|}}}|{{!}}-
  {{!}} Capacity: {{{Capacity}}}}}
{{ #if:{{{Magazine|}}}|{{!}}-
  {{!}} Magazine: {{{Magazine}}} }}
{{ #if:{{{CanSellBuy|}}}|{{!}}-
  {{!}} Can sell/buy: {{{CanSellBuy}}} }}
|}
<noinclude>This template is a work in progress.<br/><br/><br/><br/><br/><br/><br/>


==Usage==
==Usage==

Revision as of 23:59, 6 October 2012

{{{Name}}}
[[File:{{{Image}}}]]





This template is a work in progress.






Usage

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