Fyrimynd:Infobox coord/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Infobox coord. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
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
rættaField | 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
rætta{{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
rættaInfobox coord
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
lat_d | lat_d | Degrees of latitude. | Number | optional |
lat_m | lat_m | Minutes of latitude | Number | optional |
lat_s | lat_s | Seconds of latitude | Number | optional |
lat_NS | lat_NS | Latitude north or south of equator | Number | optional |
long_d | long_d | Degrees of longitude | Number | optional |
long_m | long_m | Minutes of longitude | Number | optional |
long_s | long_s | Seconds of longitude | Number | optional |
long_EW | long_EW | Longitude east or west of prime meridian | Number | optional |
Type | type | Type of coordinates | String | optional |
Population | pop | Population of city(only with type:city) | Number | optional |
Region | region | Political region of coordinate | String | optional |
Dim (m) or (km) | dim | Width of object in meter or kilometer | Number | optional |
Scale | scale | Scale of the map | Number | optional |
Source | source | Source of data specified | String | optional |
Globe | globe | It specifies planet, dwarf planet, asteroid etc. | String | optional |
Display | display | Specifies the display(inline, title) | String | optional |
Format | format | dms(degree minute second) or dec(decimal degree output)
| String | optional |
Name | name | It can be used to annotate inline coordinates | String | optional |
Notes | notes | Specifies the text to be displayed immediately after the coordinates | String | optional |
See also
rætta