Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Dispenser
XHTML; parameters so it can be collapsed
meta>Dispenser
XHTML again ; adding dim:D
Line 5: Line 5:
| 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
:'''<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 <u>degrees</u>/<u>minutes</u>/<u>seconds</u>
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>
|-
|-
| For <span style="text-decoration:underline;">decimal</span> 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  
Line 14: Line 14:
|-
|-
|Optional parameters:<br />
|Optional parameters:<br />
*[[Template:Coord#dim:D|dim]]: <code>dim:N</code> (diameter in meters)
*[[Template:Coord#region:R|region]]: <code>region:XX_</code> (uses [[ISO 3166-2]] code)
*[[Template:Coord#region:R|region]]: <code>region:XX_</code> (uses [[ISO 3166-2]] code)
*[[Template:Coord#type:T|type]]: <code>type:XXX</code>
*[[Template:Coord#type:T|type]]: <code>type:XXX</code>
*[[Template:Coord#Display|display]]: <code>|display=inline,title</code> or variant
*[[Template:Coord#Display|display]]: <code>|display=inline,title</code> or variant
Full example: '''<nowiki>{{coord|44.112|-87.913|region:US-WI_type:landmark|display=inline,title}}</nowiki>'''
Full example: '''<nowiki>{{coord|44.112|-87.913|dim:30_region:US-WI_type:landmark|display=inline,title}}</nowiki>'''
|-
|-
| For full details on the use of {{tl|coord}}, see [[Template:Coord]]<br />
| For full details on the use of {{tl|coord}}, see [[Template:Coord]]<br />

Revision as of 04:34, 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|dim:30_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