Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Os-grid-nav/doc: Difference between revisions

Template page
Content added Content deleted
(removed syntax not needed for this template)
 
Line 4: Line 4:
*'''lat and long''': Should be in decimal degrees, i.e., '''54.587016''' and '''-3.1381819'''
*'''lat and long''': Should be in decimal degrees, i.e., '''54.587016''' and '''-3.1381819'''
*'''zoom''': level works well at about '''14'''.
*'''zoom''': level works well at about '''14'''.
*'''osgrid-n''' is the grid number immediately '''North''' of the centre number.
*'''osgrid-10m''': Use the eight-digit number (with spaces) for 10m accuracy, i.e., '''NY 2654 2190'''. This parameter has a category link built in. If the category already exists, the link will be blue. If it does not, the link will be red.
*'''osgrid-s''' is the grid number immediately '''South''' of the centre number.
*'''w3w''': This is the what3words link. The hyperlink is built in so just include the three words with full stops between, i.e., '''grandest.ambitions.flipper'''
*All the remaining grid numbers correspond to which direction they are located: '''-nw''' = north-west, '''-se''' = south-east etc.
*'''osgrid-n''' and '''osgrid-s''' etc., refers to the National Grid squares in that direction from the central grid number.
<pre>
<pre>
{{location
{{location
Line 13: Line 13:
|long =
|long =
|zoom =
|zoom =
|osgrid-10m =
|w3w =
<!-------------GRID LINKS-->
<!-------------GRID LINKS-->
|osgrid-nw =
|osgrid-nw =

Latest revision as of 13:14, 8 February 2023

This is a documentation subpage for Template:Os-grid-nav.
It contains usage information, categories and other content that is not part of the original template page.


Usage

Copy and paste the following syntax into the details tab/page and fill out accordingly.

  • lat and long: Should be in decimal degrees, i.e., 54.587016 and -3.1381819
  • zoom: level works well at about 14.
  • osgrid-n is the grid number immediately North of the centre number.
  • osgrid-s is the grid number immediately South of the centre number.
  • All the remaining grid numbers correspond to which direction they are located: -nw = north-west, -se = south-east etc.
{{location
<!-------------MAP-->
 |lat        =
 |long       =
 |zoom       =
<!-------------GRID LINKS-->
 |osgrid-nw  =
 |osgrid-n   =
 |osgrid-ne  =
 |osgrid-w   =
 |osgrid-c   = centre grid number
 |osgrid-e   =
 |osgrid-sw  =
 |osgrid-s   =
 |osgrid-se  =
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.