Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Docu
mNo edit summary
meta>Gene Nygaard
fix examples to warn users of limitations
Line 5: Line 5:
:'''<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>'''
|-
|-
| For decimal coordinates, such as '''44.112°N 86.913°W''', use one of  
| For decimal coordinates, such as '''44.112°N 86.900°W''', use one of  
:'''<nowiki>{{coord|44.112|N|87.913|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|N|87.910|W|display=title}}</nowiki>''' {{coord|44.112|N|87.900|W|display=title}}
:'''<nowiki>{{coord|44.112|-87.913|display=title}}</nowiki>'''
:'''<nowiki>{{coord|44.112|-87.910|display=title}}</nowiki>'''  
: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 [[Vertical bar|a pipe ("|")]]. <br> Latitude (N/S) before longitude (E/W). [[Map datum]] is WGS84.<br>Please don't be [[Wikipedia:WikiProject Geographical coordinates#Precision|overly precise]] (0.0001° is <11 m, 1′′ is <31 m).
| Values (including degrees, minutes and seconds) are separated by [[Vertical bar|a pipe ("|")]]. <br> Latitude (N/S) before longitude (E/W). [[Map datum]] is WGS84.<br>Please don't be [[Wikipedia:WikiProject Geographical coordinates#Precision|overly precise]] (0.0001° is <11 m, 1′′ is <31 m).

Revision as of 05:52, 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|87.910|W|display=title}} Lua error: callParserFunction: function "#coordinates" was not found.
{{coord|44.112|-87.910|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