Template:MPGe kWh
From Wikipedia, the free encyclopedia
This Template converts miles/kWh into MPGeUS and kWh/100 km and doesn't show the MPGeUS equivalent because there is no agreed-upon conversion number.
Usage:
- {{MPGe kWh|1/0.265|lk=on}}: 0.4 kWh/100 km
- {{MPGe kWh|1/0.265}}: 0.4 kWh/100 km
- {{MPGe kWh|1/0.265|2}}: 0.43 kWh/100 km
- {{MPGe kWh|1/0.265|p=on}}: 0.4 kWh/100 p·km
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.