Difference between revisions of "Template:Gbmlink"
Jump to navigation
Jump to search
imported>Hike395 (typo) |
imported>Hike395 (nicer) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{{canonicalurl:toollabs:os/coor g/|pagename={{FULLPAGENAMEE}}¶ms={{urlencode:{{{1}}}_region:GB_scale:25000}}}}[[Category:Articles with OS grid coordinates]]</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
Revision as of 14:55, 13 November 2016
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.
{{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}} }}
}}
| The above documentation is transcluded from Template:Gbmlink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |