User:Thespaceface/ImperialFirst
Appearance
Introduction
[edit]If metric units are listed first, this script flips the words around to put imperial first.
Examples
[edit]this 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)
[edit]importScript("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
Source
[edit]see User:Thespaceface/ImperialFirst.js