Template:Inventory info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Experimenting (restored)) |
||
Line 7: | Line 7: | ||
|'''[[File:{{{Image}}}]]''' | |'''[[File:{{{Image}}}]]''' | ||
{{ #if:{{{Perk|}}}|{{!}}- | {{ #if:{{{Perk|}}}|{{!}}- | ||
{{!}} [[{{{Perk}}}]] }} | |||
{{ #if:{{{Cost|}}}|{{!}}- | {{ #if:{{{Cost|}}}|{{!}}- | ||
{{!}} Cost: £{{{Cost}}} }} | |||
{{ #if:{{{Weight|}}}|{{!}}- | {{ #if:{{{Weight|}}}|{{!}}- | ||
{{!}} Weight: {{{Weight}}} blocks }} | |||
{{ #if:{{{Damage|}}}|{{!}}- | {{ #if:{{{Damage|}}}|{{!}}- | ||
{{!}} Damage: {{{Damage}}} }} | |||
{{ #if:{{{Pellets|}}}|{{!}}- | {{ #if:{{{Pellets|}}}|{{!}}- | ||
{{!}} Pellets per shot: {{{Pellets}}} }} | |||
{{ #if:{{{RPM|}}}|{{!}}- | {{ #if:{{{RPM|}}}|{{!}}- | ||
{{!}} <abbr title="Round fired per minute">Rate</abbr>: {{{RPM}}} }} | |||
{{ #if:{{{Capacity|}}}|{{!}}- | {{ #if:{{{Capacity|}}}|{{!}}- | ||
{{!}} Capacity: {{{Capacity}}}}} | |||
{{ #if:{{{Magazine|}}}|{{!}}- | {{ #if:{{{Magazine|}}}|{{!}}- | ||
{{!}} Magazine: {{{Magazine}}} }} | |||
{{ #if:{{{CanSellBuy|}}}|{{!}}- | {{ #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:37, 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 }}