Template:Coordinates/doc: Difference between revisions

no edit summary
(doc page created)
 
No edit summary
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|°}}
 
*<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)
*S/E = South and East (which only go with Longitude)
*° is purely for aesthetics in the rendered output of the link for the decimal degrees
 
<!--Template categories here-->