Predloga:Infopolje koord

Iz Wikipedije, proste enciklopedije
Skoči na: navigacija, iskanje
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 | 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 | 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 | uredi kodo]

Nobenega opisa.

Template parameters
Parameter Description Type Default Status
lat_d lat_d Degrees of latitude. number empty optional
lat_m lat_m Minutes of latitude number empty optional
lat_s lat_s Seconds of latitude number empty optional
lat_NS lat_NS Latitude north or south of equator number empty optional
long_d long_d Degrees of longitude number empty optional
long_m long_m Minutes of longitude number empty optional
long_s long_s Seconds of longitude number empty optional
long_EW long_EW Longitude east or west of prime meridian number empty optional
Type type Type of coordinates string empty optional
Population pop Population of city(only with type:city) number empty optional
Region region Political region of coordinate string empty optional
Dim (m) or (km) dim Width of object in meter or kilometer number empty optional
Scale scale Scale of the map number empty optional
Source source Source of data specified string empty optional
Globe globe It specifies planet, dwarf planet, asteroid etc. string empty optional
Display display Specifies the display(inline, title) string empty optional
Format format dms(degree minute second) or dec(decimal degree output) string dms optional
Name name It can be used to annotate inline coordinates string empty optional
Notes notes Specifies the text to be displayed immediately after the coordinates string empty optional

Also see[uredi | uredi kodo]