Template:Coordinates/doc: Difference between revisions

→‎Example: corrections
No edit summary
(→‎Example: corrections)
 
(2 intermediate revisions by the same user not shown)
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.
==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}}
 
*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
*NE/W = NorthEast and West (whichfor only go with LatitudeLongitude)
*S/E = South and East (which only go with Longitude)
 
<!--Template categories here-->