Difference between revisions of "Template:Infobox car"

From Farmtown Wiki
Jump to navigation Jump to search
(Created page with "{{ infobox car | above = {{{above}}} | image = {{{image}}} | caption = {{{caption|}}} | label1 = Type | data1 = {{{type}}} | label2 = Price | d...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ infobox car
+
{{ infobox
 
| above      = {{{above}}}
 
| above      = {{{above}}}
 
| image      = {{{image}}}
 
| image      = {{{image}}}
Line 6: Line 6:
 
| 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       = {{{crates}}}
+
| data3      = {{#if:{{{price1|}}}|[[File:GoldCoin.png|frameless|top|20px]] {{{price1}}} }}
| label4     = Seats
+
| label4     = Crates
| data4       = {{{seats}}}
+
| data4       = [[File:CrateIcon.png|frameless|top|20px]] {{{crates}}}
| label5     = Speed
+
| label5     = Seats
| data5       = {{{speed}}}
+
| data5       = {{#if:{{{seats|}}}|[[File:SeatIcon.png|frameless|top|20px]] {{{seats}}} }}
| label6     = Torque
+
| label6     = Speed
| data6       = {{{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}}}