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|}}}|{{!}}- {{!}} [[{{{Perk}}}]] }} | {{ #if:{{{Perk|}}}|{{!}}- | ||
{{!}} [[{{{Perk}}}]] }} | |||
{{ #if:{{{Cost|}}}|{{!}}- {{!}} Cost: £{{{Cost}}} }} | {{ #if:{{{Cost|}}}|{{!}}- {{!}} Cost: £{{{Cost}}} }} | ||
{{ #if:{{{Weight|}}}|{{!}}- {{!}} Weight: {{{Weight}}} blocks }} | {{ #if:{{{Weight|}}}|{{!}}- {{!}} Weight: {{{Weight}}} blocks }} |
Revision as of 14:36, 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 }}