Introduction
editIf metric units are listed first, this script flips the words around to put imperial first.
Examples
editthis script turns
- 89 kilometres (55 mi)
- 89 km (55 mi)
- 89 km[1] (55 mi)
into (respectively)
- 55 miles (89 km)
- 55 mi (89 km)
- 55 mi[1] (89 km)
Installation (English Wikipedia)
editimportScript("User:Thespaceface/ImperialFirst.js");
Notes
edit- This script is not complete
- This script only works when both units are listed
- Numbers have to be written as digits