Difference between revisions of "Template:Maplink"

From Wikispooks
Jump to navigation Jump to search
Line 9: Line 9:
  
 
*<code><nowiki> {{Maplink|Coordinates}} </nowiki></code>
 
*<code><nowiki> {{Maplink|Coordinates}} </nowiki></code>
</noinclude>[http://maps.google.com/maps?q=loc:{{{1}}} Map]
+
</noinclude>[http://maps.google.com/maps?q=loc:{{{1}}}&z=10 Map]

Revision as of 09:07, 21 July 2010

This template is to facilitate linking to Google Maps. The format for Google maps addresses on WikiSpooks is:

  • http://maps.google.com/maps?q=loc:latitude,longitude&z=10

where "latitude" and "longitude" are decimal number coordinates and represented in the template as a single parameter consisting of the decimal latitude and longitude coordinates separated by a comma

Its usage is

  • {{Maplink|Coordinates}}

Map