This page you are viewing is part of the SEVA Wiki Archive, Please visit the new Official Website!
NOTICE: Visit the Maillist page for help joining the new google groups email list, the old maillist is no more.
SEVA meetings are held every second Tuesday.


Difference between revisions of "Template:L100km"

From SeattleEVA
Jump to navigation Jump to search
(Initial conversion template, will work once I get ''math'' installed)
 
m
Line 1: Line 1:
<includeonly>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</includeonly>
+
<includeonly>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</includeonly><noinclude>
<noinclude>
 
 
Template to convert fuel mileage form Liters per 100km into US mpg and display both
 
Template to convert fuel mileage form Liters per 100km into US mpg and display both
 
:<nowiki>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</nowiki>
 
:<nowiki>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</nowiki>

Revision as of 11:01, 3 June 2007

Template to convert fuel mileage form Liters per 100km into US mpg and display both

{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)

Useage:

  • {{L100km|5.2}} results in 5.2 L/100 km (45 mpg)

See also: