Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
(add vehicle type category)
(kerb weight -> dry weight)
 
(16 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
|saloon={{#if:{{{nocat|}}}||[[Category:Saloon cars]]}}[[:Category:Saloon cars|saloon]]
 
|saloon={{#if:{{{nocat|}}}||[[Category:Saloon cars]]}}[[:Category:Saloon cars|saloon]]
 
|buggy={{#if:{{{nocat|}}}||[[Category:Buggy cars]]}}[[:Category:Buggy cars|buggy]]
 
|buggy={{#if:{{{nocat|}}}||[[Category:Buggy cars]]}}[[:Category:Buggy cars|buggy]]
|formula={{#if:{{{nocat|}}}||[[Category:Formulas]]}}[[:Category:Formulas|formula]]
+
|formula={{#if:{{{nocat|}}}||[[Category:Formula cars]]}}[[:Category:Formula cars|formula]]
 
|gt={{#if:{{{nocat|}}}||[[Category:GT cars]]|}}[[:Category:GT cars|GT]]
 
|gt={{#if:{{{nocat|}}}||[[Category:GT cars]]|}}[[:Category:GT cars|GT]]
 
|kart={{#if:{{{nocat|}}}||[[Category:Karts]]}}[[:Category:Karts|kart]]
 
|kart={{#if:{{{nocat|}}}||[[Category:Karts]]}}[[:Category:Karts|kart]]
Line 28: Line 28:
 
|truck={{#if:{{{nocat|}}}||[[Category:Trucks]]}}[[:Category:Trucks|truck]]
 
|truck={{#if:{{{nocat|}}}||[[Category:Trucks]]}}[[:Category:Trucks|truck]]
 
|f1={{#if:{{{nocat|}}}||[[Category:F1 cars]]}}[[:Category:F1 cars|{{abbr|F1|Formula 1}}]]
 
|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}}]]
+
|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]]
 
|bus={{#if:{{{nocat|}}}||[[Category:Buses]]}}[[:Category:Buses|bus]]
 
|prototype={{#if:{{{nocat|}}}||[[Category:Prototype cars]]}}[[:Category:Prototype cars|prototype]]
 
|prototype={{#if:{{{nocat|}}}||[[Category:Prototype cars]]}}[[:Category:Prototype cars|prototype]]
Line 35: Line 35:
 
| label3  = [[:Category:Cars by class|Class]]
 
| label3  = [[:Category:Cars by class|Class]]
 
| data3  = {{#switch:{{{class|}}}
 
| data3  = {{#switch:{{{class|}}}
|gti={{#if:{{{nocat|}}}||[[Category:GTi cars]]}}[[:Category:GTi cars|GTi]]
+
|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 48: Line 48:
  
 
| label5  = Introduced
 
| label5  = Introduced
| data5  = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}}
+
| data5  = {{#ifeq:{{{introduced|}}}|never|?[[Category:Unreleased cars]]|{{LFS version|{{{introduced}}}}}}}
  
 
| label6  = Last updated
 
| label6  = Last updated
Line 61: Line 61:
 
| label8  = {{#if:{{{designer|}}}|[[:Category:Cars by designer|Designer]]}}
 
| label8  = {{#if:{{{designer|}}}|[[:Category:Cars by designer|Designer]]}}
 
| data8  = {{{designer|}}}
 
| data8  = {{{designer|}}}
 +
 +
| label9 = {{#if:{{{related|}}}|Related}}
 +
| data9  = {{#if:{{{related|}}}|{{{related|}}}}}
  
  
Line 82: Line 85:
 
| 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}}}}}}}
 
| 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}}
+
| label14 = {{#if:{{{default_setups|}}}|Default setups}}
| data14  = {{#if:{{{configs|}}}|{{{configs}}}}}
+
| data14  = {{#if:{{{default_setups|}}}|{{{default_setups}}}}}
  
| label15 = {{#if:{{{seats|}}}|Seats}}
+
| label15 = {{#if:{{{configs|}}}|Configurations}}
| data15  = {{#if:{{{seats|}}}|{{{seats|}}}}}
+
| data15  = {{#if:{{{configs|}}}|{{{configs}}}}}
  
| label16 = {{#if:{{{driver_position|}}}|Driver position}}
+
| label16 = {{#if:{{{seats|}}}|Seats}}
| data16  = {{#if:{{{driver_position|}}}|{{{driver_position|}}}}}
+
| data16  = {{#if:{{{seats|}}}|{{{seats|}}}}}
  
| label17 = {{#if:{{{related|}}}|Related}}
+
| label17 = {{#if:{{{driver_position|}}}|Driver position}}
| data17  = {{#if:{{{related|}}}|{{{related|}}}}}
+
| data17  = {{#if:{{{driver_position|}}}|{{{driver_position|}}}}}
  
  
Line 121: Line 124:
 
| data31  = {{#if:{{{tyres|}}}|{{{tyres}}}}}
 
| data31  = {{#if:{{{tyres|}}}|{{{tyres}}}}}
  
| label32 = {{#if:{{{steering_rotation|}}}|Steering wheel rotation}}
+
| label32 = {{#if:{{{tyre_spec_front|}}}|Tyre specification}}
| data32 = {{#if:{{{steering_rotation|}}}|{{{steering_rotation}}}° ({{#expr: {{{steering_rotation}}} / 360 round 1}} turns)}}
+
| data32  = {{#if:{{{tyre_spec_front|}}}|Front: {{{tyre_spec_front|}}}}}{{#if:{{{tyre_spec_rear|}}}|<br>Rear: {{{tyre_spec_rear|}}}}}
 +
 
 +
| label33 = {{#if:{{{steering_rotation|}}}|Steering wheel rotation}}
 +
| data33 = {{#if:{{{steering_rotation|}}}|{{{steering_rotation}}}° ({{#expr: {{{steering_rotation}}} / 360 round 1}} turns)}}
 +
 
 +
| label34 = {{#if:{{{maximum_lock|}}}|Maximum lock}}
 +
| data34  = {{#if:{{{maximum_lock|}}}|{{{maximum_lock}}}°}}
 +
 
 +
| label35 = {{#if:{{{maximum_lock|}}}|{{#if:{{{steering_rotation|}}}|Steering ratio}}}}
 +
| data35  = {{#if:{{{maximum_lock|}}}|{{#if:{{{steering_rotation|}}}| {{#expr: {{{steering_rotation}}} / 2 / {{{maximum_lock}}} round 1}} : 1 }}}}
  
  
Line 139: Line 151:
 
| data43  = {{#if:{{{height_mm|}}}|{{{height_mm}}} mm ({{#expr: {{{height_mm|}}}*0.0393700787 round 1}} in)}}
 
| data43  = {{#if:{{{height_mm|}}}|{{{height_mm}}} mm ({{#expr: {{{height_mm|}}}*0.0393700787 round 1}} in)}}
  
| label44  = {{#if:{{{total_mass_kg|}}}|Kerb weight}}
+
| label44  = {{#if:{{{total_mass_kg|}}}|{{abbr|Dry weight|total weight of a vehicle without any fluids, passengers, or cargo}}}}
 
| data44  = {{#if:{{{total_mass_kg|}}}|{{{total_mass_kg}}} kg ({{#expr: {{{total_mass_kg|}}}*2.20462 round 0}} lbs)}}
 
| data44  = {{#if:{{{total_mass_kg|}}}|{{{total_mass_kg}}} kg ({{#expr: {{{total_mass_kg|}}}*2.20462 round 0}} lbs)}}
  
Line 159: Line 171:
 
| label52 = {{#if:{{{pit_limiter|}}}|[[:Category:Cars with pit speed 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|{{#if:{{{nocat|}}}||[[Category:Cars with pit speed limiter]]}}{{Yes check}}|{{No mark}}}}}}
 
| data52  = {{#if:{{{pit_limiter|}}}|{{#ifeq:{{{pit_limiter}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with pit speed limiter]]}}{{Yes check}}|{{No mark}}}}}}
 +
 +
| label53 = {{#if:{{{horn|}}}|[[:Category:Cars with horn|Horn]]}}
 +
| data53  = {{#if:{{{horn|}}}|{{#ifeq:{{{horn}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with horn]]}}{{Yes check}}|{{No mark}}}}}}
 +
 +
| label54 = {{#if:{{{handbrake|}}}|[[:Category:Cars with handbrake|Handbrake]]}}
 +
| data54  = {{#if:{{{handbrake|}}}|{{#ifeq:{{{handbrake}}}|yes|{{#if:{{{nocat|}}}||[[Category:Cars with handbrake]]}}{{Yes check}}|{{No mark}}}}}}
 +
 +
 +
| header60 = {{#if:{{{lod1_tris|}}}|3D model}}
 +
 +
| label60 = {{#if:{{{lod1_tris|}}}|Triangles}}
 +
| data60  = {{#if:{{{lod1_tris|}}}|LOD1: {{{lod1_tris}}}}}{{#if:{{{lod2_tris|}}}|<br>LOD2: {{{lod2_tris}}}}}{{#if:{{{lod3_tris|}}}|<br>LOD3: {{{lod3_tris}}}}}
 +
 +
| label61 = {{#if:{{{lod1_tris|}}}|Points}}
 +
| data61  = {{#if:{{{lod1_pts|}}}|LOD1: {{{lod1_pts}}}}}{{#if:{{{lod2_pts|}}}|<br>LOD2: {{{lod2_pts}}}}}{{#if:{{{lod3_pts|}}}|<br>LOD3: {{{lod3_pts}}}}}
  
 
| header90 = {{#if:{{{prev|}}}{{{next|}}}|Cars navigation}}
 
| header90 = {{#if:{{{prev|}}}{{{next|}}}|Cars navigation}}

Latest revision as of 13:59, 6 April 2025

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
Related Formula BMW FB02
Body and chassis
Body style open single-seater
Layout mid-engine rear-wheel drive
Default colours
Default setups hard track
rallycross
Configurations config one
config two
Seats 1
Driver position central
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
Tyre specification Front: 225/50 R13
Rear: 285/45 R13
Steering wheel rotation 900° (2.5 turns)
Maximum lock 30°
Steering ratio 15 : 1
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)
Dry 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
Horn  No
Handbrake  No
3D model
Triangles LOD1: 65536
LOD2: 8192
LOD3: 42
Points LOD1: 65536
LOD2: 12288
LOD3: 24
Cars navigation
Previous car
Formula BMW FB02
Next car
Formula V8
Formula XR on LFS.net