Difference between revisions of "Template:Infobox item"

From Farmtown Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
| data2      = {{#if:{{{itemSubtype|}}}|{{{itemSubtype|}}} }}
 
| data2      = {{#if:{{{itemSubtype|}}}|{{{itemSubtype|}}} }}
 
| label3      = Value
 
| label3      = Value
| data3      = [[File:DollarIcon.png|frameless|top|20px|link=Dollar]] {{{value}}}
+
| data3      = {{#if:{{{value|}}}|[[File:DollarIcon.png|frameless|top|20px|link=Dollar]] {{{value}}} }}
 
| label4      = Crate Quantity
 
| label4      = Crate Quantity
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
 
| label5      = Max Stack Size
 
| label5      = Max Stack Size
 
| data5      = {{#if:{{{itemStackSize|}}}|{{{itemStackSize|}}} }}
 
| data5      = {{#if:{{{itemStackSize|}}}|{{{itemStackSize|}}} }}
| label6      = Price
 
| data6      = {{#if:{{{itemPrice|}}}|{{{itemPrice|}}} }}
 
 
}}
 
}}

Revision as of 20:39, 3 April 2020

{{{itemName}}}
{{{image}}}
Type{{{itemType}}}