Difference between revisions of "Template:Infobox car"

From LFS Manual
Jump to navigationJump to search
(expr test)
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 ({{{power_bhp|}}} bhp){{#if:{{{power_at_rpm|}}}|<br>@ {{{power_at_rpm|}}} RPM}}}}
+
| data10  = {{#if:{{{power_kw|}}}|{{{power_kw|}}} kW ({{#expr: {{{power_kw|}}}*1.341 round 0}} 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 ({{{torque_lbft|}}} lbft){{#if:{{{torque_at_rpm|}}}|<br>@ {{{torque_at_rpm|}}} RPM}}}}
 
| data11  = {{#if:{{{torque_nm|}}}|{{{torque_nm|}}} Nm ({{{torque_lbft|}}} lbft){{#if:{{{torque_at_rpm|}}}|<br>@ {{{torque_at_rpm|}}} RPM}}}}

Revision as of 10:52, 8 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 ( lbft)
@ 4980 RPM
Power/weight 290 W/kg (395 bhp/ton)
Fuel capacity 38 L