Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing
non-terrestrial
meta>Dispenser
XHTML; parameters so it can be collapsed
Line 1: Line 1:
{| class="wikitable" style="background:#f5fffa;"
{| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}"
! style="background:#cef2e0;"| Quick "how to"
|-
! style="background:#cef2e0;"| {{{title|Quick "how to"}}}
|-
|-
| 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
Line 6: Line 7:
These coordinates are in the format <u>degrees</u>/<u>minutes</u>/<u>seconds</u>
These coordinates are in the format <u>degrees</u>/<u>minutes</u>/<u>seconds</u>
|-
|-
| For <u>decimal</u> 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  
:'''<nowiki>{{coord|44.112|N|87.913|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|N|87.913|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|-87.913|display=title}}</nowiki>'''
:'''<nowiki>{{coord|44.112|-87.913|display=title}}</nowiki>'''
|-
|-
| Values (including degrees, minutes and seconds) are separated by [[Vertical bar|a pipe ("|")]]. <br> Latitude (N/S) before longitude (E/W). [[Geodetic system|Map datum]] is WGS84.<br>To display the coordinates in the article as well, use "display=inline,title" instead of "display=title".<br>Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (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). [[Geodetic system|Map datum]] is WGS84.<br>To display the coordinates in the article as well, use "display=inline,title" instead of "display=title".<br/>Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (0.0001° is <11 m, 1′′ is <31 m).
|-
|-
|Optional parameters:<br />
|Optional parameters:<br />
Line 21: Line 22:
See also: [[Wikipedia:Obtaining geographic coordinates|Obtaining coordinates]], [[Geographic coordinate conversion|coordinate conversion]]<br />
See also: [[Wikipedia:Obtaining geographic coordinates|Obtaining coordinates]], [[Geographic coordinate conversion|coordinate conversion]]<br />
For non-terrestrial coordinates, see [[Wikipedia:WikiProject_Geographical_coordinates#globe:G|Other globes]]
For non-terrestrial coordinates, see [[Wikipedia:WikiProject_Geographical_coordinates#globe:G|Other globes]]
|}<noinclude>[[Category:WikiProject Geographical coordinates]]</noinclude>
|}<noinclude>
[[Category:WikiProject Geographical coordinates]]</noinclude>

Revision as of 04:02, 5 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 parameters:

Full example: {{coord|44.112|-87.913|region:US-WI_type:landmark|display=inline,title}}

For full details on the use of {{coord}}, see Template:Coord

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