Predloga:Infopolje koord/testniprimeri

Test pop parameter uredi

Current behavior uredi
pop = 1.0 → 1°N 1°E / 1°N 1°E / 1; 1 (failed)
pop = 1 1 → (failed)
pop = x → 1°N 1°E / 1°N 1°E / 1; 1 (failed)
pop = -1 → 1°N 1°E / 1°N 1°E / 1; 1 (failed)
pop = 1.000.001 unformatted(1000001) floored(1000001) vs parsed(1000001) [1]1°N 1°E / 1°N 1°E / 1; 1 (failed) Note: failed is normal for this testcase as it has not been coded for. See the pop= parameter discussion.
pop = 1,000,001 unformatted(1.000.001) → 1°N 1°E / 1°N 1°E / 1; 1 (passed)
pop = 0 → 1°N 1°E / 1°N 1°E / 1; 1 (passed)
pop = 1 → 1°N 1°E / 1°N 1°E / 1; 1 (passed)
Sandbox behavior uredi
pop = 1.0 → Predloga:Infopolje koord/peskovnik(failed)
pop = 1 1 → Predloga:Infopolje koord/peskovnik(failed)
pop = x → Predloga:Infopolje koord/peskovnik(failed)
pop = -1 → {{Infopolje koord/peskovnik|type=city|pop=-1|lat_d=1|long_d=1|display=inline}(failed)
pop = 1.000.001 unformatted(1000001) floored(1000001) vs parsed(1000001) [2]Predloga:Infopolje koord/peskovnik(failed) Note: failed is normal for this testcase as it has not been coded for. See the pop= parameter discussion.
pop = 1,000,001 unformatted(1.000.001) → Predloga:Infopolje koord/peskovnik(passed)
pop = 0 → Predloga:Infopolje koord/peskovnik(passed)
pop = 1 → Predloga:Infobox coord/peskovnik(passed)

Degree, Minute, Second uredi

{{Infopolje koord
| lat_d   = 37
| lat_m   = 51
| lat_s   = 00
| lat_NS  = N
| long_d  = 119
| long_m  = 34
| long_s  = 04
| long_EW = W
| type    = landmark
| region  = US-CA
| scale   = 300000
| source  = GNIS
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
37°51′00″N 119°34′04″W / 37.85000°N 119.56778°W / 37.85000; -119.56778 (Yosemite NP) Predloga:Infopolje koord/peskovnik


Degree, minute uredi

{{Infopolje koord
| lat_d   = 37
| lat_m   = 51
| lat_NS  = N
| long_d  = 119
| long_m  = 34
| long_EW = W
| type    = landmark
| region  = US-CA
| scale   = 300000
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
37°51′N 119°34′W / 37.850°N 119.567°W / 37.850; -119.567 (Yosemite NP) Predloga:Infopolje koord/peskovnik


Degree uredi

{{Infopolje koord
| lat_d   = 37
| lat_NS  = N
| long_d  = 119
| long_EW = W
| type    = landmark
| region  = US-CA
| scale   = 300000
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
37°N 119°W / 37°N 119°W / 37; -119 (Yosemite NP) Predloga:Infopolje koord/peskovnik


Decimal degree unsigned uredi

{{Infopolje koord
| lat_d   = 37.8499232
| lat_NS  = N
| long_d  = 119.5676663
| long_EW = W
| type    = landmark
| region  = US-CA
| scale   = 300000
| source  = GNIS
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663 (Yosemite NP) Predloga:Infopolje koord/peskovnik


Decimal degree signed uredi

{{Infopolje koord
| lat_d   = 37.8499232
| long_d  = -119.5676663
| type    = landmark
| region  = US-CA
| scale   = 300000
| source  = GNIS
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663 (Yosemite NP) Predloga:Infopolje koord/peskovnik


The empty case uredi

{{Infopolje koord
| lat_d   = 
| lat_m   = 
| lat_s   = 
| lat_NS  = N
| long_d  = 
| long_m  = 
| long_s  = 
| long_EW = W
| type    = landmark
| region  = US-CA
| scale   = 300000
| source  = GNIS
| display = inline
| format  = dms
| name    = Yosemite NP
}}
Current Sandbox
Predloga:Infopolje koord/peskovnik


Case with no "second" field, plus dim parameter uredi

{{Infopolje koord
| lat_d   = 37.8499232
| long_d  = -119.5676663
| display = inline
| format  = dms
| dim     = 30km
}}
Current Sandbox
37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663 Predloga:Infopolje koord/peskovnik


Case with notes= and display=inline,title uredi

{{Infopolje koord
| lat_d   = 37.8499232
| long_d  = -119.5676663
| display = inline,title
| format  = dms
| notes   = <ref>{{gnis|255923|Yosemite NP}}</ref>
}}
Current Sandbox
37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663[3] Predloga:Infopolje koord/peskovnik


  1. meta::Help:Calculation#Numbers_as_input
  2. meta::Help:Calculation#Numbers_as_input
  3. U.S. Geological Survey Geographic Names Information System: Yosemite NP