Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
m
(GTi -> STD class)
 
(18 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
| data1  = {{{short_name|}}}
 
| data1  = {{{short_name|}}}
  
| label2  = [[:Category:Cars by class|Class]]
+
| label2 = [[:Category:Cars by vehicle type|Vehicle type]]
| data2   = {{#switch:{{{class|}}}
+
| data2  = {{#switch:{{{vehicle_type|}}}
|fr={{#if:{{{nocat|}}}||[[Category:FR cars]]}}[[:Category:FR cars|FR]]
+
|object={{#if:{{{nocat|}}}||[[Category:Objects]]}}[[:Category:Objects|object]]
 +
|touring={{#if:{{{nocat|}}}||[[Category:Touring cars]]}}[[:Category:Touring cars|touring car]]
 +
|saloon={{#if:{{{nocat|}}}||[[Category:Saloon cars]]}}[[:Category:Saloon cars|saloon]]
 +
|buggy={{#if:{{{nocat|}}}||[[Category:Buggy cars]]}}[[:Category:Buggy cars|buggy]]
 +
|formula={{#if:{{{nocat|}}}||[[Category:Formula cars]]}}[[:Category:Formula cars|formula]]
 +
|gt={{#if:{{{nocat|}}}||[[Category:GT cars]]|}}[[:Category:GT cars|GT]]
 +
|kart={{#if:{{{nocat|}}}||[[Category:Karts]]}}[[:Category:Karts|kart]]
 +
|bike={{#if:{{{nocat|}}}||[[Category:Bikes]]}}[[:Category:Bikes|bike]]
 +
|van={{#if:{{{nocat|}}}||[[Category:Vans]]}}[[:Category:Vans|van]]
 +
|truck={{#if:{{{nocat|}}}||[[Category:Trucks]]}}[[:Category:Trucks|truck]]
 +
|f1={{#if:{{{nocat|}}}||[[Category:F1 cars]]}}[[:Category:F1 cars|{{abbr|F1|Formula 1}}]]
 +
|fsae={{#if:{{{nocat|}}}||[[Category:FSAE cars]]}}[[:Category:FSAE cars|{{abbr|FSAE|Formula SAE student design competition car}}]]
 +
|bus={{#if:{{{nocat|}}}||[[Category:Buses]]}}[[:Category:Buses|bus]]
 +
|prototype={{#if:{{{nocat|}}}||[[Category:Prototype cars]]}}[[:Category:Prototype cars|prototype]]
 +
}}
 +
 
 +
| label3 = [[:Category:Cars by class|Class]]
 +
| data3   = {{#switch:{{{class|}}}
 +
|std={{#if:{{{nocat|}}}||[[Category:STD cars]]}}[[:Category:STD cars|STD]]
 
|fwdgtr={{#if:{{{nocat|}}}||[[Category:FWD GTR cars]]}}[[:Category:FWD GTR cars|FWD GTR]]
 
|fwdgtr={{#if:{{{nocat|}}}||[[Category:FWD GTR cars]]}}[[:Category:FWD GTR cars|FWD GTR]]
 
|gtr={{#if:{{{nocat|}}}||[[Category:GTR cars]]}}[[:Category:GTR cars|GTR]]
 
|gtr={{#if:{{{nocat|}}}||[[Category:GTR cars]]}}[[:Category:GTR cars|GTR]]
Line 26: Line 44:
 
}}
 
}}
  
| label3 = {{#if:{{{license|}}}|[[:Category:Cars by license|License]]}}
+
| label4 = {{#if:{{{license|}}}|[[:Category:Cars by license|License]]}}
| data3   = {{#if:{{{license|}}}|{{#if:{{{nocat|}}}||[[Category:{{{license|}}} cars]]}}[[:Category:{{{license|}}} cars|{{{license|}}}]]}}
+
| data4   = {{#if:{{{license|}}}|{{#if:{{{nocat|}}}||[[Category:{{{license|}}} cars]]}}[[:Category:{{{license|}}} cars|{{{license|}}}]]}}
 +
 
 +
| label5  = Introduced
 +
| data5  = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}}
  
| label4 = Introduced
+
| label6 = Last updated
| data4   = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}}
+
| data6   = {{#if:{{{last_updated|}}}|{{LFS version|{{{last_updated}}}}}}}
  
| label5 = [[:Category:Cars by resemblance to reality|Resemblance]]
+
| label7 = [[:Category:Cars by resemblance to reality|Resemblance]]
| data5   = {{#switch:{{{resemblance|}}}
+
| data7   = {{#switch:{{{resemblance|}}}
 
|fictional={{#if:{{{nocat|}}}||[[Category:Fictional cars]]}}[[:Category:Fictional cars|fictional]]
 
|fictional={{#if:{{{nocat|}}}||[[Category:Fictional cars]]}}[[:Category:Fictional cars|fictional]]
 
|real={{#if:{{{nocat|}}}||[[Category:Real cars]]}}[[:Category:Real cars|real]]
 
|real={{#if:{{{nocat|}}}||[[Category:Real cars]]}}[[:Category:Real cars|real]]
 
}}
 
}}
 +
 +
| label8  = {{#if:{{{designer|}}}|[[:Category:Cars by designer|Designer]]}}
 +
| data8  = {{{designer|}}}
  
  
Line 55: Line 79:
 
}}
 
}}
  
| label13 = {{#if:{{{configs|}}}|Configurations}}
+
| label13 = {{#if:{{{default_color1|}}}|Default colours}}
| data13 = {{#if:{{{configs|}}}|{{{configs}}}}}
+
| data13  = {{#if:{{{default_color1|}}}|{{color|{{{default_color1}}}|{{{default_color1b}}}}}}} {{#if:{{{default_color2|}}}|{{color|{{{default_color2}}}|{{{default_color2b}}}}}}} {{#if:{{{default_color3|}}}|{{color|{{{default_color3}}}|{{{default_color3b}}}}}}} {{#if:{{{default_color4|}}}|{{color|{{{default_color4}}}|{{{default_color4b}}}}}}} {{#if:{{{default_color5|}}}|{{color|{{{default_color5}}}|{{{default_color5b}}}}}}} {{#if:{{{default_color6|}}}|{{color|{{{default_color6}}}|{{{default_color6b}}}}}}} {{#if:{{{default_color7|}}}|{{color|{{{default_color7}}}|{{{default_color7b}}}}}}} {{#if:{{{default_color8|}}}|{{color|{{{default_color8}}}|{{{default_color8b}}}}}}} {{#if:{{{default_color9|}}}|{{color|{{{default_color9}}}|{{{default_color9b}}}}}}}
 +
 
 +
| label14 = {{#if:{{{configs|}}}|Configurations}}
 +
| data14 = {{#if:{{{configs|}}}|{{{configs}}}}}
 +
 
 +
| label15 = {{#if:{{{seats|}}}|Seats}}
 +
| data15  = {{#if:{{{seats|}}}|{{{seats|}}}}}
  
| label14 = {{#if:{{{seats|}}}|Seats}}
+
| label16 = {{#if:{{{driver_position|}}}|Driver position}}
| data14 = {{#if:{{{seats|}}}|{{{seats|}}}}}
+
| data16 = {{#if:{{{driver_position|}}}|{{{driver_position|}}}}}
  
| label15 = {{#if:{{{related|}}}|Related}}
+
| label17 = {{#if:{{{related|}}}|Related}}
| data15 = {{#if:{{{related|}}}|{{{related|}}}}}
+
| data17 = {{#if:{{{related|}}}|{{{related|}}}}}
  
  
Line 121: Line 151:
 
| header50 = Features
 
| header50 = Features
  
| label50 = {{#if:{{{abs|}}}|ABS}}
+
| label50 = {{#if:{{{abs|}}}|[[:Category:Cars with ABS|ABS]]}}
| data50  = {{#if:{{{abs|}}}|{{#ifeq:{{{abs}}}|yes|{{Yes check}}|{{No mark}}}}}}
+
| data50  = {{#if:{{{abs|}}}|{{#ifeq:{{{abs}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with ABS]]}}{{Yes check}}|{{No mark}}}}}}
  
 
| label51 = {{#if:{{{tc|}}}|[[:Category:Cars with traction control|Traction control]]}}
 
| label51 = {{#if:{{{tc|}}}|[[:Category:Cars with traction control|Traction control]]}}
 
| data51  = {{#if:{{{tc|}}}|{{#ifeq:{{{tc}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with traction control]]}}{{Yes check}}|{{No mark}}}}}}
 
| data51  = {{#if:{{{tc|}}}|{{#ifeq:{{{tc}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with traction control]]}}{{Yes check}}|{{No mark}}}}}}
  
| label52 = {{#if:{{{pit_limiter|}}}|Pit speed limiter}}
+
| label52 = {{#if:{{{pit_limiter|}}}|[[:Category:Cars with pit speed limiter|Pit speed limiter]]}}
| data52  = {{#if:{{{pit_limiter|}}}|{{#ifeq:{{{pit_limiter}}}|yes|{{Yes check}}|{{No mark}}}}}}
+
| data52  = {{#if:{{{pit_limiter|}}}|{{#ifeq:{{{pit_limiter}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with pit speed limiter]]}}{{Yes check}}|{{No mark}}}}}}
  
 
| header90 = {{#if:{{{prev|}}}{{{next|}}}|Cars navigation}}
 
| header90 = {{#if:{{{prev|}}}{{{next|}}}|Cars navigation}}

Latest revision as of 17:43, 29 July 2024

Template Info-Icon.png

Template documentation

View - Edit

Formula XR
FOX.png
Car image caption
Overview
Short name FOX
Vehicle type formula
Class single-seater
License S2
Introduced 0.5P
Last updated 0.6C
Resemblance fictional
Designer Eric Bailey
Body and chassis
Body style open single-seater
Layout mid-engine rear-wheel drive
Default colours
Configurations config one
config two
Seats 1
Driver position central
Related Formula BMW FB02
Powertrain
Engine 2.0 L inline 4
Power 142 kW (190 bhp)
@ 7031 RPM
Torque 221 Nm (163 lbft)
@ 4980 RPM
Power/weight 290 W/kg (395 bhp/ton)
Transmission 6-speed sequential with ignition cut
Suspension and wheels
Suspension Front: double wishbone
Rear: double wishbone
Tyre compounds slick R1
slick R2
slick R3
slick R4
Steering wheel rotation 900° (2.5 turns)
Dimensions
Wheelbase 3500 mm (137.8 in)
Length 4000 mm (157.5 in)
Width 1823 mm (71.8 in)
Height 1134 mm (44.6 in)
Kerb weight 490 kg (1080 lbs)
Weight distribution 45 F 55 R
Fuel capacity 38 L
Features
ABS  Yes
Traction control  No
Pit speed limiter  Yes
Cars navigation
Previous car
Formula BMW FB02
Next car
Formula V8
Formula XR on LFS.net