Difference between revisions of "Template:Maplink"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
*<Code><nowiki>http://maps.google.com/maps?q=loc:latitude,longitude&z=10 </nowiki></code> | *<Code><nowiki>http://maps.google.com/maps?q=loc:latitude,longitude&z=10 </nowiki></code> | ||
− | where "latitude" and "longitude" are decimal number coordinates and represented in the template as | + | 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 | Its usage is | ||
− | *<code><nowiki> {{Maplink}} </nowiki></code> | + | *<code><nowiki> {{Maplink|Coordinates}} </nowiki></code> |
− | |||
</noinclude> | </noinclude> | ||
− | [http://maps.google.com/maps?q=loc:{{{ | + | [http://maps.google.com/maps?q=loc:{{{1}}} Map] |
Revision as of 08:36, 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}}