From World Afropedia
Jump to: navigation, search
(Created page with "{| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}" |- ! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_ho...")
 
*>EmausBot
m (Bot: Migrating 1 langlinks, now provided by Wikidata on d:Q8579600)
Line 3: Line 3:
 
! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}}
 
! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}}
 
|-
 
|-
| To add {{Coord|57|18|22.5|N|4|27|32.7|W}} to the top of an article, use
+
| 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.5|N|4|27|32.7|W|display=title}}</nowiki></code>'''
+
:'''<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.
 
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  
 
| To add {{Coord|44.112|N|87.913|W}} to the top of an article, use either  
Line 15: Line 17:
 
|
 
|
 
* Degrees, minutes and seconds must be separated by [[Vertical bar|a pipe ("|")]].
 
* Degrees, minutes and seconds must be separated by [[Vertical bar|a pipe ("|")]].
* [[Geodetic system|Map datum]] should be WGS84.
+
* [[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).
+
* 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).
 
* Latitude (N/S) must appear before longitude (E/W).
 
|-
 
|-
 
|Optional coordinate parameters follow the longitude and are separated by [[Underscore|an underscore ("_")]]:<br />
 
|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 [[metre]]s)
+
*[[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#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)
 
*[[Template:Coord#type:T|type]]: <code>type:</code>'''''T''''' (<code>landmark</code> or <code>city(30,000)</code>, for example)
Line 26: Line 28:
 
Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br />
 
Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br />
 
*[[Template:Coord#Display|display]]
 
*[[Template:Coord#Display|display]]
*: <code>display=inline</code> (the default) to display in the body of the article only,
+
*: {{Para|display|inline}} (the default) to display in the body of the article only,
*: <code>display=title</code> to display in the title only, or
+
*: {{Para|display|title}} to display at the top of the article only, or
*: <code>display=inline,title</code> to display in both places.
+
*: {{Para|display|inline,title}} to display in both places.
 
*[[Template:Coord#Name|name]]
 
*[[Template:Coord#Name|name]]
 
*: <code>name=</code>'''''X''''' to label the place on maps (default is [[mw:Help:Magic words#Page names|PAGENAME]])
 
*: <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>'''
 
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>'''
 
::'''<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.
 
|-
 
|-
 
|
 
|
* For full detail, refer to {{tl|Coord/doc}}.
+
* 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 details, refer to {{tl|Coord/doc}}.
 
* Additional guidance is available: [[Wikipedia:Obtaining geographic coordinates|obtaining coordinates]], [[Geographic coordinate conversion|converting coordinates]]
 
* Additional guidance is available: [[Wikipedia:Obtaining geographic coordinates|obtaining coordinates]], [[Geographic coordinate conversion|converting coordinates]]
 
|}<noinclude>
 
|}<noinclude>
 +
[[Category:WikiProject Geographical coordinates]]
 +
 +
 +
</noinclude>

Revision as of 19:47, 2 April 2013

Quick how to
To add 57°18′22″N 4°27′32″W / 57.30611°N 4.45889°W / 57.30611; -4.45889 to the top of an article, use {{Coord}}, thus:
{{Coord|57|18|22|N|4|27|32|W|display=title}}

These coordinates are in degrees, minutes, and seconds of arc.

'title' means that the coordinates will be displayed next to the title.

To add 44°06′43″N 87°54′47″W / 44.112°N 87.913°W / 44.112; -87.913 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 must be separated by a pipe ("|").
  • Map datum must be WGS84 (except for off-earth bodies).
  • Avoid 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 an underscore ("_"):

Other optional parameters are separated by a pipe ("|"):

  • display
    |display=inline (the default) to display in the body of the article only,
    |display=title to display at the top of the article only, or
    |display=inline,title to display in both places.
  • name
    name=X to label the place on maps (default is PAGENAME)

Thus: {{Coord|44.117|-87.913|dim:30_region:US-WI_type:event

|display=inline,title|name=accident site}}

Use |display=title (or |display=inline,title) once per article, for the subject of the article, where appropriate.