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]

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]

{{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]

Nobenega opisa.

Template parameters
Parameter Description Type Status
lat_d lat_d

Degrees of latitude.

Default
empty
Example
empty
Auto value
empty
number optional
lat_m lat_m

Minutes of latitude

Default
empty
Example
empty
Auto value
empty
number optional
lat_s lat_s

Seconds of latitude

Default
empty
Example
empty
Auto value
empty
number optional
lat_NS lat_NS

Latitude north or south of equator

Default
empty
Example
empty
Auto value
empty
number optional
long_d long_d

Degrees of longitude

Default
empty
Example
empty
Auto value
empty
number optional
long_m long_m

Minutes of longitude

Default
empty
Example
empty
Auto value
empty
number optional
long_s long_s

Seconds of longitude

Default
empty
Example
empty
Auto value
empty
number optional
long_EW long_EW

Longitude east or west of prime meridian

Default
empty
Example
empty
Auto value
empty
number optional
Type type

Type of coordinates

Default
empty
Example
empty
Auto value
empty
string optional
Population pop

Population of city(only with type:city)

Default
empty
Example
empty
Auto value
empty
number optional
Region region

Political region of coordinate

Default
empty
Example
empty
Auto value
empty
string optional
Dim (m) or (km) dim

Width of object in meter or kilometer

Default
empty
Example
empty
Auto value
empty
number optional
Scale scale

Scale of the map

Default
empty
Example
empty
Auto value
empty
number optional
Source source

Source of data specified

Default
empty
Example
empty
Auto value
empty
string optional
Globe globe

It specifies planet, dwarf planet, asteroid etc.

Default
empty
Example
empty
Auto value
empty
string optional
Display display

Specifies the display(inline, title)

Default
empty
Example
empty
Auto value
empty
string optional
Format format

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

Default
dms
Example
empty
Auto value
empty
string optional
Name name

It can be used to annotate inline coordinates

Default
empty
Example
empty
Auto value
empty
string optional
Notes notes

Specifies the text to be displayed immediately after the coordinates

Default
empty
Example
empty
Auto value
empty
string optional

Also see[uredi]