Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing
m move common details to own section; save space
meta>Pigsonthewing
m streamline styles
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable" style="background:#f5fffa;"
! style="background:#cef2e0;"| Quick "how to"
! style="background:#cef2e0;"| Quick "how to"
|-
|-
| style="background:#f5fffa;" | To add the coordinates '''57°18′N 4°27′W''' to the top of an article, use
| 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>'''
|-
|-
| style="background:#f5fffa;" | For decimal coordinates, such as '''44.1°N 86.9°W''', use one of  
| For decimal coordinates, such as '''44.1°N 86.9°W''', use one of  
:'''<nowiki>{{coord|44.1|N|87.9|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.1|N|87.9|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.1|-87.9|display=title}}</nowiki>'''
:'''<nowiki>{{coord|44.1|-87.9|display=title}}</nowiki>'''
|-
|-
| style="background:#f5fffa;" | Values (including degrees, minutes and seconds) are separated by [[Vertical bar|a pipe ("|")]]. <br> Latitude (N/S) before longitude (E/W)
| Values (including degrees, minutes and seconds) are separated by [[Vertical bar|a pipe ("|")]]. <br> Latitude (N/S) before longitude (E/W)
|-
|-
| 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]]
| 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]]
|}<noinclude>[[Category:WikiProject Geographical coordinates]]</noinclude>
|}<noinclude>[[Category:WikiProject Geographical coordinates]]</noinclude>

Revision as of 21:42, 14 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}}
For decimal coordinates, such as 44.1°N 86.9°W, use one of
{{coord|44.1|N|87.9|W|display=title}}
{{coord|44.1|-87.9|display=title}}
Values (including degrees, minutes and seconds) are separated by a pipe ("|").
Latitude (N/S) before longitude (E/W)
For full details on the use of {{coord}}, see Template:Coord
See also: Obtaining coordinates, coordinate conversion