Difference between revisions of "Template:Coords"

From Hitchwiki
Jump to navigation Jump to search
m (Reverted edits by Chris9012 (talk) to last revision by Mikael)
(Tag: Rollback)
Line 1: Line 1:
 
<includeonly><span style="font-size: 12px; line-height: 12px; color:#555; display:block; float: right; margin: 5px; padding: 3px; background: #ebebeb; width: 200px;">'''Coordinates:'''  
 
<includeonly><span style="font-size: 12px; line-height: 12px; color:#555; display:block; float: right; margin: 5px; padding: 3px; background: #ebebeb; width: 200px;">'''Coordinates:'''  
  
[http://maps.google.com/maps?f=q&q={{{lat}}},{{{lon}}}&ie=UTF8 <span title="Latitude">Lat</span> {{{lat}}}, <span title="Longitude">Lon</span> {{{lon}}}</span>]</includeonly><noinclude>
+
[http://maps.google.com/maps?f=q&q={{{1}}},{{{2}}}&ie=UTF8 '''Coordinates: {{{1}}}, {{{2}}}''']</span></includeonly><noinclude>
  
Under thinking and constructin. :P -[[User:Mikael|Mikael]] 16:15, 18 May 2009 (UTC)
 
  
[[Category:Templates|Coords]]
+
==Usage==
 +
*Go to Google Maps
 +
*Right-click the location, click on the coordinates to copy.
 +
*Input like this:'''<nowiki> {{Coords|19.9031|-75.0992}}</nowiki>'''
 +
*It wil display: {{Coords|19.9031|-75.0992}}
 +
*It wil be a clickable link to Google Maps
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:25, 7 December 2024


Usage

  • Go to Google Maps
  • Right-click the location, click on the coordinates to copy.
  • Input like this: {{Coords|19.9031|-75.0992}}
  • It wil display: Coordinates:

Coordinates: 19.9031, -75.0992

  • It wil be a clickable link to Google Maps