General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Difference between revisions of "Template:Mpg (Imperial)"

From My wiki
Jump to navigation Jump to search
(Initial Template, copy of W:Template:Mpg (Imperial)W:)
 
(No difference)

Latest revision as of 11:40, 15 January 2008

Template to convert fuel mileage from mpg (Imperial) into Litres per 100 km and mpg (U.S.) and display all three via:

{{{1}}} –imp {{#expr: ( 1 / {{{1}}} * 100 ) * 4.54609188 / 1.609344 round 2}} L/100 km / {{#expr:{{{1}}}* 0.8326000 round 1}} mpg–U.S.)

Useage:

  • {{mpg (Imperial)|45}} results in 45 mpg–imp (6.28 L/100 km / 37.5 mpg–U.S.)
  • {{mpg (Imperial)|45|lk=on}} results in 45 mpg–imp (6.28 L/100 km / 37.5 mpg–U.S.)

Options:

See also: