Template:Ordnance Survey coordinates/sandbox
Appearance
(Redirected from Template:OS coord/sandbox)
This is the template sandbox page for Template:Ordnance Survey coordinates (diff). See also the companion subpage for test cases. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template creates a link to a list of map sources. It is the same as {{coord}} but uses a UK Ordnance Survey grid reference as the coordinates.
Usage
[edit]Use:
- {{Ordnance Survey coordinates|cc|tt}}
Where:
- cc is the grid reference in one of the formats listed below followed, optionally, by any additional parameters. For example: TQ123456_region:GB_scale:25000
- tt is the text to appear in the link.
Grid reference formats - letters are not case-sensitive:
Great Britain | |
888_999 | Two decimal numbers - eastings then northings in metres separated by an underscore (for consistency with {{coord}}) E.g.: 439668_1175316 |
SE | Standard grid references. In each of these cases, the actual coordinates passed to the map sources page will be the centre of the square that the grid ref defines. Spaces between elements are optional. |
SE16 | |
SE1267 | |
SE 123 678 | |
SE 1234 6789 | |
SE1234567890 | Full "ten figure" grid reference |
Ireland | |
i888_999 | Letter 'i' followed by two decimal numbers - eastings then northings in metres separated by an underscore |
R | Standard grid references. In each of these cases, the actual coordinates passed to the map sources page will be the centre of the square that the grid ref defines |
R16 | |
R1267 | |
R123678 | |
R12346789 | |
R1234567890 | Full "ten figure" grid reference |
Named arguments
[edit]|name=
title for GeoHack page, also used by {{GeoGroup}}
See also
[edit]For further information, see WikiProject Geographical coordinates. For more UK mapping templates, see Template:Gbmapping (talk).