Difference between revisions of "Template:Coords"

From Hitchwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
+
'''Coordinates:&nbsp;{{{1}}},&nbsp;{{{2}}}'''&nbsp;[http://maps.google.com/maps?f=q&q={{{1}}},{{{2}}}&ie=UTF8 <small><sup>Google</sup></small>]&nbsp;[https://www.openstreetmap.org/#map=15/{{{1}}}/{{{2}}} <small><sup>OSM</sup></small>]
[http://maps.google.com/maps?f=q&q={{{1}}},{{{2}}}&ie=UTF8 '''Coordinates: {{{1}}}, {{{2}}}''']</span></includeonly><noinclude>
+
</span></includeonly><noinclude>
  
  
 
==Usage==
 
==Usage==
*Go to Google Maps
+
*Go to Google Maps.
 
*Right-click the location, click on the coordinates to copy.
 
*Right-click the location, click on the coordinates to copy.
*Input like this:'''<nowiki> {{Coords|19.9031|-75.0992}}</nowiki>'''
+
*Input like this:'''<nowiki> {{Coords|49.9016|18.3063}}</nowiki>'''  
*It wil display: {{Coords|19.9031|-75.0992}}
+
*4 Decimals gives enough accuracy.
*It wil be a clickable link to Google Maps
+
*It wil display:  
 +
{{Coords|49.9016|18.3063}}
 +
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:04, 26 March 2025

Coordinates: {{{1}}}, {{{2}}} Google OSM </includeonly>


Usage

  • Go to Google Maps.
  • Right-click the location, click on the coordinates to copy.
  • Input like this: {{Coords|49.9016|18.3063}}
  • 4 Decimals gives enough accuracy.
  • It wil display:

Coordinates: 49.9016, 18.3063 Google OSM