Template:Coord how-to: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pigsonthewing
tweak
meta>Pigsonthewing
m links
Line 12: Line 12:
|-
|-
|Optional parameters:<br />
|Optional parameters:<br />
*region: <code>region:XX_</code> (uses [[ISO 3166-2]] code)
*[[Template:Coord#region:R|region]]: <code>region:XX_</code> (uses [[ISO 3166-2]] code)
*type: <code>type:XXX</code>
*[[Template:Coord#type:T|type]]: <code>type:XXX</code>
*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|region:US-WI_type:landmark|display=inline,title}}</nowiki>'''
|-
|-
| 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 22:22, 14 December 2008

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}}
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.
Please don't be overly precise (0.0001° is <11 m, 1′′ is <31 m).
Optional parameters:
  • region: region:XX_ (uses ISO 3166-2 code)
  • type: type:XXX
  • [{Template:Coord#Display|display]]: |display=inline,title or variant

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