Difference between revisions of "Template:Coords"

From Hitchwiki
Jump to navigation Jump to search
m
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>'''Coordinates''' <span style="font-size: 0.95em; color:#000; display:block; float: right; margin: 5px; padding: 3px; background: #555; width: 200px; height: 23px;"><span title="Latitude">Lat</span> ({{{2}}}), <span title="Longitude">Lon</span> ({{{3}}})</span></includeonly><noinclude>
+
'''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=18/{{{1}}}/{{{2}}} <small><sup>OSM</sup></small>]
 +
</span></includeonly><noinclude>
  
[[Category:Templates|Coords]]
+
 
 +
==Usage==
 +
*Go to Google Maps.
 +
*Right-click the location, click on the coordinates to copy.
 +
*Input like this:'''<nowiki> {{Coords|49.9016|18.3063}}</nowiki>'''
 +
*4 Decimals gives enough accuracy.
 +
*It wil display:
 +
{{Coords|49.9016|18.3063}}
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:16, 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