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

Template:Os-grid-nav: Difference between revisions

Template page
Content added Content deleted
(template created)
 
(compass directions added to links)
Line 5: Line 5:
|style="padding-top:4px;" colspan="3" |<center>{{#display_map:{{{lat}}},{{{long}}}|service=leaflet|static=yes|fullscreen=yes|zoom={{{zoom}}}|width=280|height=320}}{{clear}}</center>
|style="padding-top:4px;" colspan="3" |<center>{{#display_map:{{{lat}}},{{{long}}}|service=leaflet|static=yes|fullscreen=yes|zoom={{{zoom}}}|width=280|height=320}}{{clear}}</center>
|-
|-
| style="width:7em; padding:5px; background:#f4f4f4; text-align:;" | [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#f4f4f4; text-align:;" | [[:Category:{{{osgrid-nw}}}|{{{osgrid-nw}}}]]
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-n}}}|{{{osgrid-n}}}]]
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-ne}}}|{{{osgrid-ne}}}]]
|-
|-
| style="width:7em; padding:5px; background:#eaeaea;" | [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#eaeaea;" | [[:Category:{{{osgrid-w}}}|{{{osgrid-w}}}]]
| style="width:7em; padding:5px; background:#dbdbdb;"| '''[[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]'''
| style="width:7em; padding:5px; background:#dbdbdb;"| '''[[:Category:{{{osgrid-c}}}|{{{osgrid-c}}}]]'''
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-e}}}|{{{osgrid-e}}}]]
|-
|-
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-sw}}}|{{{osgrid-sw}}}]]
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-s}}}|{{{osgrid-s}}}]]
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-10m}}}|{{{osgrid-10m}}}]]
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-se}}}|{{{osgrid-se}}}]]
|}<noinclude>{{doc|{{os-grid-nav/doc}}}}</noinclude>
|}<noinclude>{{doc|{{os-grid-nav/doc}}}}</noinclude>

Revision as of 09:14, 8 February 2023

OS grid navigation
Loading map...
[[:Category:{{{osgrid-nw}}}|{{{osgrid-nw}}}]] [[:Category:{{{osgrid-n}}}|{{{osgrid-n}}}]] [[:Category:{{{osgrid-ne}}}|{{{osgrid-ne}}}]]
[[:Category:{{{osgrid-w}}}|{{{osgrid-w}}}]] [[:Category:{{{osgrid-c}}}|{{{osgrid-c}}}]] [[:Category:{{{osgrid-e}}}|{{{osgrid-e}}}]]
[[:Category:{{{osgrid-sw}}}|{{{osgrid-sw}}}]] [[:Category:{{{osgrid-s}}}|{{{osgrid-s}}}]] [[:Category:{{{osgrid-se}}}|{{{osgrid-se}}}]]
Template documentation

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  =
}}
The above documentation is transcluded from Template:Os-grid-nav/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.