Predloga:Infopolje koord

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]


This helper template provides a way to pass parameters to {{Coord}} when building Infoboxes that require access to coordinate for use in maps. Because {{Coord}} is transcluded, all the functionality of that template, including hCards, is provided. This template does not do error checking. Invalid input is simply passed to {{Coord}}, which might return an error message.

Usage[uredi kodo]

Field Description
lat_d Degrees of latitude (can be in decimal degrees).
lat_m Minutes of latitude.
lat_s Seconds of latitude.
lat_NS N for north or S for south of the equator.
long_d Degrees of longitude (can be in decimal degrees).
long_m Minutes of longitude.
long_s Seconds of longitude.
long_EW  E for east or W for west of the prime meridian.
type See Wikipedia:WikiProject Geographical coordinates/type:.
pop Population, for use with type:city.
region See Wikipedia:WikiProject Geographical coordinates/region:.
dim See Wikipedia:WikiProject Geographical coordinates/dim:.
scale See Wikipedia:WikiProject Geographical coordinates/scale:.
source See Wikipedia:WikiProject Geographical coordinates/source:.
globe See Wikipedia:WikiProject Geographical coordinates/globe:.
display inline,title, the default, or inline.
format dms for degree, minutes, second output, the default, or dec for decimal degree output.
name For information about name see Template:Coord/doc#Usage.
notes For information about notes see Template:Coord/doc#Usage.

Degrees must be specified. If degrees are not signed then NS and EW must also be specified.

For advice on creating new templates that include coordinate data see Creating new templates. See {{coord}} for allowable values.

Template blank[uredi kodo]

{{Infobox coord
| lat_d   = 
| lat_m   = 
| lat_s   = 
| lat_NS  = 
| long_d  = 
| long_m  = 
| long_s  = 
| long_EW = 
| type    = 
| pop     = 
| region  = 
| dim     = 
| scale   = 
| source  = 
| globe   = 
| display = 
| format  = 
| name    = 
| notes   =
}}

TemplateData[uredi kodo]

Nobenega opisa.

Template parameters

ParameterDescriptionTypeStatus
lat_dlat_d

Degrees of latitude.

Numberoptional
lat_mlat_m

Minutes of latitude

Numberoptional
lat_slat_s

Seconds of latitude

Numberoptional
lat_NSlat_NS

Latitude north or south of equator

Numberoptional
long_dlong_d

Degrees of longitude

Numberoptional
long_mlong_m

Minutes of longitude

Numberoptional
long_slong_s

Seconds of longitude

Numberoptional
long_EWlong_EW

Longitude east or west of prime meridian

Numberoptional
Typetype

Type of coordinates

Stringoptional
Populationpop

Population of city(only with type:city)

Numberoptional
Regionregion

Political region of coordinate

Stringoptional
Dim (m) or (km)dim

Width of object in meter or kilometer

Numberoptional
Scalescale

Scale of the map

Numberoptional
Sourcesource

Source of data specified

Stringoptional
Globeglobe

It specifies planet, dwarf planet, asteroid etc.

Stringoptional
Displaydisplay

Specifies the display(inline, title)

Stringoptional
Formatformat

dms(degree minute second) or dec(decimal degree output)

Default
dms
Stringoptional
Namename

It can be used to annotate inline coordinates

Stringoptional
Notesnotes

Specifies the text to be displayed immediately after the coordinates

Stringoptional

Also see[uredi kodo]