Template:Unit length range
From Wikipedia, the free encyclopedia
This template displays length (or height) range (minimum and maximum) measurement units used within various Category:Geobox templates, automatically converting between metric/imperial values. The input must be unformatted numeric values (i.e. without commas, the commas are automatically added to output).
It can display and convert following units:
- m to ft (metres to feet) and vice-versa
- km to mi (kilometres to miles) and vice-versa
- mm to in (milimetres to inches) and vice-versa
The template has 4 unnamed parameters: {{Unit area| unit| min| max| round}}. Their meaning is as follows:
- unit … unit (
m, ft, km, mi, mm, in
), which will be displayed first; if left empty,m
is assumed - min, max … numerical values
- round … number of decimal digits (negative numbers can be used for rounded figures); if not specified 0 is assumed
For examples see discussion.