Skabelon:Geobox coor/doc

Fra Wikipedia, den frie encyklopædi

Dette er en skabelon der bruges i {{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[rediger kildetekst]

  • 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[rediger kildetekst]

Microformat[rediger kildetekst]

The HTML mark up produced by this template includes an Geo microformat, which makes the location's coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Geo is usually produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.


Se også[rediger kildetekst]