Template:Coords/doc

From Citizendium
< Template:Coords
Revision as of 13:18, 10 May 2009 by imported>Caesar Schinas (New page: <!-- Do not remove this line. Replace the instructions below with the correct documentation. --> This template is for inserting geographical coordinates. It can be used for coordinates in...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is for inserting geographical coordinates.

It can be used for coordinates in degrees, minutes, and seconds, or coordinates in just degrees and minutes, depending upon the number of parameters.


Usage

The template takes either six or eight parameters, depending upon the desired format for the coordinates.
The variables are therefore {{Coords|deg|min|sec|LAT|deg|min|sec|LON}}, where the two sec variables are optional.
To use the template you can copy and paste one of the examples below, depending on the desired format, and replace the numbers.


Example

DMS format (degrees, minutes, and seconds)
{{Coords|12|34|56|N|12|34|56|W}} gives 12°34′56”N, 12°34′56”W.
DM format (degrees and minutes)
{{Coords|12|34.56|N|12|34.56|W}} gives 12°34.56′N, 12°34.56′W.