User:Evad37/Custom GeoHack replacement
Instructions
- Add the following line to your common.js (or skin-specific js):
- :{{tlsx|lusc|User:Evad37/Custom_GeoHack_replacement.js}}
- Create your custom GeoHack user subpage at User:YOURUSERNAME/GeoHack
- * use whatever content and formatting you like
- * use the replacement variables above in external links, e.g. for Google Maps use
http://maps.google.com/maps?ll={latdegdec},{londegdec}&spn={span},{span}&q={latdegdec},{londegdec} - * more urls can be found at Template:GeoTemplate
- * see User:Evad37/GeoHack for an example page
- Now coordinates will link to this page instead of GeoHack (specifying real values to take the place of the replacement variables in external links)
See also
User:Evad37/GeoHack replacement script – alternative script which replaces GeoHack with a direct link to a single mapping provider
{{User:Evad37/Scripts navbox}}