Difference between revisions of "Template:Maplink"

From Wikispooks
Jump to navigation Jump to search
Line 8: Line 8:
 
Its usage is   
 
Its usage is   
  
*<code><nowiki> {{subst:Maplink}} </nowiki></code>
+
*<code><nowiki> {{Maplink}} </nowiki></code>
  
 
</noinclude>
 
</noinclude>
 
 
[http://maps.google.com/maps?q=loc:{{{latitude}}},{{{longitude}}} Map]
 
[http://maps.google.com/maps?q=loc:{{{latitude}}},{{{longitude}}} Map]

Revision as of 08:25, 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 parameters "latitude" and "longitude"

Its usage is

  • {{Maplink}}


Map