Difference between revisions of "Template:Infobox car"

From Farmtown Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| above      = {{{above}}}
 
| above      = {{{above}}}
 +
| image      = {{{image}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| label1      = Type
 
| label1      = Type
 
| data1      = {{{type}}}
 
| data1      = {{{type}}}
 
| label2      = Price
 
| label2      = Price
| data2      = [[File:DollarIcon.png|frameless|top|20px]] {{{price}}}
+
| data2      = {{#if:{{{price|}}}|[[File:DollarIcon.png|frameless|top|20px]] {{{price}}} }}
| label3      = Crates
+
| label3     = Price
| data3       = [[File:CrateIcon.png|frameless|top|20px]] {{{crates}}}
+
| data3      = {{#if:{{{price1|}}}|[[File:GoldCoin.png|frameless|top|20px]] {{{price1}}} }}
| label4     = Seats
+
| label4     = Crates
| data4       = [[File:SeatIcon.png|frameless|top|20px]] {{{seats}}}
+
| data4       = [[File:CrateIcon.png|frameless|top|20px]] {{{crates}}}
| label5     = Speed
+
| label5     = Seats
| data5       = [[File:SpeedIcon.png|frameless|top|20px]] {{{speed}}}
+
| data5       = {{#if:{{{seats|}}}|[[File:SeatIcon.png|frameless|top|20px]] {{{seats}}} }}
| label6     = Torque
+
| label6     = Speed
| data6       = [[File:TorqueIcon.png|frameless|top|20px]] {{{torque}}}
+
| data6       = {{#if:{{{speed|}}}|[[File:SpeedIcon.png|frameless|top|20px]] {{{speed}}} }}
 +
| label7     = Torque
 +
| data7       = {{#if:{{{torque|}}}|[[File:TorqueIcon.png|frameless|top|20px]] {{{torque}}} }}
 
}}
 
}}

Latest revision as of 21:48, 16 December 2020

{{{above}}}
{{{image}}}
Type{{{type}}}
CratesCrateIcon.png {{{crates}}}