Template:Inventory info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
|'''[[File:{{{Image}}}]]''' | |'''[[File:{{{Image}}}]]''' | ||
{{ #if:{{{Perk|}}}|{{!}}- | {{ #if:{{{Perk|}}}|{{!}}-{{!}} [[{{{Perk}}}]] }} | ||
{{!}} [[{{{Perk}}}]] }} | {{ #if:{{{Cost|}}}|{{!}}-{{!}} Cost: £{{{Cost}}} }} | ||
{{ #if:{{{Cost|}}}|{{!}}- | {{ #if:{{{Weight|}}}|{{!}}-{{!}} Weight: {{{Weight}}} blocks }} | ||
{{!}} Cost: £{{{Cost}}} }} | {{ #if:{{{Damage|}}}|{{!}}-{{!}} Damage: {{{Damage}}} }} | ||
{{ #if:{{{Weight|}}}|{{!}}- | |||
{{!}} Weight: {{{Weight}}} blocks }} | |||
{{ #if:{{{Damage|}}}|{{!}}- | |||
{{!}} Damage: {{{Damage}}} }} | |||
{{ #if:{{{Pellets|}}}|{{!}}- | {{ #if:{{{Pellets|}}}|{{!}}- | ||
{{!}} Pellets per shot: {{{Pellets}}} }} | {{!}} Pellets per shot: {{{Pellets}}} }} |
Revision as of 14:35, 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 }}