Fyrimynd:Infobox settlement/lengthdisp/doc
Appearance
Hetta er ein dokumentatión undirsíða til Fyrimynd:Infobox settlement/lengthdisp. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This subtemplate is not intended to be used directly |
This subtemplate of {{Infobox settlement}} displays length (e.g. elevation) values.
Usage
[rætta wikitekst]{{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)
[rætta wikitekst]{{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 | 10.000 km (Bad rounding here6,200 mi) | 22222
|
0 | 13.808,1 | 4 | 22.222 km (Bad rounding here14,000 mi) | |
1000
|
-3 | 621.4 | 2 | 1.000 km (Bad rounding here620 mi) | 2222
|
0 | 1380.7 | 3 | 2.222 km (Bad rounding here1,400 mi) | |
100
|
-2 | 62.1 | 1 | 100 km (Bad rounding here62 mi) | 222
|
0 | 137.9 | 2 | 222 km (Bad rounding here140 mi) | |
10
|
-1 | 6.21 | 0 | 10 km (Bad rounding here6,2 mi) | 22
|
0 | 13.7 | 1 | 22 km (Bad rounding here14 mi) | |
1
|
0 | 0.621 | -1 | 1 km (Bad rounding here0,62 mi) | 2
|
0 | 1.24 | 0 | 2 km (Bad rounding here1,2 mi) | |
0.1
|
1 | 0.0621 | -2 | 0,1 km (Bad rounding here0,062 mi) | 0.2
|
1 | 0.124 | -1 | 0,2 km (Bad rounding here0,12 mi) | |
0.01
|
2 | 0.00621 | -3 | 0,01 km (Bad rounding here0,0.062 mi) | 0.22
|
2 | 0.1367 | -1 | 0,22 km (Bad rounding here0,14 mi) | |
0.001
|
3 | 0.000621 | -4 | 0,001 km (Bad rounding here0,00.062 mi) | 0.222
|
3 | 0.13794 | -1 | 0,222 km (Bad rounding here0,14 mi) | |
0.0001
|
4 | 6.21E-5 | -5 | 0,0001 km (Bad rounding here0 mi) | 0.2222
|
4 | 0.138069 | -1 | 0,2222 km (Bad rounding here0,14 mi) |
Examples: mile (mi)
[rætta wikitekst]{{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 | 10.000 mi (20,000 km) | 22222
|
0 | 35.762,8 | 4 | 22.222 mi (35,763 km) | |
1000
|
-3 | 1.609,34 | 3 | 1.000 mi (2,000 km) | 2222
|
0 | 3.575,96 | 3 | 2.222 mi (3,576 km) | |
100
|
-2 | 160,93 | 2 | 100 mi (200 km) | 222
|
0 | 357,27 | 2 | 222 mi (357 km) | |
10
|
-1 | 16,09 | 1 | 10 mi (20 km) | 22
|
0 | 35,41 | 1 | 22 mi (35 km) | |
1
|
0 | 1.61 | 0 | 1 mi (2 km) | 2
|
0 | 3.22 | 0 | 2 mi (3 km) | |
0.1
|
1 | 0.161 | -1 | 0,1 mi (0,2 km) | 0.2
|
1 | 0.322 | -1 | 0,2 mi (0,3 km) | |
0.01
|
2 | 0.0161 | -2 | 0,01 mi (0,02 km) | 0.22
|
2 | 0.3541 | -1 | 0,22 mi (0,35 km) | |
0.001
|
3 | 0.00161 | -3 | 0,001 mi (0,002 km) | 0.222
|
3 | 0.35727 | -1 | 0,222 mi (0,357 km) | |
0.0001
|
4 | 0.000161 | -4 | 0,0001 mi (0,0.002 km) | 0.2222
|
4 | 0.357596 | -1 | 0,2222 mi (0,3.576 km) | |
0.00001
|
5 | 1.61E-5 | -5 | 0,00001 mi (0 km) | 0.22222
|
5 | 0.357628 | -1 | 0,22222 mi (0,35.763 km) |
Examples: metre (m)
[rætta wikitekst]{{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 | 10.000 m (30,000 ft) | 22222
|
0 | 72906.8 | 4 | 22.222 m (72,907 ft) | |
1000
|
-3 | 3280.8 | 3 | 1.000 m (3,000 ft) | 2222
|
0 | 7290 | 3 | 2.222 m (7,290 ft) | |
100
|
-2 | 328.1 | 2 | 100 m (300 ft) | 222
|
0 | 728.3 | 2 | 222 m (728 ft) | |
10
|
-1 | 32.8 | 1 | 10 m (30 ft) | 22
|
0 | 72.2 | 1 | 22 m (72 ft) | |
1
|
0 | 3.28 | 0 | 1 m (3 ft) | 2
|
0 | 6.6 | 0 | 2 m (7 ft) | |
0.1
|
1 | 0.328 | -1 | 0,1 m (0,3 ft) | 0.2
|
1 | 0.66 | -1 | 0,2 m (0,7 ft) | |
0.01
|
2 | 0.0328 | -2 | 0,01 m (0,03 ft) | 0.22
|
2 | 0.722 | -1 | 0,22 m (0,72 ft) | |
0.001
|
3 | 0.00328 | -3 | 0,001 m (0,003 ft) | 0.222
|
3 | 0.7283 | -1 | 0,222 m (0,728 ft) | |
0.0001
|
4 | 0.000328 | -4 | 0,0001 m (0,0.003 ft) | 0.2222
|
4 | 0.729 | -1 | 0,2222 m (0,7.290 ft) | |
0.00001
|
5 | 3.28E-5 | -5 | 0,00001 m (0 ft) | 0.22222
|
5 | 0.729068 | -1 | 0,22222 m (0,72.907 ft) |
Examples: feet (ft)
[rætta wikitekst]{{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 | 10.000 ft (Bad rounding here3,000 m) | 22222
|
0 | 6773.3 | 3 | 22.222 ft (Bad rounding here6,800 m) | |
1000
|
-3 | 304.8 | 2 | 1.000 ft (Bad rounding here300 m) | 2222
|
0 | 677.3 | 2 | 2.222 ft (Bad rounding here680 m) | |
100
|
-2 | 30.48 | 1 | 100 ft (Bad rounding here30 m) | 222
|
0 | 67.7 | 1 | 222 ft (Bad rounding here68 m) | |
10
|
-1 | 3.05 | 0 | 10 ft (Bad rounding here3,0 m) | 22
|
0 | 6.7 | 0 | 22 ft (Bad rounding here6,7 m) | |
1
|
0 | 0.305 | -1 | 1 ft (Bad rounding here0,30 m) | 2
|
0 | 0.61 | -1 | 2 ft (Bad rounding here0,61 m) | |
0.1
|
1 | 0.0305 | -2 | 0,1 ft (Bad rounding here0,030 m) | 0.2
|
1 | 0.061 | -2 | 0,2 ft (Bad rounding here0,061 m) | |
0.01
|
2 | 0.00305 | -3 | 0,01 ft (Bad rounding here0,0.030 m) | 0.22
|
2 | 0.0671 | -2 | 0,22 ft (Bad rounding here0,067 m) | |
0.001
|
3 | 0.000305 | -4 | 0,001 ft (Bad rounding here0,00.030 m) | 0.222
|
3 | 0.0677 | -2 | 0,222 ft (Bad rounding here0,068 m) | |
0.0001
|
4 | 3.05E-5 | -5 | 0,0001 ft (Bad rounding here00 m) | 0.2222
|
4 | 0.06773 | -2 | 0,2222 ft (Bad rounding here0,068 m) |
See also
[rætta wikitekst]- {{Infobox settlement}}
- {{Infobox settlement/densdisp}}
- {{Infobox settlement/pref}}
- {{Infobox settlement/metric}}
- {{Infobox settlement/metric/mag}}
- {{Infobox settlement/impus}}
- {{Infobox settlement/impus/mag}}
- {{Infobox settlement/link}}
- {{Infobox settlement cleaner}}