Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Docu
mNo edit summary
meta>Docu
m fmt
Line 4: Line 4:
| style="background:#f5fffa;" | To add the coordinates '''57°18′N 4°27′W''' to the top of an article, use
| style="background:#f5fffa;" | To add the coordinates '''57°18′N 4°27′W''' to the top of an article, use
:'''<nowiki>{{coord|57|18|N|4|27|W|display=title}}</nowiki>'''
:'''<nowiki>{{coord|57|18|N|4|27|W|display=title}}</nowiki>'''
Degrees, minutes and seconds are separated by a pipe ("|").
Degrees, minutes (and seconds) are separated by a pipe ("|").
|-
|-
| style="background:#f5fffa;" | For decimal coordinates, such as '''44.1°N 86.9°W''', use  
| style="background:#f5fffa;" | For decimal coordinates, such as '''44.1°N 86.9°W''', use  
:'''<nowiki>{{coord|44.1|N|87.9|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.1|N|87.9|W|display=title}}</nowiki>'''  
or
:or
:'''<nowiki>{{coord|44.1|-87.9|display=title}}</nowiki>'''
:'''<nowiki>{{coord|44.1|-87.9|display=title}}</nowiki>'''
|-
|-
| style="background:#f5fffa;" | For full details on the use of {{tl|coord}}, see [[Template:Coord]]<br> See also: [[Wikipedia:Obtaining geographic coordinates|Obtaining geographic coordinates]]
| style="background:#f5fffa;" | For full details on the use of {{tl|coord}}, see [[Template:Coord]]<br> See also: [[Wikipedia:Obtaining geographic coordinates|Obtaining coordinates]], [[Geographic coordinate conversion|coordinate conversion]]
|}
|}

Revision as of 16:23, 11 October 2008

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

Degrees, minutes (and seconds) are separated by a pipe ("|").

For decimal coordinates, such as 44.1°N 86.9°W, use
{{coord|44.1|N|87.9|W|display=title}}
or
{{coord|44.1|-87.9|display=title}}
For full details on the use of {{coord}}, see Template:Coord
See also: Obtaining coordinates, coordinate conversion