Template:Inventory info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
|'''{{{Name}}}''' | |'''{{{Name}}}''' | ||
|- | |- | ||
|'''[[File:{{{Image}}}]]'''{{ #if:{{{Perk|}}}|{{!}}-{{!}} [[{{{Perk}}}]] }}{{ #if:{{{Cost|}}}|{{!}}-{{!}} Cost: £{{{Cost}}} }}{{ #if:{{{Weight|}}}|{{!}}-{{!}} Weight: {{{Weight}}} blocks }}{{ #if:{{{Damage|}}}|{{!}}-{{!}} Damage: {{{Damage}}} }}{{ #if:{{{Pellets|}}}|{{!}}-{{!}} Pellets per shot: {{{Pellets}}} }}{{ #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}}} }} | |'''[[File:{{{Image}}}]]''' | ||
{{ #if:{{{Perk|}}}|{{!}}- | |||
{{!}} [[{{{Perk}}}]] }} | |||
{{ #if:{{{Cost|}}}|{{!}}- | |||
{{!}} Cost: £{{{Cost}}} }} | |||
{{ #if:{{{Weight|}}}|{{!}}- | |||
{{!}} Weight: {{{Weight}}} blocks }} | |||
{{ #if:{{{Damage|}}}|{{!}}- | |||
{{!}} Damage: {{{Damage}}} }} | |||
{{ #if:{{{Pellets|}}}|{{!}}- | |||
{{!}} Pellets per shot: {{{Pellets}}} }} | |||
{{ #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. 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:34, 7 October 2012
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 }}