Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Coordinates/doc: Difference between revisions

Template page
Content added Content deleted
No edit summary
(→‎Example: corrections)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
This links directly to the Wikimedia Foundation Labs GeoHack mapping service. All that is required are decimal figures for Latitude N/W and Longitude S/E.
This links directly to the Wikimedia Foundation Labs GeoHack mapping service. All that is required are decimal figures for Latitude N/W and Longitude S/E.
==Example==
==Example==
Example: <code><nowiki>{{coordinates|{{PAGENAME}}|50.0505|N|2.6856|E}}</nowiki></code> which renders as {{coordinates|{{PAGENAME}}|50.0505|N|2.6856|E}}
Example: <code><nowiki>{{coordinates|50.0505|N|2.6856|E}}</nowiki></code> which renders as {{coordinates|50.0505|N|2.6856|E}}


*N/S = North and South (for Latitude)
*<code><nowiki>{{PAGENAME}}</nowiki></code> provides the name of the page in the link to the map page
*N/W = North and West (which only go with Latitude)
*E/W = East and West (for Longitude)
*S/E = South and East (which only go with Longitude)


<!--Template categories here-->
<!--Template categories here-->

Latest revision as of 13:29, 3 April 2020

This is a documentation subpage for Template:Coordinates.
It contains usage information, categories and other content that is not part of the original template page.


Usage

This links directly to the Wikimedia Foundation Labs GeoHack mapping service. All that is required are decimal figures for Latitude N/W and Longitude S/E.

Example

Example: {{coordinates|50.0505|N|2.6856|E}} which renders as Latitude: 50.0505°N / Longitude: 2.6856°E

  • N/S = North and South (for Latitude)
  • E/W = East and West (for Longitude)


Cookies help us deliver our services. By using our services, you agree to our use of cookies.