Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Stepheng3
link to detailed documentation
meta>Stepheng3
slashes might be taken for separators
Line 5: Line 5:
| To add the coordinates '''57°18′22"N 4°27′32"W''' to the top of an article, use
| To add the coordinates '''57°18′22"N 4°27′32"W''' to the top of an article, use
:'''<nowiki>{{coord|57|18|22|N|4|27|32|W|display=title}}</nowiki>'''
:'''<nowiki>{{coord|57|18|22|N|4|27|32|W|display=title}}</nowiki>'''
These coordinates are in the format <span style="text-decoration:underline;">degrees</span>/<span style="text-decoration:underline;">minutes</span>/<span style="text-decoration:underline;">seconds</span>
These coordinates are in the format <span style="text-decoration:underline;">degrees</span> | <span style="text-decoration:underline;">minutes</span> | <span style="text-decoration:underline;">seconds</span>
|-
|-
| For <span style="text-decoration:underline;">decimal</span> coordinates, such as '''44.112°N 86.913°W''', use one of  
| For <span style="text-decoration:underline;">decimal</span> coordinates, such as '''44.112°N 86.913°W''', use one of  

Revision as of 18:31, 12 October 2009

Quick "how to"
To add the coordinates 57°18′22"N 4°27′32"W to the top of an article, use
{{coord|57|18|22|N|4|27|32|W|display=title}}

These coordinates are in the format degrees | minutes | seconds

For decimal coordinates, such as 44.112°N 86.913°W, use one of
{{coord|44.112|N|87.913|W|display=title}}
{{coord|44.112|-87.913|display=title}}
Values (including degrees, minutes and seconds) are separated by a pipe ("|").
Latitude (N/S) before longitude (E/W). Map datum is WGS84.
To display the coordinates in the article as well, use "display=inline,title" instead of "display=title".
Avoid excessive precision (0.0001° is <11 m, 1′′ is <31 m).
Optional coordinate parameters are separated by an underscore ("_"):
Other optional parameters are separated by a pipe ("|"):
  • display: display=inline,title or variant
  • name: name=Xxxx

Full example: {{coord|44.117|-87.913|dim:30_region:US-WI_type:landmark|display=inline,title|name=Klann Road}}

For more detail, refer to {{Coord/doc}}

See also: Obtaining coordinates, coordinate conversion
For non-terrestrial coordinates, see Other globes