Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Stepheng3
+examples for type: parameter
meta>Stepheng3
rephrase and reformat for improved clarity
Line 3: Line 3:
! style="background:#cef2e0;"| {{tnavbar-header|1= {{{title|Quick "how to"}}} |2=Coord_how-to}}
! style="background:#cef2e0;"| {{tnavbar-header|1= {{{title|Quick "how to"}}} |2=Coord_how-to}}
|-
|-
| To add the coordinates '''57°18′22"N 4°27′32"W''' to the top of an article, use
| To add '''57°18′22"N 4°27′32"W''' to the top of an article, use
:'''<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>'''
These coordinates are in the format <span style="text-decoration:underline;">degrees</span> | <span style="text-decoration:underline;">minutes</span> | <span style="text-decoration:underline;">seconds</span>
These coordinates are in <span style="text-decoration:underline;">degrees</span> | <span style="text-decoration:underline;">minutes</span> | <span style="text-decoration:underline;">seconds</span> (dms) format.
|-
|-
| For <span style="text-decoration:underline;">decimal</span> coordinates, such as '''44.112°N 86.913°W''', use one of
| To add '''44.112°N 86.913°W''' to the top of an article, use either
:'''<nowiki>{{coord|44.112|N|87.913|W|display=title}}</nowiki>'''  
:'''<nowiki>{{coord|44.112|N|87.913|W|display=title}}</nowiki>'''
''or''
:'''<nowiki>{{coord|44.112|-87.913|display=title}}</nowiki>'''
:'''<nowiki>{{coord|44.112|-87.913|display=title}}</nowiki>'''
These coordinates are in <span style="text-decoration:underline;">decimal degrees</span>.
|-
|-
| 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).
|
* Degrees, minutes and seconds are separated by [[Vertical bar|a pipe ("|")]].
* Latitude (N/S) must appear before longitude (E/W).
* [[Geodetic system|Map datum]] should be WGS84.
* To display the coordinates in the article as well, use "display=inline,title" instead of "display=title".
* Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (0.0001° is <11 m, 1′′ is <31 m).
|-
|-
|Optional coordinate parameters are separated by [[Underscore|an underscore ("_")]]:<br />
|Optional coordinate parameters are separated by [[Underscore|an underscore ("_")]]:<br />

Revision as of 23:59, 14 October 2009

Template:Tnavbar-header
To add 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 degrees | minutes | seconds (dms) format.

To add 44.112°N 86.913°W to the top of an article, use either
{{coord|44.112|N|87.913|W|display=title}}

or

{{coord|44.112|-87.913|display=title}}

These coordinates are in decimal degrees.

  • Degrees, minutes and seconds are separated by a pipe ("|").
  • Latitude (N/S) must appear before longitude (E/W).
  • Map datum should be 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 coordinate parameters are separated by an underscore ("_"):
Other optional parameters are separated by a pipe ("|"):
  • display: display=inline,title or variant
  • name: name=Xxxx

Full example: {{coord|44.117|-87.913|dim:30_region:US-WI_type:landmark|display=inline,title|name=Klann Road}}

For more detail, refer to {{Coord/doc}}

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