Template:MPGe Diesel

From FEInfobase

Jump to: navigation, search


This Template converts mile/Diesel gallon into MPGeUS and L/100 km

It uses a factor of 0.88 for conversion.


Usage:

  • {{MPGe Diesel|10|lk=on}}: 26.7 L/100 km (9 MPGeUS)
  • {{MPGe Diesel|10}}: 26.7 L/100 km (9 MPGeUS)
  • {{MPGe Diesel|50|2}}: 5.35 L/100 km (44 MPGeUS)
  • {{MPGe Diesel|10|p=on}}: 26.7 L/100 p·km (9 p·MPGeUS)

Options:

  • The second parameter is decimal precision (default 1 decimal)
  • p=on adds p· for passenger miles
  • Make units wikilinked by attaching |lk=on.
    The manual of style suggests that you only link the first instance.
Personal tools