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      = {{#if:{{{value|}}}|[[File:DollarIcon.png|frameless|top|20px|link=Dollar]] {{#expr: {{formatnum:value}}*1.5 }} }}
+
| data3      = {{#if:{{{itemBaseValue|}}}|[[File:DollarIcon.png|frameless|top|20px|link=Dollar]] {{#expr: {{formatnum:itemBaseValue}}*1.5 }} }}
 
| label4      = Crate Quantity
 
| label4      = Crate Quantity
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}

Revision as of 20:43, 3 April 2020

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