Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
(test automatic categorisation)
(test automatic categorisation)
Line 16: Line 16:
  
 
| label2  = {{#if:{{{license|}}}|License}}
 
| label2  = {{#if:{{{license|}}}|License}}
| data2  = {{#if:{{{license|}}}|[[Category:{{{license|}}} cars|{{{license|}}}]]}}
+
| data2  = {{#if:{{{license|}}}|{{#if:{{{nocat|}}}||[[Category:{{{license|}}} cars]]}}[[:Category:{{{license|}}} cars|{{{license|}}}]]}}
  
 
| label3  = Introduced
 
| label3  = Introduced
Line 23: Line 23:
 
| label5  = Resemblance
 
| label5  = Resemblance
 
| data5  = {{#switch:{{{resemblance|}}}
 
| data5  = {{#switch:{{{resemblance|}}}
|fictional=[[Category:Fictional cars|fictional]]
+
|fictional={{#if:{{{nocat|}}}||[[Category:Fictional cars]]}}[[:Category:Fictional cars|fictional]]
|real=[[Category:Real cars|real]]
+
|real={{#if:{{{nocat|}}}||[[Category:Real cars]]}}[[:Category:Real cars|real]]
 
}}
 
}}
  
Line 32: Line 32:
 
| label10  = Class
 
| label10  = Class
 
| data10  = {{#switch:{{{class|}}}
 
| data10  = {{#switch:{{{class|}}}
|fr=[[Category:FR cars|FR]]
+
|fr={{#if:{{{nocat|}}}||[[Category:FR cars]]}}[[:Category:FR cars|FR]]
|fwdgtr=[[Category:FWD GTR cars|FWD GTR]]
+
|fwdgtr={{#if:{{{nocat|}}}||[[FWD GTR cars]]}}[[:Category:FWD GTR cars|FWD GTR]]
|gtr=[[Category:GTR cars|GTR]]
+
|gtr={{#if:{{{nocat|}}}||[[Category:GTR cars]]}}[[:Category:GTR cars|GTR]]
|lrf=[[Category:LRF cars|LRF]]
+
|lrf={{#if:{{{nocat|}}}||[[Category:LRF cars]]}}[[:Category:LRF cars|LRF]]
|ss=[[Category:Single-seaters|single-seater]]
+
|ss={{#if:{{{nocat|}}}||[[Category:Single-seaters]]}}[[:Category:Single-seaters|single-seater]]
|tbo=[[Category:TBO cars|TBO]]
+
|tbo={{#if:{{{nocat|}}}|[Category:TBO cars]]|}}[[:Category:TBO cars|TBO]]
|unclassified=[[Category:Unclassified cars|unclassified]]
+
|unclassified={{#if:{{{nocat|}}}||[[Category:Unclassified cars]]}}[[:Category:Unclassified cars|unclassified]]
 
}}
 
}}
  
Line 46: Line 46:
 
| label12  = Layout
 
| label12  = Layout
 
| data12  = {{#switch:{{{engine_placement|}}}
 
| data12  = {{#switch:{{{engine_placement|}}}
|front=[[Category:Front-engined cars|front-engine]]
+
|front={{#if:{{{nocat|}}}||[[Category:Front-engined cars]]}}[[:Category:Front-engined cars|front-engine]]
|rear=[[Category:Rear-engined cars|rear-engine]]
+
|rear={{#if:{{{nocat|}}}||[[Category:Rear-engined cars]]}}[[:Category:Rear-engined cars|rear-engine]]
|mid=[[Category:Mid-engined cars|mid-engine]]}} {{#switch:{{{drive|}}}
+
|mid={{#if:{{{nocat|}}}||[[Category:Mid-engined cars]]}}[[:Category:Mid-engined cars|mid-engine]]
|front=[[Category:Front-wheel drive cars|front-wheel drive]]
+
}} {{#switch:{{{drive|}}}
|rear=[[Category:Rear-wheel drive cars|rear-wheel drive]]
+
|front={{#if:{{{nocat|}}}||[[Category:Front-wheel drive cars]]}} [[:Category:Front-wheel drive cars|front-wheel drive]]
|all=[[Category:All-wheel drive cars|all-wheel drive]]
+
|rear={{#if:{{{nocat|}}}||[[Category:Rear-wheel drive cars]]}} [[:Category:Rear-wheel drive cars|rear-wheel drive]]
 +
|all={{#if:{{{nocat|}}}||[[Category:All-wheel drive cars]]}} [[:Category:All-wheel drive cars|all-wheel drive]]
 
}}
 
}}
  

Revision as of 19:19, 27 January 2024

Template Info-Icon.png

Template documentation

View - Edit

Formula XR
FOX.png
Car image caption
Overview
Short name FOX
License S2
Introduced 0.5P
Resemblance fictional
Body and chassis
Class single-seater
Body style open single-seater
Layout mid-engine rear-wheel drive
Seats 1
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
Formula XR on LFS.net