Difference between revisions of "Template:Gbmlink/doc"

From blackwiki
Jump to navigation Jump to search
(Corrected typo)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 26: Line 26:
 
</pre>
 
</pre>
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- categories and interwiki links -->
 
<!-- categories and interwiki links -->
 
[[Category:Coordinates templates|{{PAGENAME}}]]
 
[[Category:Coordinates templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 15:19, 25 April 2020

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/doc 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}} }}
}}