Difference between revisions of "Template:Infobox item"

From Farmtown Wiki
Jump to navigation Jump to search
 
(32 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
| label2      = Subtype
 
| label2      = Subtype
 
| data2      = {{#if:{{{itemSubtype|}}}|{{{itemSubtype|}}} }}
 
| data2      = {{#if:{{{itemSubtype|}}}|{{{itemSubtype|}}} }}
| label3      = Value
+
| label3      = Best Season
| data3      = {{#if:{{{itemBaseValue|}}}|[[File:DollarIcon.png|frameless|top|20px|link=Dollar]] {{#expr: {{formatnum:{{{itemBaseValue|}}}|R}} * 1.5 }} }}
+
| data3      = {{#if:{{{bestSeason|}}}|{{{bestSeason|}}} }}
| label4     = Crate Quantity
+
| label4      = Required Level
| data4       = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
+
| data4      = {{#if:{{{requiredLevel|}}}|{{{requiredLevel|}}} }}
| label5     = Max Stack Size
+
| label5      = [[File:DollarIcon.png|frameless|top|20px|link=Dollar]] Value
| data5       = {{#if:{{{itemStackSize|}}}|{{{itemStackSize|}}} }}
+
| data5      = {{#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:Quality2.png|frameless|top|20px]] {{{itemBaseValue2|}}}
 +
* [[File:Quality3.png|frameless|top|20px]] {{{itemBaseValue3|}}}
 +
* [[File:Quality4.png|frameless|top|20px]] {{{itemBaseValue4|}}}  
 +
* [[File:Quality5.png|frameless|top|20px]] {{{itemBaseValue5|}}}  
 +
* [[File:Quality6.png|frameless|top|20px]] {{{itemBaseValue6|}}} 
 +
* [[File:Quality7.png|frameless|top|20px]] {{{itemBaseValue7|}}}
 +
</div> }}
 +
| label6     = Crate Quantity
 +
| data6       = {{#if:{{{itemCrateQuantity|}}}|{{{itemCrateQuantity|}}} }}
 +
| label7     = Max Stack Size
 +
| data7       = {{#if:{{{itemStackSize|}}}|{{{itemStackSize|}}} }}
 +
| label8      = [[File:DollarIcon.png|frameless|top|20px|link=Dollar]] Price
 +
| data8      = {{#if:{{{itemPrice|}}}|{{{itemPrice|}}}}}
 +
| label9      = [[File:GoldCoin.png|frameless|top|20px]] Price
 +
| data9      = {{#if:{{{itemPriceGoldCoins|}}}|{{{itemPriceGoldCoins|}}}}}
 +
| label10      = Colors
 +
| data10      = {{#if:{{{itemColor1|}}}|<div style="list-style:none;column-rule:none;column-fill:balance;column-count:2;-moz-column-count:2;-webkit-column-count:2">
 +
* {{{itemColor1|}}}
 +
* {{{itemColor2|}}}
 +
* {{{itemColor3|}}}
 +
</div> }}
 
}}
 
}}

Latest revision as of 15:12, 17 October 2020

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