Difference between revisions of "Template:Infobox building"

From Farmtown Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
| data1      = {{{itemType}}}
 
| data1      = {{{itemType}}}
 
| label2      = Price
 
| label2      = Price
| data2      = [[File:DollarIcon.png|frameless|top|20px]] {{{itemPrice}}}
+
| data2      = {{#if:{{{itemPrice|}}}|[[File:DollarIcon.png|frameless|top|20px]] {{{itemPrice}}}}}
 
| label3      = Price (Gold Coins)
 
| label3      = Price (Gold Coins)
| data3      = [[File:GoldCoinIcon.png|frameless|top|20px]] {{{itemPriceGoldCoins}}}
+
| data3      = {{#if:{{{itemPriceGoldCoins|}}}|[[File:GoldCoinIcon.png|frameless|top|20px]] {{{itemPriceGoldCoins}}}}}
 
}}
 
}}

Revision as of 23:12, 3 April 2020

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