Templat:Coord/testcases: Perbedaan antara revisi
tes |
k Robot: Perubahan kosmetika |
||
(2 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
==Infobox == |
== Infobox == |
||
{{Kotak info kawasan lindung |
|||
{{Infobox protected area |
|||
| name = Ellis Island<br> Part of Statue of Liberty National Monument |
| name = Ellis Island<br> Part of Statue of Liberty National Monument |
||
| width = 300 |
| width = 300 |
||
Baris 35: | Baris 35: | ||
==Coord inline == |
== Coord inline == |
||
===SW=== |
=== SW === |
||
;1a: |
;1a: {{coord/sandbox|20.4|S|20.4|W|name=Test case SW-1a: 20.4d S 20.4d W (-20.4, -20.4)}} |
||
;1b: |
;1b: {{coord/sandbox|-20.4|N|-20.4|E|name=Test case SW-1b: -20.4d N -20.4d E (-20.4, -20.4)}} |
||
;1c: |
;1c: {{coord/sandbox|-20.4|-20.4|name=Test case SW-1c: -20.4d -20.4d (-20.4, -20.4)}} |
||
;2a: |
;2a: {{coord/sandbox|20|20|S|20|20|W|name=Test case SW-2a: 20d 20m S 20d 20m W (-20.3333, -20.3333)}} |
||
;2b: |
;2b: {{coord/sandbox|-20|20|N|-20|20|E|name=Test case SW-2b: -20d 20m N -20d 20m E (-20.3333, -20.3333)}} |
||
;2c: |
;2c: {{coord/sandbox|-20||N|-20||E|name=Test case SW-2c: -20d N -20d E (-20, -20)}} |
||
;3a: |
;3a: {{coord/sandbox|20|20|20|S|20|20|20|W|name=Test case SW-3a: 20d 20m 20s S 20d 20m 20s W (-20.33889, -20.33889)}} |
||
;3b:{{coord/sandbox|-20|20|20|N|-20|20|20|E|name=Test case SW-3b: -20d 20m 20s N -20d 20m 20s E (-20.33889, -20.33889)}} |
;3b:{{coord/sandbox|-20|20|20|N|-20|20|20|E|name=Test case SW-3b: -20d 20m 20s N -20d 20m 20s E (-20.33889, -20.33889)}} |
||
;3c: |
;3c: {{coord/sandbox|-20||20|N|-20||20|E|name=Test case SW-3c: -20d 20s N -20d 20s E}} |
||
;3d: |
;3d: {{coord/sandbox|-20|20||N|-20|20||E|name=Test case SW-3d: -20d 20m N -20d 20m E}} |
||
;3e: |
;3e: {{coord/sandbox|-20|||N|-20|||E|name=Test case SW-3e: -20d N -20d E (-20, -20)}} |
||
===NE=== |
=== NE === |
||
;1a: |
;1a: {{coord/sandbox|20.4|N|20.4|E|name=Test case NE-1a: 20.4d N 20.4d E (20.4, 20.4)}} |
||
;1b: |
;1b: {{coord/sandbox|-20.4|S|-20.4|W|name=Test case NE-1b: -20.4d S 20.4d W (20.4, 20.4) (rev.1)}} |
||
;1c: |
;1c: {{coord/sandbox|20.4|20.4|name=Test case NE-1c: 20.4d 20.4d (20.4, 20.4) (rev.1)}} |
||
;2a: |
;2a: {{coord/sandbox|20|20|N|20|20|E|name=Test case NE-2a: 20d 20m N 20d 20m E (20.3333, 20.3333)}} |
||
;2b: |
;2b: {{coord/sandbox|-20|20|S|-20|20|W|name=Test case NE-2b: -20d 20m S -20d 20m W (20.3333, 20.3333)}} |
||
;3a: |
;3a: {{coord/sandbox|20|20|20|N|20|20|20|E|name=Test case NE-3a: 20d 20m 20s N 20d 20m 20s E (20.33889, 20.33889) (rev.1)}} |
||
;3b:{{coord/sandbox|-20|20|20|S|-20|20|20|W|name=Test case NE-3b: -20d 20m 20s S -20d 20m 20s W (20.33889, 20.33889)(rev.1)}} |
;3b:{{coord/sandbox|-20|20|20|S|-20|20|20|W|name=Test case NE-3b: -20d 20m 20s S -20d 20m 20s W (20.33889, 20.33889)(rev.1)}} |
||
Baris 67: | Baris 67: | ||
===Error cases=== |
===Error cases=== |
||
====dec format==== |
====dec format==== |
||
;W>180: |
;W>180: {{coord/sandbox|20.4|S|180.4|W|name=Test case W>180: 20.4d S 180.4d W (-20.4, -180.4)}} |
||
;E>180: |
;E>180: {{coord/sandbox|20.4|N|180.4|E|name=Test case E>180: 20.4d N 180.4d E ( 20.4, 180.4)}} |
||
--> |
--> |
||
Baris 74: | Baris 74: | ||
<!-- each of the remaining error cases would invoke the maintenance category if this were an article --> |
<!-- each of the remaining error cases would invoke the maintenance category if this were an article --> |
||
;N>+90 dec: |
;N>+90 dec: {{coord/sandbox|90.1|1|name=Test case N>+90 dec}} |
||
;N<-90 dec: |
;N<-90 dec: {{coord/sandbox|-90.1|1|name=Test case N<-90 dec}} |
||
;E>=+360 dec: |
;E>=+360 dec: {{coord/sandbox|1|360|name=Test case E>=+360 dec}} |
||
;E<=-360 dec: |
;E<=-360 dec: {{coord/sandbox|1|-360|name=Test case E<=-360 dec}} |
||
;dim= dec: |
;dim= dec: {{coord/sandbox|1|2|dim=10000|name=Test case dim= dec}} |
||
;globe= dec: |
;globe= dec: {{coord/sandbox|1|2|globe=moon|name=Test case globe= dec}} |
||
;region= dec: |
;region= dec: {{coord/sandbox|1|2|region=CA-QC|name=Test case region= dec}} |
||
;scale= dec: |
;scale= dec: {{coord/sandbox|1|2|scale=100000|name=Test case scale= dec}} |
||
;source= dec: |
;source= dec: {{coord/sandbox|1|2|source=gnis|name=Test case source= dec}} |
||
;type= dec: |
;type= dec: {{coord/sandbox|1|2|type=city|name=Test case type= dec}} |
||
====d format==== |
==== d format ==== |
||
;S>+90 d: |
;S>+90 d: {{coord/sandbox|90.1|S|1|W|name=Test case S>+90 d}} |
||
;N>+90 d: |
;N>+90 d: {{coord/sandbox|90.1|N|1|E|name=Test case N>+90 d}} |
||
;N<-90 d: |
;N<-90 d: {{coord/sandbox|-90.1|N|1|W|name=Test case N<-90 d}} |
||
;W>=+360 d: |
;W>=+360 d: {{coord/sandbox|1|N|360|W|name=Test case W>=+360 d}} |
||
;E<=-360 d: |
;E<=-360 d: {{coord/sandbox|1|N|-360|E|name=Test case E<=-360 d}} |
||
;extra d: |
;extra d: {{coord/sandbox|1|S|2|W|type:city|region:XZ|name=Test case extra d}} |
||
====dm format==== |
==== dm format ==== |
||
;dN>+90 dm: |
;dN>+90 dm: {{coord/sandbox|91|0|N|1|2|E|name=Test case dN>+90 dm}} |
||
;dN<-90 dm: |
;dN<-90 dm: {{coord/sandbox|-91|0|N|1|2|E|name=Test case dN<-90 dm}} |
||
;dE>=+360 dm: |
;dE>=+360 dm: {{coord/sandbox|1|2|S|360|0|E|name=Test case dE>=+360 dm}} |
||
;dE<=-360 dm: |
;dE<=-360 dm: {{coord/sandbox|1|2|S|-360|0|E|name=Test case dE<=-360 dm}} |
||
;mS>=60 dm: |
;mS>=60 dm: {{coord/sandbox|1|60|S|2|3|W|name=Test case mS>=60 dm}} |
||
;mS<0 dm: |
;mS<0 dm: {{coord/sandbox|1|-1|S|2|3|W|name=Test case mS<0 dm}} |
||
;mW>=60 dm: |
;mW>=60 dm: {{coord/sandbox|1|2|S|3|60|W|name=Test case mW>=60 dm}} |
||
;mW<0 dm: |
;mW<0 dm: {{coord/sandbox|1|2|S|3|-1|W|name=Test case mW<0 dm}} |
||
;extra dm: |
;extra dm: {{coord/sandbox|1|2|S|3|4|W|type:city|region:XZ|name=Test case extra dm}} |
||
====dms format==== |
==== dms format ==== |
||
;dN>+90 dms: |
;dN>+90 dms: {{coord/sandbox|91|0|0|N|1|2|3|E|name=Test case dN>+90 dms}} |
||
;dN<-90 dms: |
;dN<-90 dms: {{coord/sandbox|-91|0|0|N|1|2|3|E|name=Test case dN<-90 dms}} |
||
;dE>=+360 dms: |
;dE>=+360 dms: {{coord/sandbox|1|2|3|S|360|0|0|E|name=Test case dE>=+360 dms}} |
||
;dE<=-360 dms: |
;dE<=-360 dms: {{coord/sandbox|1|2|3|S|-360|0|0|E|name=Test case dE<=-360 dms}} |
||
;mS>=60 dms: |
;mS>=60 dms: {{coord/sandbox|1|60|0|S|2|3|4|W|name=Test case mS>=60 dms}} |
||
;mS<0 dms: |
;mS<0 dms: {{coord/sandbox|1|-1|2|S|3|4|5|W|name=Test case mS<0 dms}} |
||
;mW>=60 dms: |
;mW>=60 dms: {{coord/sandbox|1|2|3|S|4|60|0|W|name=Test case mW>=60 dms}} |
||
;mW<0 dms: |
;mW<0 dms: {{coord/sandbox|1|2|3|S|4|-1|5|W|name=Test case mW<0 dms}} |
||
;sS>=60 dms: |
;sS>=60 dms: {{coord/sandbox|1|2|60|S|3|4|5|W|name=Test case sS>=60 dms}} |
||
;sS<0 dms: |
;sS<0 dms: {{coord/sandbox|1|2|-1|S|3|4|5|W|name=Test case sS<0 dms}} |
||
;sW>=60 dms: |
;sW>=60 dms: {{coord/sandbox|1|2|3|S|3|4|60|W|name=Test case sW>=60 dms}} |
||
;sW<0 dms: |
;sW<0 dms: {{coord/sandbox|1|2|3|S|3|4|-1|W|name=Test case sW<0 dms}} |
||
;extra dms: |
;extra dms: {{coord/sandbox|1|2|3|S|3|4|5|W|type:city|region:XZ|name=Test case extra dms}} |
||
====Invalid formats==== |
==== Invalid formats ==== |
||
1. {{coord/sandbox|1|2|3|4}} |
1. {{coord/sandbox|1|2|3|4}} |
||
Baris 139: | Baris 139: | ||
9. {{coord/sandbox|1|2|3|N||5|6|W}} |
9. {{coord/sandbox|1|2|3|N||5|6|W}} |
||
====Blank parameters==== |
==== Blank parameters ==== |
||
;DM |
;DM blank M: {{Coord/sandbox|1||N|3||E|name=Test case DM blank M}} |
||
;DMS blank S: |
;DMS blank S: {{Coord/sandbox|1|2||N|5|6||E|name=Test case DMS blank S}} |
||
;DMS blank M and S: {{Coord/sandbox|1|||N|5|||E|name=Test case DMS blank M and S}} |
;DMS blank M and S: {{Coord/sandbox|1|||N|5|||E|name=Test case DMS blank M and S}} |
||
;display=: |
;display=: {{Coord/sandbox|1|2|dispenser=|name=Test case DMS blank M and S}} |
||
;extra blanks: |
;extra blanks: {{Coord/sandbox| 51 | 02 | 21 |N| 116 | 26 | 33 |W|name=Test case extra blanks}} |
||
===Extreme values=== |
=== Extreme values === |
||
* {{coord/sandbox|0|0|N|0|0|E}} |
* {{coord/sandbox|0|0|N|0|0|E}} |
||
Baris 155: | Baris 155: | ||
* {{coord/sandbox|0|59|59|S|179|59|59|W}} |
* {{coord/sandbox|0|59|59|S|179|59|59|W}} |
||
====[[Airy (Martian crater)]]==== |
==== [[Airy (Martian crater)]] ==== |
||
* {{coord/sandbox|5.1|S|359.9|W|globe:mars}} |
* {{coord/sandbox|5.1|S|359.9|W|globe:mars}} |
||
* {{coord/sandbox|5|6|S|359|54|W|globe:mars}} |
* {{coord/sandbox|5|6|S|359|54|W|globe:mars}} |
||
* {{coord/sandbox|5|6|0|S|359|54|0|W|globe:mars}} |
* {{coord/sandbox|5|6|0|S|359|54|0|W|globe:mars}} |
||
====North and south poles==== |
==== North and south poles ==== |
||
* {{coord/sandbox|90|0}} |
* {{coord/sandbox|90|0}} |
||
* {{coord/sandbox|-90|0}} |
* {{coord/sandbox|-90|0}} |
||
Baris 170: | Baris 170: | ||
* {{coord/sandbox|90|0|0|S|0|||E}} |
* {{coord/sandbox|90|0|0|S|0|||E}} |
||
===Documented type values=== |
=== Documented type values === |
||
* country: {{coord/sandbox|38.328|-122.709|type:country}} |
* country: {{coord/sandbox|38.328|-122.709|type:country}} |
||
* satellite: {{coord/sandbox|38.328|-122.709|type:satellite}} |
* satellite: {{coord/sandbox|38.328|-122.709|type:satellite}} |
||
Baris 190: | Baris 190: | ||
* landmark: {{coord/sandbox|38.328|-122.709|type:landmark}} |
* landmark: {{coord/sandbox|38.328|-122.709|type:landmark}} |
||
===globe values=== |
=== globe values === |
||
====supported==== |
==== supported ==== |
||
* [[Mercury (planet)|mercury]]: {{coord/sandbox|1|N|2|W|globe:mercury}} |
* [[Mercury (planet)|mercury]]: {{coord/sandbox|1|N|2|W|globe:mercury}} |
||
* [[venus]]: {{coord/sandbox|1|N|2|E|globe:venus}} |
* [[venus]]: {{coord/sandbox|1|N|2|E|globe:venus}} |
||
Baris 226: | Baris 226: | ||
* [[pluto]]: {{coord/sandbox|1|N|2|E|globe:pluto}} |
* [[pluto]]: {{coord/sandbox|1|N|2|E|globe:pluto}} |
||
====questionable==== |
==== questionable ==== |
||
* [[Moon]]: {{coord/sandbox|1|2|globe:Moon}} |
* [[Moon]]: {{coord/sandbox|1|2|globe:Moon}} |
||
* [[Moon|MOON]]: {{coord/sandbox|1|2|globe:MOON}} |
* [[Moon|MOON]]: {{coord/sandbox|1|2|globe:MOON}} |
||
====currently unsupported==== |
==== currently unsupported ==== |
||
[[sun]]: {{coord/sandbox|1|2|globe:sun}} |
[[sun]]: {{coord/sandbox|1|2|globe:sun}} |
||
* [[Earth|terra]]: {{coord/sandbox|1|2|globe:terra}} |
* [[Earth|terra]]: {{coord/sandbox|1|2|globe:terra}} |
||
Baris 275: | Baris 275: | ||
:* [[Charon (moon)|charon]]: {{coord/sandbox|1|2|globe:charon}} |
:* [[Charon (moon)|charon]]: {{coord/sandbox|1|2|globe:charon}} |
||
===Examples from [[ |
=== Examples from [[Templat:Coord/doc]] === |
||
* {{coord/sandbox|57|18|22|N|4|27|32|W}} |
* {{coord/sandbox|57|18|22|N|4|27|32|W}} |
||
Baris 320: | Baris 320: | ||
* {{coord/sandbox|8|N|190.5|W|globe:mercury}} |
* {{coord/sandbox|8|N|190.5|W|globe:mercury}} |
||
==Tests of subroutines== |
== Tests of subroutines == |
||
* Testing decimal to dms conversion: {{tl|Coord/dec2dms/testcases}} |
* Testing decimal to dms conversion: {{tl|Coord/dec2dms/testcases}} |
||
[[ |
[[Kategori:Templat koordinat]] |
Revisi terkini sejak 13 Mei 2016 16.05
Infobox
[sunting sumber]Ellis Island Part of Statue of Liberty National Monument | |
---|---|
Kota terdekat | Jersey City |
Koordinat | 40°41′56.5″N 74°2′22.2″W / 40.699028°LU 74.039500°BB[1]Koordinat: 40°41′56.5″N 74°2′22.2″W / 40.699028°LU 74.039500°BB[1] |
Luas | 58.38 acres (0.24 km²) (includes Statue of Liberty NM) |
Didirikan | May 11, 1965 (as a national monument) |
Pengunjung | 3,618,054 (includes Statue of Liberty NM) (tahun 2004) |
Pihak pengelola | National Park Service |
http://www.nps.gov/elis/ |
Notice the ability to choose different skins in the box above. First try MonoBook which is the default skin. The Coordinates field displays nicely. Then try Simple and the Coordinates field is corrupt. I don't think this is a problem with {{Infobox Protected area}} or {{|Infobox Mountain}} as I've seen the same behavior using other templates. My first guess is that the problem is with {{Coord}} but it might not be since the field name is also displayed twice. The fault also occurs in MySkin but in none of the others. If the problem is not with Coord then it has to be a skin problem. --droll [chat] 23:47, 24 March 2009 (UTC)
Coord inline
[sunting sumber]SW
[sunting sumber]- 1a
- 20°24′S 20°24′W / 20.4°S 20.4°W
- 1b
- 20°24′S 20°24′W / -20.4°N -20.4°E{{#coordinates:}}: lintang salah
- 1c
- 20°24′LS 20°24′BB / 20.4°LS 20.4°BB
- 2a
- 20°20′S 20°20′W / 20.333°LS 20.333°BB
- 2b
- -20°20′N -20°20′E / 19.667°LS 19.667°BB{{#coordinates:}}: lintang salah
- 2c
- -20°N -20°E / 20.000°LS 20.000°BB{{#coordinates:}}: lintang salah
- 3a
- 20°20′20″S 20°20′20″W / 20.33889°LS 20.33889°BB
- 3b
- -20°20′20″N -20°20′20″E / 19.66111°LS 19.66111°BB{{#coordinates:}}: lintang salah
- 3c
- -20°20″N -20°20″E / 19.99444°LS 19.99444°BB{{#coordinates:}}: lintang salah
- 3d
- -20°20′N -20°20′E / 19.66667°LS 19.66667°BB{{#coordinates:}}: lintang salah
- 3e
- -20°N -20°E / 20.00000°LS 20.00000°BB{{#coordinates:}}: lintang salah
NE
[sunting sumber]- 1a
- 20°24′N 20°24′E / 20.4°N 20.4°E
- 1b
- 20°24′N 20°24′E / -20.4°S -20.4°W{{#coordinates:}}: lintang salah
- 1c
- 20°24′LU 20°24′BT / 20.4°LU 20.4°BT
- 2a
- 20°20′N 20°20′E / 20.333°LU 20.333°BT
- 2b
- -20°20′S -20°20′W / 19.667°LU 19.667°BT{{#coordinates:}}: lintang salah
- 3a
- 20°20′20″N 20°20′20″E / 20.33889°LU 20.33889°BT
- 3b
- -20°20′20″S -20°20′20″W / 19.66111°LU 19.66111°BT{{#coordinates:}}: lintang salah
- N>+90 dec
- 90°06′LU 1°00′BT / 90.1°LU 1°BT latd>90 (dec format) di {{Coord}}{{#coordinates:}}: lintang salah
- N<-90 dec
- 90°06′LS 1°00′BT / 90.1°LS 1°BT latd<-90 (dec format) di {{Coord}}{{#coordinates:}}: lintang salah
- E>=+360 dec
- 1°LU 360°BT / 1°LU 360°BT longd>=360 (dec format) di {{Coord}}{{#coordinates:}}: bujur salah
- E<=-360 dec
- 1°LU 360°BB / 1°LU 360°BB longd<=-360 (dec format) di {{Coord}}{{#coordinates:}}: bujur salah
- dim= dec
- 1°LU 2°BT / 1°LU 2°BT dim= should be dim: di {{Coord}}
- globe= dec
- 1°LU 2°BT / 1°LU 2°BT globe= should be globe: di {{Coord}}
- region= dec
- 1°LU 2°BT / 1°LU 2°BT region= should be region: di {{Coord}}
- scale= dec
- 1°LU 2°BT / 1°LU 2°BT scale= should be scale: di {{Coord}}
- source= dec
- 1°LU 2°BT / 1°LU 2°BT source= should be source: di {{Coord}}
- type= dec
- 1°LU 2°BT / 1°LU 2°BT type= should be type: di {{Coord}}
d format
[sunting sumber]- S>+90 d
- 90°06′S 1°00′W / 90.1°S 1°W latd>90 (d format) di {{Coord}}{{#coordinates:}}: lintang salah
- N>+90 d
- 90°06′N 1°00′E / 90.1°N 1°E latd>90 (d format) di {{Coord}}{{#coordinates:}}: lintang salah
- N<-90 d
- 90°06′S 1°00′W / -90.1°N 1°W latd<-90 (d format) di {{Coord}}{{#coordinates:}}: lintang salah
- W>=+360 d
- 1°N 360°W / 1°N 360°W longd>=360 (d format) di {{Coord}}{{#coordinates:}}: bujur salah
- E<=-360 d
- 1°N 360°W / 1°N -360°E longd<=-360 (d format) di {{Coord}}{{#coordinates:}}: bujur salah
- extra d
- 1°S 2°W / 1°S 2°W parameter tambahan (format d) di {{Coord}}
dm format
[sunting sumber]- dN>+90 dm
- 91°0′N 1°2′E / 91.000°LU 1.033°BT latd>90 (format dm) di {{Coord}}{{#coordinates:}}: lintang salah
- dN<-90 dm
- -91°0′N 1°2′E / 91.000°LS 1.033°BT latd<-90 (format dm) di {{Coord}}{{#coordinates:}}: lintang salah
- dE>=+360 dm
- 1°2′S 360°0′E / 1.033°LS 360.000°BT longd>=360 (format dm) di {{Coord}}{{#coordinates:}}: bujur salah
- dE<=-360 dm
- 1°2′S -360°0′E / 1.033°LS 360.000°BB longd<=-360 (format dm) di {{Coord}}{{#coordinates:}}: bujur salah
- mS>=60 dm
- 1°60′S 2°3′W / 2.000°LS 2.050°BB latm>=60 (format dm) di {{Coord}}{{#coordinates:}}: lintang salah
- mS<0 dm
- 1°-1′S 2°3′W / 1.000°LS 2.050°BB latm<0 (format dm) di {{Coord}}{{#coordinates:}}: lintang salah
- mW>=60 dm
- 1°2′S 3°60′W / 1.033°LS 4.000°BB longm>=60 (format dm) di {{Coord}}{{#coordinates:}}: bujur salah
- mW<0 dm
- 1°2′S 3°-1′W / 1.033°LS 3.000°BB longm<0 (format dm) di {{Coord}}{{#coordinates:}}: bujur salah
- extra dm
- 1°2′S 3°4′W / 1.033°LS 3.067°BB parameter tambahan (format dm) di {{Coord}}
dms format
[sunting sumber]- dN>+90 dms
- 91°0′0″N 1°2′3″E / 91.00000°LU 1.03417°BT latd>90 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- dN<-90 dms
- -91°0′0″N 1°2′3″E / 91.00000°LS 1.03417°BT latd<-90 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- dE>=+360 dms
- 1°2′3″S 360°0′0″E / 1.03417°LS 360.00000°BT longd>=360 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- dE<=-360 dms
- 1°2′3″S -360°0′0″E / 1.03417°LS 360.00000°BB longd<=-360 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- mS>=60 dms
- 1°60′0″S 2°3′4″W / 2.00000°LS 2.05111°BB latm>=60 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- mS<0 dms
- 1°-1′2″S 3°4′5″W / 1.00056°LS 3.06806°BB latm<0 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- mW>=60 dms
- 1°2′3″S 4°60′0″W / 1.03417°LS 5.00000°BB longm>=60 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- mW<0 dms
- 1°2′3″S 4°-1′5″W / 1.03417°LS 4.00139°BB longm<0 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- sS>=60 dms
- 1°2′60″S 3°4′5″W / 1.05000°LS 3.06806°BB lats>=60 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- sS<0 dms
- 1°2′-1″S 3°4′5″W / 1.03333°LS 3.06806°BB lats<0 (format dms) di {{Coord}}{{#coordinates:}}: lintang salah
- sW>=60 dms
- 1°2′3″S 3°4′60″W / 1.03417°LS 3.08333°BB longs>=60 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- sW<0 dms
- 1°2′3″S 3°4′-1″W / 1.03417°LS 3.06667°BB longs<0 (format dms) di {{Coord}}{{#coordinates:}}: bujur salah
- extra dms
- 1°2′3″S 3°4′5″W / 1.03417°LS 3.06806°BB parameter tambahan (format dms) di {{Coord}}
Invalid formats
[sunting sumber]1. Format yang tidak diketahui di {{Coord}}. Parameter:
- 1=1
- 2=2
- 3=3
- 4=4
- 5=
- 6=
- 7=
- 8=
- 9=
2. Format yang tidak diketahui di {{Coord}}. Parameter:
- 1=1
- 2=2
- 3=3
- 4=E
- 5=4
- 6=5
- 7=6
- 8=N
- 9={{#coordinates:}}: lintang salah
3. Format yang tidak diketahui di {{Coord}}. Parameter:
- 1=1
- 2=2
- 3=E
- 4=3
- 5=4
- 6=N
- 7=
- 8=
- 9={{#coordinates:}}: lintang salah
4. Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
5. garis lintang tidak ditemukan di {{Coord}}Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
6. garis bujur tidak ditemukan (format desimal) di {{Coord}}Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
7. 1°N Kesalahan ekspresi: Operator < tak terduga°Kesalahan ekspresi: Operator >= tak terduga / 1°N °W garis bujur tidak ditemukan (format d) di {{Coord}}Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
8. 1°2′N °4′W / 1.033°LU Kesalahan ekspresi: Operator < tak terduga garis bujur tidak ditemukan (format dm) di {{Coord}}Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
9. 1°2′3″N °5′6″W / 1.03417°LU Kesalahan ekspresi: Operator < tak terduga garis bujur tidak ditemukan (format dms) di {{Coord}}Argumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
Blank parameters
[sunting sumber]- DM blank M
- 1°N 3°E / 1.000°LU 3.000°BT
- DMS blank S
- 1°2′N 5°6′E / 1.03333°LU 5.10000°BT
- DMS blank M and S
- 1°N 5°E / 1.00000°LU 5.00000°BT
- display=
- 1°LU 2°BT / 1°LU 2°BT
- extra blanks
- 51°02′21″N 116°26′33″W / 51.03917°LU 116.44250°BB
Extreme values
[sunting sumber]- 0°0′N 0°0′E / 0.000°LU 0.000°BT
- 0°0′0″N 0°0′0″E / 0.00000°LU 0.00000°BT
- 0°0′N 180°0′E / 0.000°LU 180.000°BT
- 0°0′0″N 180°0′0″E / 0.00000°LU 180.00000°BT
- 0°59′N 179°59′W / 0.983°LU 179.983°BB
- 0°59′59″S 179°59′59″W / 0.99972°LS 179.99972°BB
- 5°06′S 359°54′W / 5.1°S 359.9°W
- 5°6′S 359°54′W / 5.100°LS 359.900°BB
- 5°6′0″S 359°54′0″W / 5.10000°LS 359.90000°BB
North and south poles
[sunting sumber]- 90°LU 0°BT / 90°LU 0°BT
- 90°LS 0°BT / 90°LS 0°BT
- 90°N 0°E / 90°N 0°E
- 90°S 0°E / 90°S 0°E
- 90°0′N 0°E / 90.000°LU 0.000°BTArgumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
- 90°0′S 0°E / 90.000°LS 0.000°BTArgumen-argumen yang tidak sah telah diberikan kepada fungsi {{#coordinates:}}
- 90°0′0″N 0°E / 90.00000°LU 0.00000°BT{{#coordinates:}}: bujur salah
- 90°0′0″S 0°E / 90.00000°LS 0.00000°BT{{#coordinates:}}: bujur salah
Documented type values
[sunting sumber]- country: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- satellite: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- adm1st: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- adm2nd: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- adm3rd: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- city: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- airport: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- mountain: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- isle: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- waterbody: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- forest: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- river: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- glacier: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- event: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- edu: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- pass: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- railwaystation: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
- landmark: 38°19′41″LU 122°42′32″BB / 38.328°LU 122.709°BB
globe values
[sunting sumber]supported
[sunting sumber]- ceres: 1°N 2°E / 1°N 2°E
- vesta: 1°LU 2°BT / 1°LU 2°BT
- Jupiter
- Saturn
- Uranus
- Neptune
questionable
[sunting sumber]currently unsupported
[sunting sumber]- ida: 1°LU 2°BT / 1°LU 2°BT
- gaspra: 1°LU 2°BT / 1°LU 2°BT
- eros: 1°LU 2°BT / 1°LU 2°BT
- golevka: 1°LU 2°BT / 1°LU 2°BT
- borrelly: 1°LU 2°BT / 1°LU 2°BT
- jupiter: 1°LU 2°BT / 1°LU 2°BT
- cordelia: 1°LU 2°BT / 1°LU 2°BT
- ophelia: 1°LU 2°BT / 1°LU 2°BT
- bianca: 1°LU 2°BT / 1°LU 2°BT
- cressida: 1°LU 2°BT / 1°LU 2°BT
- desdemona: 1°LU 2°BT / 1°LU 2°BT
- juliet: 1°LU 2°BT / 1°LU 2°BT
- portia: 1°LU 2°BT / 1°LU 2°BT
- rosalind: 1°LU 2°BT / 1°LU 2°BT
- belinda: 1°LU 2°BT / 1°LU 2°BT
- puck: 1°LU 2°BT / 1°LU 2°BT
- Pluto
Examples from Templat:Coord/doc
[sunting sumber]- 57°18′22″N 4°27′32″W / 57.30611°LU 4.45889°BB
- 44°06′43″N 87°54′47″W / 44.112°N 87.913°W
- 44°06′43″LU 87°54′47″BB / 44.112°LU 87.913°BB
- 44°07′01″LU 87°54′47″BB / 44.117°LU 87.913°BB
- 10°12′LU 20°18′BB / 10.2°LU 20.3°BB
- 10°12′LU 20°18′BB / 10.2°LU 20.3°BB
- 44°24′LU 111°06′BB / 44.4°LU 111.1°BB
- 51°00′44″LU 1°34′04″BB / 51.01234°LU 1.56789°BB
- 35°30′LS 150°06′BT / 35.5°LS 150.1°BT
- 12°34′12″N 45°33′45″W / 12.57000°LU 45.56250°BB
- 43°39′04″LU 79°23′00″BB / 43.651234°LU 79.383333°BB
- 43°39′LU 79°23′BB / 43.65°LU 79.38°BB
- 43°39′00″LU 79°22′48″BB / 43.6500°LU 79.3800°BB
- 43°39′04″N 79°23′00″W / 43.651234°N 79.383333°W
- 43°29′N 79°23′W / 43.483°LU 79.383°BB
- 43°29′4″N 79°23′0″W / 43.48444°LU 79.38333°BB
- 43°29′4.5″N 79°23′0.5″W / 43.484583°LU 79.383472°BB
- 55°45′08″N 37°36′56″E / 55.752222°N 37.615556°E
- 55°45′08″N 37°36′56″E / 55.752222°N 37.615556°E
- 39°05′53″LU 94°35′14″BB / 39.098095°LU 94.587307°BB
- 55°45′08″N 37°36′56″E / 55.752222°N 37.615556°E
- 33°55′S 18°25′E / 33.917°LS 18.417°BT
- 35°00′N 105°00′E / 35.000°LU 105.000°BT
- 22°54′30″S 43°14′37″W / 22.90833°LS 43.24361°BB
- 22°S 43°W / 22°S 43°W
- 52°28′59″N 1°53′37″W / 52.48306°LU 1.89361°BBKoordinat: 52°28′59″N 1°53′37″W / 52.48306°LU 1.89361°BB
- 46°43′N 7°58′E / 46.717°LU 7.967°BT
- 51°30′02″N 0°07′29″W / 51.500611°N 0.124611°W
- 51°30′02″N 0°07′29″W / 51.500611°N 0.124611°W
- 51°30′02″N 0°07′29″W / 51.500611°N 0.124611°W
- 51°30′02″N 0°07′29″W / 51.500611°N 0.124611°W
- 0°N 90°W / 0°N 90°W
- 40°30′LU 82°30′BB / 40.5°LU 82.5°BB
- 51°01′59″LU 13°43′48″BT / 51.033°LU 13.73°BT
- 40°41′21″LU 74°02′40″BB / 40.6892°LU 74.0445°BB
- 45°30′58″LU 122°40′24″BB / 45.516194°LU 122.673226°BB
- 46°57′09″N 7°26′23″E / 46.9524°N 7.4396°E
- 52°30′59″N 13°22′39″E / 52.5164°N 13.3775°E
- 0°40′26.69″N 23°28′22.69″E / 0.6740806°LU 23.4729694°BT
- 48°16′08″N 225°59′24″W / 48.269°N 225.990°W
- 7°30′S 303°00′E / 7.5°S 303°E
- 8°00′N 190°30′W / 8°N 190.5°W
Tests of subroutines
[sunting sumber]- Testing decimal to dms conversion: {{Coord/dec2dms/testcases}}