3,166 bytes added
, 21:43, 6 November 2012
m{| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}"
|-
! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}}
|-
| To add {{Coord|57|18|22|N|4|27|32|W}} to the top of an article, use {{Tl|Coord}}, thus:
:'''<code><nowiki>{{Coord|57|18|22|N|4|27|32|W|display=title}}</nowiki></code>'''
These [[Geographic coordinate system|coordinates]] are in [[Degree (angle)|degrees]], [[Minute of arc|minutes]], and seconds of arc.
'title' means that the coordinates will be displayed next to the title.
|-
| To add {{Coord|44.112|N|87.913|W}} to the top of an article, use either
:'''<code><nowiki>{{Coord|44.112|N|87.913|W|display=title}}</nowiki></code>'''
''or''
:'''<code><nowiki>{{Coord|44.112|-87.913|display=title}}</nowiki></code>'''
These coordinates are in [[Decimal fraction|decimal]] degrees.
|-
|
* Degrees, minutes and seconds must be separated by [[Vertical bar|a pipe ("|")]].
* [[Geodetic system|Map datum]] must be WGS84 (except for off-earth bodies).
* Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (0.0001° is <11 m, 1″ is <31 m).
* Latitude (N/S) must appear before longitude (E/W).
|-
|Optional coordinate parameters follow the longitude and are separated by [[Underscore|an underscore ("_")]]:<br />
*[[Template:Coord#dim:D|dim]]: <code>dim:</code>'''''N''''' (viewing diameter in metres)
*[[Template:Coord#region:R|region]]: <code>region:</code>'''''R''''' ([[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] code)
*[[Template:Coord#type:T|type]]: <code>type:</code>'''''T''''' (<code>landmark</code> or <code>city(30,000)</code>, for example)
Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br />
*[[Template:Coord#Display|display]]
*: {{Para|display|inline}} (the default) to display in the body of the article only,
*: {{Para|display|title}} to display at the top of the article only, or
*: {{Para|display|inline,title}} to display in both places.
*[[Template:Coord#Name|name]]
*: <code>name=</code>'''''X''''' to label the place on maps (default is [[mw:Help:Magic words#Page names|PAGENAME]])
Thus: '''<code><nowiki>{{Coord|44.117|-87.913|dim:30_region:US-WI_type:event</nowiki></code>'''
::'''<code><nowiki>|display=inline,title|name=accident site}}</nowiki></code>'''
Use {{Para|display|title}} (or {{Para|display|inline,title}}) once per article, for the subject of the article, where appropriate.
|-
|
* Per [[WP:ORDER]], the template is placed in articles after any [[Wikipedia:Navigation templates|navigation templates]], but before any [[Wikipedia:Persondata|Persondata]] or [[Help:Category#Default sort key|Defaultsort]] templates, or [[Wikipedia:Categorization|Categories]].
* For full detail, refer to {{tl|Coord/doc}}.
* Additional guidance is available: [[Wikipedia:Obtaining geographic coordinates|obtaining coordinates]], [[Geographic coordinate conversion|converting coordinates]]
|}<noinclude>
[[Category:WikiProject Geographical coordinates]]
[[ar:قالب:إحداث/كوائف]]
[[bn:টেমপ্লেট:Coord how-to]]
[[cy:Nodyn:Coord how-to]]
[[ja:Template:Coord how-to]]
</noinclude>