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      = [[File:DollarIcon.png|frameless|top|20px|link=Dollar]] Value
 
| label3      = [[File:DollarIcon.png|frameless|top|20px|link=Dollar]] Value
| data3      = <div style="list-style:none;column-rule:none;column-fill:balance;column-count:2;-moz-column-count:2;-webkit-column-count:2">
+
| data3      = {{#if:{{{itemBaseValue1|}}}|<div style="list-style:none;column-rule:none;column-fill:balance;column-count:2;-moz-column-count:2;-webkit-column-count:2">
 
* [[File:Quality1.png|frameless|top|20px]] {{{itemBaseValue1|}}}  
 
* [[File:Quality1.png|frameless|top|20px]] {{{itemBaseValue1|}}}  
 
* [[File:Quality2.png|frameless|top|20px]] {{{itemBaseValue2|}}}  
 
* [[File:Quality2.png|frameless|top|20px]] {{{itemBaseValue2|}}}  
Line 16: Line 16:
 
* [[File:Quality6.png|frameless|top|20px]] {{{itemBaseValue6|}}}   
 
* [[File:Quality6.png|frameless|top|20px]] {{{itemBaseValue6|}}}   
 
* [[File:Quality7.png|frameless|top|20px]] {{{itemBaseValue7|}}}
 
* [[File:Quality7.png|frameless|top|20px]] {{{itemBaseValue7|}}}
</div>
+
</div> }}
 
| label4      = Crate Quantity
 
| label4      = Crate Quantity
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
 
| data4      = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}

Revision as of 23:11, 3 April 2020

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