Difference between revisions of "Template:Gbmlink"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(nicer)
imported>Pppery
(Restore tfd tag)
Line 1: Line 1:
<includeonly>{{canonicalurl:toollabs:os/coor g/|pagename={{FULLPAGENAMEE}}&params={{urlencode:{{{1}}}_region:GB_scale:25000}}}}[[Category:Articles with OS grid coordinates]]</includeonly><noinclude>
+
{{Template for discussion/dated|page=Gbmlink|link=Wikipedia:Templates for discussion/Log/2016 November 13#Template:Gbmlink|help=off|type=inline|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<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 23:38, 13 November 2016

Template:Template for discussion/dated

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
link=Template:Template for discussion/datedhttps://blackwiki.org/index.php?title=Toollabs:os/coor_g/&pagename=Template:Gbmlink&params=SU4629969090_region%3AGB_scale%3A25000
Donnington
link=Template:Template for discussion/datedhttps://blackwiki.org/index.php?title=Toollabs:os/coor_g/&pagename=Template:Gbmlink&params=SU9701977005_region%3AGB_scale%3A25000
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}} }}
}}