# வார்ப்புரு:Coord/doc



## Quick guide

__TOC__  
## Purpose
provides a standard notation for encoding locations by their நிலநேர்க்கோடு and நிலநிரைக்கோடு coordinates. It is primarily for specifying the WGS84 geographic coordinates of locations on புவி, at the same time emitting a machine-readable Geo microformat. However, it can also encode locations on natural satellites, dwarf planets, and planets other than Earth.  

- To specify celestial coordinates, use instead.
- Tag articles which lack coordinates (but need them) with .
- If the subject's location is truly unknown or disputed, note this with .

See also .  

## Features
Latitude and longitude may be specified (with appropriate precision) either in decimal notation or as degrees/minutes/seconds. By default, coordinates appear in the format used to specify them. However, the <code>format=</code> parameter can be used to force display in a particular format.  

The template displays the formatted coordinates with a மீயிணைப்பு to GeoHack. GeoHack displays information customized to the location, including links to external mapping services.  

For terrestrial locations, a blue globe appears to the of the hyperlink. Clicking on the globe activates the WikiMiniAtlas (requires யாவாக்கிறிட்டு).  

By default, coordinates appear "in line" with the adjacent text. However, the <code>display=</code> parameter can be used to move the coordinates up near the page title—or display them in both places at once.  

The template outputs coordinates in three formats:  
- Degree/minutes/seconds ("DMS", precision is degrees, or degrees/minutes, or degrees/minutes/seconds, based on input precision).
- Decimal degrees (varying the number of decimal places based on input precision)
- A machine readable Geo microformat.

Logged-in users can customize how coordinates appear in their browsers.  

You can get coordinates from Wikidata by transcluding this template without any numbered arguments.  

## Caveats
The template **must not** be modified without prior discussion.  

Tools which read Wikipedia database dumps (such as கூகிள் எர்த்) often ignore inline coordinates. To ensure that coordinates are seen by these tools, one set should be displayed beside the title. See How do I get my Wikipedia article to show up in the Google Earth Geographic Web layer?. However, if multiple title coordinates appear on a single page, they will overlap, making them illegible.  

## Superseded templates
This single template supersedes , (and others in that family which have since been redirected to it), plus the [ Geolinks] and [ Mapit] templates. Most parameters can be used as before – see Usage.  

Examples:  
<table>  
<tr><td>&#123;{coord|10.2|N|-20.3|E|**type:**city}&#125;</td><td>Replaces &#123;{coor d|10.2|N|-20.3|E|city}&#125;</td></tr>  

<tr><td>&#123;{coord|44.4|-111.1|**type:city_region:US**|display=inline,title}&#125;</td><td>Replaces &#123;{Geolinks-**US-cityscale**|44.4|-111.1}&#125;</td></tr>  

<tr><td>&#123;{coord|51.01234|-1.56789|**type:landmark_region:GB**|display=inline,title}&#125;</td><td>Replaces &#123;{Geolinks-**UK-buildingscale**|51.01234|-1.56789}&#125;</td></tr>  

<tr><td>&#123;{coord|-35.5|150.1|**type:landmark_region:AU**|display=inline,title}&#125;</td><td>Replaces &#123;{Mapit-**AUS-suburbscale**|lat=-35.5|long=150.1}&#125;</td></tr>  

<tr><td>&#123;{coord|12|34|12|N|45|33|45|W|**display=title**}&#125;</td><td>Replaces &#123;{**CoorHeader**|12|34|12|N|45|33|45|W}&#125;</td></tr>  

</table>  

## Usage
**&#123;{coord|***latitude***|***longitude***|***coordinate parameters***|***template parameters***}&#125;**  
**&#123;{coord|***dd***|***N/S***|***dd***|***E/W***|***coordinate parameters***|***template parameters***}&#125;**  
**&#123;{coord|***dd***|***mm***|***N/S***|***dd***|***mm***|***E/W***|***coordinate parameters***|***template parameters***}&#125;**  
**&#123;{coord|***dd***|***mm***|***ss***|***N/S***|***dd***|***mm***|***ss***|***E/W***|***coordinate parameters***|***template parameters***}&#125;**  

The hemisphere identifiers (*N/S*) and (*E/W*), if used, must be adjacent to the enclosing pipe "**<code>|</code>**" characters, and cannot be preceded or succeeded by spaces.  

There are two kinds of parameters, all optional:  

- <span id="1">**Coordinate parameters**</span> are parameters that passes to the map server. These have the format *parameter:value* and are separated from each other by the underscore character ( _ ). The supported coordinate parameters are *dim:*, *globe:*, *region:*, *scale:*, *source:*, and *type:*. See coordinate parameters for details and examples.

- <span id="2">**Template parameters**</span> are parameters used by the template. These have format *parameter=value* and are separated from each other by the pipe character ( | ). The supported template parameters are *display=*, *format=*, *name=*, and *notes=*.
:* **display=** can be one of the following:  
::* <code>display=inline</code> – Display the coordinate inline (default)  
::* <code>display=title</code> – Display the coordinate at the top of the article, beside the article's title (replaces family)  
::** shortcut: <code>display=t</code>  
::* <code>display=inline,title</code> – Display the coordinate both inline and beside the article's title (replaces family)  
::** shortcut: <code>display=it</code>  
::* <code>display=title,inline</code> has the same effect as <code>display=inline,title</code>  
::Note: the <code>title</code> attribute indicates that the coordinates apply to the entire article, and not just one of (perhaps many) places mentioned in it &mdash; so it should only be omitted in the latter case.  
:* **format=** can be used to force *dec* or *dms* coordinate display.  
::* <code>format=dec</code> reformats the coordinates to <span>decimal degrees</span> format.  
::* <code>format=dms</code> reformats the coordinates to <span>degrees | minutes | seconds</span> format.  
:* **name=** can be used to annotate inline coordinates for display in map services such as the WikiMiniAtlas. If omitted, the article's title (PAGENAME) is assumed.  
::Note: a *name=* parameter causes to emit an hCard microformat using that name, *even if used within an existing hCard*. Do not use when the name is that of a person (e.g for a gravesite), as the generated hCard would be invalid. Also, do not use square brackets in names.  
:* **notes=** specifies text to be displayed immediately following the coordinates. This is primarily intended for adding footnotes to coordinates displayed beside the title.  

## Displaying all coordinate links on one map
The template can be used in an article with coordinates. This template creates links to Google Maps and Bing which display all the coordinates on a single map, and links to other services which allow the coordinates to be used or downloaded in a variety of formats.  

## Examples
| <code></code> | Toronto – low precision decimal |  |
| --- | --- | --- |
| <code></code> | Toronto – medium precision decimal with trailing zeroes |  |
| <code></code> | Toronto – high precision decimal with explicit hemisphere notation |  |
| <code></code> | Toronto – degrees & minutes |  |
| <code></code> | Toronto – degrees, minutes & seconds |  |
| <code></code> | Toronto – degrees, minutes, seconds & fractions of seconds |  |
| <code></code> | Moscow – N & E |  |
| <code></code> | Convert to dms format |  |
| <code></code> | Decimal conversion without N/S/E/W |  |
| <code></code> | Convert to decimal and label on some maps |  |
| <code></code> | Cape Town – S & E |  |
| <code></code> | People's Republic of China |  |
| <code></code> | Rio – S & W |  |
| <code></code> | A degree confluence. |  |
| <code></code> | Birmingham – with display, notes, and parameter settings; note that these coordinates are also displayed at the top of this page. | } |

=