Template:Coord how-to: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Stepheng3 clarify separator for optional parameters |
meta>Stepheng3 further clarification |
||
Line 13: | Line 13: | ||
| 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 are separated by [[Underscore|an underscore ("_")]]:<br /> | |Optional coordinate parameters are separated by [[Underscore|an underscore ("_")]]:<br /> | ||
*[[Template:Coord#dim:D|dim]]: <code>dim:N</code> (diameter in meters) | *[[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> | |- | ||
Full example: '''<nowiki>{{coord|44. | |Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br /> | ||
*[[Template:Coord#Display|display]]: <code>display=inline,title</code> or variant | |||
*[[Template:Coord#Name|name]]: <code>name=Xxxx</code> | |||
Full example: '''<nowiki>{{coord|44.117|-87.913|dim:30_region:US-WI_type:landmark|display=inline,title|name=Klann Road}}</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 17:54, 12 October 2009
Quick "how to" |
---|
To add the coordinates 57°18′22"N 4°27′32"W to the top of an article, use
These coordinates are in the format degrees/minutes/seconds |
For decimal coordinates, such as 44.112°N 86.913°W, use one of
|
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 coordinate parameters are separated by an underscore ("_"):
|
Other optional parameters are separated by a pipe ("|"): Full example: {{coord|44.117|-87.913|dim:30_region:US-WI_type:landmark|display=inline,title|name=Klann Road}} |
For full details on the use of {{coord}}, see Template:Coord See also: Obtaining coordinates, coordinate conversion |