More actions
Content deleted Content added
reduced box width and border, added box shadow |
change width and height to 350 |
||
Line 1: | Line 1: | ||
{|style="float:right; width:19em; border:none; background:#f9f9f9; text-align:center; vertical-align:middle; font-size:90%; padding:4px; margin:0 0 1em 1.5em; box-shadow:0 4px 4px rgba(0,0,0,0.1); " |
{|style="float:right; width:19em; border:none; background:#f9f9f9; text-align:center; vertical-align:middle; font-size:90%; padding:4px; margin:0 0 1em 1.5em; box-shadow:0 4px 4px rgba(0,0,0,0.1); " |
||
|- |
|- |
||
!style="background:#cfe2f3; font-size:120%;" colspan="3" | |
!style="background:#cfe2f3; font-size:120%;" colspan="3" | {{{grid-number}}} |
||
|- |
|- |
||
|style="padding-top:4px;" colspan="3" |<center>{{#display_map:{{{lat}}},{{{long}}}|service=leaflet|static= |
|style="padding-top:4px;" colspan="3" |<center>{{#display_map:{{{lat}}},{{{long}}}|service=leaflet|static=no|fullscreen=yes|zoom={{{zoom}}}|width=350|height=350}}{{clear}}</center> |
||
|- |
|- |
||
| style="width:7em; padding:5px; background:#f4f4f4; text-align:;" | [[:Category:{{{osgrid-nw}}}|{{{osgrid-nw}}}]] |
| style="width:7em; padding:5px; background:#f4f4f4; text-align:;" | [[:Category:{{{osgrid-nw}}}|{{{osgrid-nw}}}]] |
||
Line 9: | Line 9: | ||
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-ne}}}|{{{osgrid-ne}}}]] |
| style="width:7em; padding:5px; background:#f4f4f4;"| [[:Category:{{{osgrid-ne}}}|{{{osgrid-ne}}}]] |
||
|- |
|- |
||
| style="width:7em; padding:5px; background:#eaeaea;" |
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-w}}}|{{{osgrid-w}}}]] |
||
| style="width:7em; padding:5px; background:#dbdbdb;"| '''[[:Category:{{{osgrid-c}}}|{{{osgrid-c}}}]]''' |
| style="width:7em; padding:5px; background:#dbdbdb;"| '''[[:Category:{{{osgrid-c}}}|{{{osgrid-c}}}]]''' |
||
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-e}}}|{{{osgrid-e}}}]] |
| style="width:7em; padding:5px; background:#eaeaea;"| [[:Category:{{{osgrid-e}}}|{{{osgrid-e}}}]] |
Revision as of 13:57, 31 March 2023
{{{grid-number}}} | ||
---|---|---|
[[: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}}}]] |
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.