Module:Ordnance Survey coordinates/doc

From HandWiki
< Module:Ordnance Survey coordinates
Revision as of 09:24, 30 January 2021 by imported>Jworkorg (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Ordnance Survey coordinates

Usage

Converts a OS grid ref to a lat/long hyperlink to geohack.

{{#invoke:Ordnance Survey coordinates|main|SK135733}} ← Two-letter code interpreted as OS grid ref in Great Britain
{{#invoke:Ordnance Survey coordinates|main|O169318}} ← One-letter code interpreted as Irish OS grid ref
{{#invoke:Ordnance Survey coordinates|main|439668_1175316}} ← Two digit strings interpreted as easting/northing in meters in Great Britain
{{#invoke:Ordnance Survey coordinates|main|i88888_99999}} ← String starting with i is easting/northing in meters in Ireland
{{#invoke:Ordnance Survey coordinates|main|SK135733|Miller's Dale}} ← Second argument is used as link text
{{#invoke:Ordnance Survey coordinates|main|SK135733_scale:25000_region:GB-DBY}} ← extra underscored parameters passed to geohack

License

Template:GPL-2