Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Gene Nygaard
fix examples to warn users of limitations
meta>Gene Nygaard
match numbers up, partly my fault, partly preexisting
Line 6: Line 6:
|-
|-
| For decimal coordinates, such as '''44.112°N 86.900°W''', use one of  
| For decimal coordinates, such as '''44.112°N 86.900°W''', use one of  
:'''<nowiki>{{coord|44.112|N|87.910|W|display=title}}</nowiki>''' {{coord|44.112|N|87.900|W|display=title}}
:'''<nowiki>{{coord|44.112|N|86.900|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|-87.910|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|-86.900|display=title}}</nowiki>'''  
:which will truncate any trailing zeros, resulting in  
:which will truncate any trailing zeros, resulting in  
:misleading precision by showing −86.9 rather than −86.900
:misleading precision by showing −86.9 rather than −86.900

Revision as of 05:54, 9 December 2008

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}}
For decimal coordinates, such as 44.112°N 86.900°W, use one of
{{coord|44.112|N|86.900|W|display=title}}
{{coord|44.112|-86.900|display=title}}
which will truncate any trailing zeros, resulting in
misleading precision by showing −86.9 rather than −86.900
Values (including degrees, minutes and seconds) are separated by a pipe ("|").
Latitude (N/S) before longitude (E/W). Map datum is WGS84.
Please don't be overly precise (0.0001° is <11 m, 1′′ is <31 m).
For full details on the use of {{coord}}, see Template:Coord
See also: Obtaining coordinates, coordinate conversion