قالب:Geobox coor
This template is used on 413,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Uses Lua: |
This is a template used in {{Infobox settlement}} and some of the templates of the Geobox series. It only translates the coordinates related parameters from the Geoboxes to the {{coord}} templates which handles the actual display and therefore it shouldn't be used on its own.
It displays coordinates and the appropriate wikimap link from various styles of input (can be classic with deg, min and sec or decimal with NSWE or decimal with negative values for S and W hemispheres). Additional formatting parameters can be used: to display the coordinates in title to, to display decimally-entered values as classic DMS values and vice versa.
For usage see examples at Template talk:Geobox coor or any Geobox.
Note: This is not used by {{Geobox}}. Geobox uses Template:Geobox2 coor and Template:Geobox2 coor type.
Optional parameters
title
– if set to any value, the coordinates will appear in the title as well as inline.format
– set to dms for "degrees/minutes/seconds" or dec for "decimal".wrap
– if set to any value, the coordinates will be allowed to linewrap.
Examples of use
{{Geobox coor|25|30|01|N|12|15|01|E|type:city}}:
25°30′01″N 12°15′01″E / 25.50028°N 12.25028°E{{Geobox coor|25|30|01|N|12|15|01|E|type:city|title=1}}:
25°30′01″N 12°15′01″E / 25.50028°N 12.25028°E{{Geobox coor|25|30|01|N|12|15|01|E|type:city|format=dec}}:
25°30′01″N 12°15′01″E / 25.50028°N 12.25028°E
{{Geobox coor|25|30||N|12|15||E|type:city}}:
25°30′N 12°15′E / 25.500°N 12.250°E{{Geobox coor|25|30||N|12|15||E|type:city|format=dec}}:
25°30′N 12°15′E / 25.500°N 12.250°E
{{Geobox coor|25.135|||N|12.588|||E|type:city}}:
25°08′06″N 12°35′17″E / 25.135°N 12.588°E{{Geobox coor|25.135|||N|12.588|||E|type:city|format=dms}}:
25°08′06″N 12°35′17″E / 25.135°N 12.588°E
{{Geobox coor|25.135||||-12.588||||}}:
25°08′06″N 12°35′17″W / 25.135°N 12.588°W{{Geobox coor|25.135||||-12.588||||type:city|format=dms}}:
25°08′06″N 12°35′17″W / 25.135°N 12.588°W
{{Geobox coor|25|30|01||12|15|01||type:city}}:
25°30′01″N 12°15′01″E / 25.50028°N 12.25028°E{{Geobox coor|25|30|01||12|15|01||type:city|format=dec}}:
25°30′01″N 12°15′01″E / 25.50028°N 12.25028°E
{{Geobox coor|25|30|||12|15|||type:city}}:
25°30′N 12°15′E / 25.500°N 12.250°E{{Geobox coor|25|30|||12|15|||type:city|format=dec}}:
25°30′N 12°15′E / 25.500°N 12.250°E
Microformat
See also
The above documentation is transcluded from قالب:Geobox coor/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |