Editing
Template:Coord/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==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 also accepts and displays coordinates formatted as degrees and decimal minutes as found on charts and maritime references. The template displays the formatted coordinates with a [[hyperlink]] to [[mw:GeoHack|GeoHack]]. GeoHack displays information customized to the location, including links to external mapping services. For terrestrial locations, a blue globe ([[Image:Erioll_world.svg|18px]]) appears to the left of the hyperlink. Clicking on the globe activates the [[:meta:WikiMiniAtlas|WikiMiniAtlas]] (requires [[JavaScript]]). 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 (in desktop view only; title coordinates do not display in mobile view)βor display them in both places at once. The template outputs coordinates in three formats: * [[Degree (angle)|Degree]]/[[Minute of arc|minutes]]/[[Second of arc|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)|Geo microformat]]. Additional features * Logged-in users can [[#Per-user_display_customization|customize]] how coordinates appear in their browsers. * You can get coordinates from Wikidata by transcluding this template without any numbered arguments. * You can extract information from the Coord template for use in mathematical expressions. For details, see [[:Module:Coordinates]]. * All coordinates used in a page through this template are registered in the [[mw:API:Geosearch|geosearch API]]. If a coordinate is using title display, then these coordinates will be marked as the primary coordinates with regards to the page and therefore the topic of that page.
Summary:
Please note that all contributions to UBWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
UBWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information