Difference between revisions of "Template:Infobox building"

From Farmtown Wiki
Jump to navigation Jump to search
(Created page with "{{ infobox | above = {{{itemName}}} | image = {{{image}}} | caption = {{{caption|}}} | label1 = Type | data1 = {{{itemType}}} | label2 = Price...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
| above       = {{{itemName}}}
+
| above       = {{{itemName}}}
 
| image      = {{{image}}}
 
| image      = {{{image}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| label1      = Type
 
| label1      = Type
 
| data1      = {{{itemType}}}
 
| data1      = {{{itemType}}}
| label2      = Price
+
| label2      = [[File:DollarIcon.png|frameless|top|20px]] Price
| data2      = [[File:DollarIcon.png|frameless|top|20px]] {{{itemPrice}}}
+
| data2      = {{#if:{{{itemPrice|}}}|{{{itemPrice}}}}}
| label3     = Price (Gold Coins)
+
| label3      = [[File:GoldCoin.png|frameless|top|20px]] Price
| data3       = {{{itemPriceGoldCoins}}}
+
| data3      = {{#if:{{{itemPriceGoldCoins|}}}|{{{itemPriceGoldCoins|}}}}}
 +
| label4     = Max on Farm
 +
| data4       = {{#if:{{{buildingMaxOnFarm|}}}|{{{buildingMaxOnFarm}}}}}
 
}}
 
}}

Latest revision as of 08:09, 24 October 2020

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