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


</nowiki></noinclude>
==Usage==
 
<pre>
{{Inventory info
|Name=Syringe
|Image=Syringe.png
|Perk=Field Medic
|Cost=123
|Weight=999
|Damage=20 (heals)
|RPM=800
|CanSellBuy=No
}}</pre>
 
</noinclude>

Revision as of 23:30, 6 October 2012





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

Statistics for alternate fire are displayed in brackets.

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