Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
m
(added categories of cars with abs / pit limiter)
 
(6 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
| data1  = {{{short_name|}}}
 
| data1  = {{{short_name|}}}
  
| label2  = {{#if:{{{license|}}}|License}}
+
| label2 = [[:Category:Cars by class|Class]]
| data2   = {{#if:{{{license|}}}|{{#if:{{{nocat|}}}||[[Category:{{{license|}}} cars]]}}[[:Category:{{{license|}}} cars|{{{license|}}}]]}}
+
| data2  = {{#switch:{{{class|}}}
 +
|fr={{#if:{{{nocat|}}}||[[Category:FR cars]]}}[[:Category:FR cars|FR]]
 +
|fwdgtr={{#if:{{{nocat|}}}||[[Category:FWD GTR cars]]}}[[:Category:FWD GTR cars|FWD GTR]]
 +
|gtr={{#if:{{{nocat|}}}||[[Category:GTR cars]]}}[[:Category:GTR cars|GTR]]
 +
|lrf={{#if:{{{nocat|}}}||[[Category:LRF cars]]}}[[:Category:LRF cars|LRF]]
 +
|ss={{#if:{{{nocat|}}}||[[Category:Single-seaters]]}}[[:Category:Single-seaters|single-seater]]
 +
|tbo={{#if:{{{nocat|}}}||[[Category:TBO cars]]|}}[[:Category:TBO cars|TBO]]
 +
|unclassified={{#if:{{{nocat|}}}||[[Category:Unclassified cars]]}}[[:Category:Unclassified cars|unclassified]]
 +
}}
 +
 
 +
| label3 = {{#if:{{{license|}}}|[[:Category:Cars by license|License]]}}
 +
| data3   = {{#if:{{{license|}}}|{{#if:{{{nocat|}}}||[[Category:{{{license|}}} cars]]}}[[:Category:{{{license|}}} cars|{{{license|}}}]]}}
  
| label3 = Introduced
+
| label4 = Introduced
| data3   = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}}
+
| data4   = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}}
  
| label5  = Resemblance
+
| label5  = [[:Category:Cars by resemblance to reality|Resemblance]]
 
| data5  = {{#switch:{{{resemblance|}}}
 
| data5  = {{#switch:{{{resemblance|}}}
 
|fictional={{#if:{{{nocat|}}}||[[Category:Fictional cars]]}}[[:Category:Fictional cars|fictional]]
 
|fictional={{#if:{{{nocat|}}}||[[Category:Fictional cars]]}}[[:Category:Fictional cars|fictional]]
Line 30: Line 41:
 
| header10 = Body and chassis
 
| header10 = Body and chassis
  
| label10 = Class
+
| label10  = {{#if:{{{body_style|}}}|Body style}}
| data10  = {{#switch:{{{class|}}}
+
| data10   = {{#if:{{{body_style|}}}|{{{body_style}}}}}
|fr={{#if:{{{nocat|}}}||[[Category:FR cars]]}}[[:Category:FR cars|FR]]
 
|fwdgtr={{#if:{{{nocat|}}}||[[FWD GTR cars]]}}[[:Category:FWD GTR cars|FWD GTR]]
 
|gtr={{#if:{{{nocat|}}}||[[Category:GTR cars]]}}[[:Category:GTR cars|GTR]]
 
|lrf={{#if:{{{nocat|}}}||[[Category:LRF cars]]}}[[:Category:LRF cars|LRF]]
 
|ss={{#if:{{{nocat|}}}||[[Category:Single-seaters]]}}[[:Category:Single-seaters|single-seater]]
 
|tbo={{#if:{{{nocat|}}}|[[Category:TBO cars]]|}}[[:Category:TBO cars|TBO]]
 
|unclassified={{#if:{{{nocat|}}}||[[Category:Unclassified cars]]}}[[:Category:Unclassified cars|unclassified]]
 
}}
 
 
 
| label11 = {{#if:{{{body_style|}}}|Body style}}
 
| data11   = {{#if:{{{body_style|}}}|{{{body_style}}}}}
 
  
 
| label12  = Layout
 
| label12  = Layout
Line 121: Line 121:
 
| 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|}}}|Traction control}}
+
| label51 = {{#if:{{{tc|}}}|[[:Category:Cars with traction control|Traction control]]}}
| data51  = {{#if:{{{tc|}}}|{{#ifeq:{{{tc}}}|yes|{{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 10:12, 3 April 2024

Template Info-Icon.png

Template documentation

View - Edit

Formula XR
FOX.png
Car image caption
Overview
Short name FOX
Class single-seater
License S2
Introduced 0.5P
Resemblance fictional
Body and chassis
Body style open single-seater
Layout mid-engine rear-wheel drive
Configurations config one
config two
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
Cars navigation
Previous car
Formula BMW FB02
Next car
Formula V8
Formula XR on LFS.net