Difference between revisions of "Template:Gbmlink"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(typo)
imported>Hike395
(nicer)
Line 1: Line 1:
<includeonly>http://{{fullurl:toollabs:os/coor g/|pagename={{FULLPAGENAMEE}}&params={{urlencode:{{{1}}}_region:GB_scale:25000}}}}[[Category:Articles with OS grid coordinates]]</includeonly><noinclude>
+
<includeonly>{{canonicalurl:toollabs:os/coor g/|pagename={{FULLPAGENAMEE}}&params={{urlencode:{{{1}}}_region:GB_scale:25000}}}}[[Category:Articles with OS grid coordinates]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
  

Revision as of 14:55, 13 November 2016

Template documentation[view] [edit] [history] [purge]

This template generates a bare link to the geohack page for a specified UK grid reference. It is for use with the {{location map}} family of templates. It uses a tool on the Wikimedia Toolserver.

Usage

The only parameter allowed is a UK grip reference. See {{OS coord}} for allowable grid reference formats.

Gbmlink is located in Berkshire
Donnington
Donnington
Windsor
Windsor
Two castles in Berkshire
{{Location map+  |Berkshire |width=300 |float=right |caption=Two castles in Berkshire
  |AlternativeMap=Berkshire UK district map (blank).svg
  |places=
  {{Location map~ |Berkshire |lat=51.419722 |long=-1.338056 |label='''Donnington'''
    |mark = Green pog.svg |link={{gbmlink|SU4629969090}} }}
  {{Location map~ |Berkshire |lat=51.483889 |long=-0.604444 |label='''Windsor''' |position=left 
    |mark=Green pog.svg |link={{gbmlink|SU9701977005}} }}
}}