Template:Infobox settlement/lengthdisp

50px Template documentation[view] [edit] [history] [purge]

This subtemplate of {{Infobox settlement}} displays length (e.g. elevation) values.

Usage

{{Infobox settlement/lengthdisp
| km  = length in kilometres
| mi  = length in miles
| m   = length in metres
| ft  = length in feet
| pref  = preference to display km or mi (via unit_pref)
| name  = name of country (via subdivision_name)
}}

Examples: kilometre (km)

{{Infobox settlement/lengthdisp|km=N}}

Input Output   Input Output
km= Precision Conversion
(mi.)
Order of
magnitude
Template
output
  km= Precision Conversion
(mi.)
Order of
magnitude
Template
output
10000 -4 6,213.7 3 Template:Infobox settlement/metric   22222 0 13,808.1 4 Template:Infobox settlement/metric
1000 -3 621.4 2 Template:Infobox settlement/metric   2222 0 1380.7 3 Template:Infobox settlement/metric
100 -2 62.1 1 Template:Infobox settlement/metric   222 0 137.9 2 Template:Infobox settlement/metric
10 -1 6.21 0 Template:Infobox settlement/metric   22 0 13.7 1 Template:Infobox settlement/metric
1 0 0.621 -1 Template:Infobox settlement/metric   2 0 1.24 0 Template:Infobox settlement/metric
0.1 1 0.0621 -2 Template:Infobox settlement/metric   0.2 1 0.124 -1 Template:Infobox settlement/metric
0.01 2 0.00621 -3 Template:Infobox settlement/metric   0.22 2 0.1367 -1 Template:Infobox settlement/metric
0.001 3 0.000621 -4 Template:Infobox settlement/metric   0.222 3 0.13794 -1 Template:Infobox settlement/metric
0.0001 4 6.21E-5 -5 Template:Infobox settlement/metric   0.2222 4 0.138069 -1 Template:Infobox settlement/metric

Examples: mile (mi)

{{Infobox settlement/lengthdisp|pref=UK|mi=N}}

Input Output   Input Output
mi= Precision Conversion
(km)
Order of
magnitude
Template
output
  mi= Precision Conversion
(km)
Order of
magnitude
Template
output
10000 -4 16,093.4 4 Template:Infobox settlement/impus   22222 0 35,762.8 4 Template:Infobox settlement/impus
1000 -3 1,609.34 3 Template:Infobox settlement/impus   2222 0 3,575.96 3 Template:Infobox settlement/impus
100 -2 160.93 2 Template:Infobox settlement/impus   222 0 357.27 2 Template:Infobox settlement/impus
10 -1 16.09 1 Template:Infobox settlement/impus   22 0 35.41 1 Template:Infobox settlement/impus
1 0 1.61 0 Template:Infobox settlement/impus   2 0 3.22 0 Template:Infobox settlement/impus
0.1 1 0.161 -1 Template:Infobox settlement/impus   0.2 1 0.322 -1 Template:Infobox settlement/impus
0.01 2 0.0161 -2 Template:Infobox settlement/impus   0.22 2 0.3541 -1 Template:Infobox settlement/impus
0.001 3 0.00161 -3 Template:Infobox settlement/impus   0.222 3 0.35727 -1 Template:Infobox settlement/impus
0.0001 4 0.000161 -4 Template:Infobox settlement/impus   0.2222 4 0.357596 -1 Template:Infobox settlement/impus
0.00001 5 1.61E-5 -5 Template:Infobox settlement/impus   0.22222 5 0.357628 -1 Template:Infobox settlement/impus

Examples: metre (m)

{{Infobox settlement/lengthdisp|m=N}}

Input Output   Input Output
m= Precision Conversion
(ft)
Order of
magnitude
Template
output
  m= Precision Conversion
(ft)
Order of
magnitude
Template
output
10000 -4 32808.4 4 Template:Infobox settlement/metric   22222 0 72906.8 4 Template:Infobox settlement/metric
1000 -3 3280.8 3 Template:Infobox settlement/metric   2222 0 7290 3 Template:Infobox settlement/metric
100 -2 328.1 2 Template:Infobox settlement/metric   222 0 728.3 2 Template:Infobox settlement/metric
10 -1 32.8 1 Template:Infobox settlement/metric   22 0 72.2 1 Template:Infobox settlement/metric
1 0 3.28 0 Template:Infobox settlement/metric   2 0 6.6 0 Template:Infobox settlement/metric
0.1 1 0.328 -1 Template:Infobox settlement/metric   0.2 1 0.66 -1 Template:Infobox settlement/metric
0.01 2 0.0328 -2 Template:Infobox settlement/metric   0.22 2 0.722 -1 Template:Infobox settlement/metric
0.001 3 0.00328 -3 Template:Infobox settlement/metric   0.222 3 0.7283 -1 Template:Infobox settlement/metric
0.0001 4 0.000328 -4 Template:Infobox settlement/metric   0.2222 4 0.729 -1 Template:Infobox settlement/metric
0.00001 5 3.28E-5 -5 Template:Infobox settlement/metric   0.22222 5 0.729068 -1 Template:Infobox settlement/metric

Examples: feet (ft)

{{Infobox settlement/lengthdisp|pref=UK|ft=N}}

Input Output   Input Output
ft= Precision Conversion
(m)
Order of
magnitude
Template
output
  ft= Precision Conversion
(m)
Order of
magnitude
Template
output
10000 -4 3048 3 Template:Infobox settlement/impus   22222 0 6773.3 3 Template:Infobox settlement/impus
1000 -3 304.8 2 Template:Infobox settlement/impus   2222 0 677.3 2 Template:Infobox settlement/impus
100 -2 30.48 1 Template:Infobox settlement/impus   222 0 67.7 1 Template:Infobox settlement/impus
10 -1 3.05 0 Template:Infobox settlement/impus   22 0 6.7 0 Template:Infobox settlement/impus
1 0 0.305 -1 Template:Infobox settlement/impus   2 0 0.61 -1 Template:Infobox settlement/impus
0.1 1 0.0305 -2 Template:Infobox settlement/impus   0.2 1 0.061 -2 Template:Infobox settlement/impus
0.01 2 0.00305 -3 Template:Infobox settlement/impus   0.22 2 0.0671 -2 Template:Infobox settlement/impus
0.001 3 0.000305 -4 Template:Infobox settlement/impus   0.222 3 0.0677 -2 Template:Infobox settlement/impus
0.0001 4 3.05E-5 -5 Template:Infobox settlement/impus   0.2222 4 0.06773 -2 Template:Infobox settlement/impus

See also