Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
m
m
Line 40: Line 40:
 
| data9  = {{#if:{{{engine|}}}|{{{engine}}}}}
 
| data9  = {{#if:{{{engine|}}}|{{{engine}}}}}
 
| label10  = {{#if:{{{power_kw|}}}|Power}}
 
| label10  = {{#if:{{{power_kw|}}}|Power}}
| data10  = {{#if:{{{power_kw|}}}|{{{power_kw|}}} kW ({{#expr: {{{power_kw|}}}*1.341 round 0}} bhp){{#if:{{{power_at_rpm|}}}|<br>@ {{{power_at_rpm|}}} RPM}}}}
+
| data10  = {{#if:{{{power_kw|}}}| {{convert|{{{power_kw|}}}|kw|bhp}} }}{{#if:{{{power_at_rpm|}}}|<br>@ {{{power_at_rpm|}}} RPM}}
 
| label11  = {{#if:{{{torque_nm|}}}|Torque}}
 
| label11  = {{#if:{{{torque_nm|}}}|Torque}}
| data11  = {{#if:{{{torque_nm|}}}|{{{torque_nm|}}} Nm ({{#expr: {{{torque_nm|}}}*8.851 round 0}} lbft){{#if:{{{torque_at_rpm|}}}|<br>@ {{{torque_at_rpm|}}} RPM}}}}
+
| data11  = {{#if:{{{torque_nm|}}}| {{convert|{{{torque_nm|}}}|nm|lbft}} }}{{#if:{{{torque_at_rpm|}}}|<br>@ {{{torque_at_rpm|}}} RPM}}}}
 
| label12  = {{#if:{{{powerweight_w_kg|}}}|Power/weight}}
 
| label12  = {{#if:{{{powerweight_w_kg|}}}|Power/weight}}
 
| data12  = {{#if:{{{powerweight_w_kg|}}}|{{{powerweight_w_kg|}}} W/kg {{#if:{{{powerweight_bhp_ton|}}}|({{{powerweight_bhp_ton|}}} bhp/ton)}}}}
 
| data12  = {{#if:{{{powerweight_w_kg|}}}|{{{powerweight_w_kg|}}} W/kg {{#if:{{{powerweight_bhp_ton|}}}|({{{powerweight_bhp_ton|}}} bhp/ton)}}}}

Revision as of 15:19, 9 December 2023

Template Info-Icon.png

Template documentation

View - Edit

Formula XR
FOX.png
Car image caption
Short name FOX
Drive rear-wheel drive
Class single-seater
License S2
Resemblance fictional
Introduced 0.5P
Specifications
Engine 2.0 L inline 4
Power 142 kW (190 bhp)
@ 7031 RPM
Torque 221 Nm (163 lbft)
@ 4980 RPM

| label12 = Power/weight | data12 = 290 W/kg (395 bhp/ton) | label13 = Weight distribution | data13 = 45 F 55 R | label14 = Fuel capacity | data14 = 38 L | label15 = Total mass | data15 = 490 kg (1080 lbs) | label16 = Suspension | data16 = Front: double wishbone
Rear: double wishbone | label17 = Transmission | data17 = 6-speed sequential with ignition cut

| belowstyle = background: #dedede; | below = Formula XR on LFS.net }}