Difference between revisions of "Template:GraticuleH/Documentation"
From Geohashing
imported>Mattyk |
imported>Fippe (Tønder → Westerland) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
<tr><td valign="top"> | <tr><td valign="top"> | ||
{{GraticuleH | {{GraticuleH | ||
− | | | + | |mapw=mapw |
− | | | + | |mape=mape |
|map=map | |map=map | ||
|namee=namee | |namee=namee | ||
Line 41: | Line 41: | ||
| map = [[Image:Germany_Hamburg_Graticule.png]] | | map = [[Image:Germany_Hamburg_Graticule.png]] | ||
| name = Hamburg | | name = Hamburg | ||
− | | nw = [[54,8| | + | | nw = [[54,8|Westerland]] |
| wn = [[54,9|Flensburg]] | | wn = [[54,9|Flensburg]] | ||
| en = [[Kiel,_Germany|Kiel]] | | en = [[Kiel,_Germany|Kiel]] | ||
Line 60: | Line 60: | ||
==Parameters== | ==Parameters== | ||
+ | (refer to the ''Full Example'' at right to see where each parameter goes) | ||
;mapw, mape | ;mapw, mape | ||
:what to draw for the western/eastern map. | :what to draw for the western/eastern map. | ||
Line 90: | Line 91: | ||
| map = [[Image:Germany_Hamburg_Graticule.png]] | | map = [[Image:Germany_Hamburg_Graticule.png]] | ||
| name = Hamburg | | name = Hamburg | ||
− | | nw = [[54,8| | + | | nw = [[54,8|Westerland]] |
| wn = [[54,9|Flensburg]] | | wn = [[54,9|Flensburg]] | ||
| en = [[Kiel,_Germany|Kiel]] | | en = [[Kiel,_Germany|Kiel]] |
Latest revision as of 21:21, 22 July 2019
|
|
Westerland | Flensburg | Kiel | Rødby, Denmark |
Bremen | Hamburg West | Hamburg East | Schwerin |
Bielefeld | Hannover | Braunschweig | Magdeburg |
Real Example |
A more awesome version of Template:Graticule, designed for cities that occupy horizontally adjacent graticules.
Originally made by Joannac, rewritten and overcomplicated by Matty.
Parameters
(refer to the Full Example at right to see where each parameter goes)
- mapw, mape
- what to draw for the western/eastern map.
- map
- what to draw for the entire map.
- Only used if both mapw and mape are left out.
- maponly
- (optional) if specified, only draws the map and caption (if any).
- namew, namee
- What to write in the western/eastern mid section of the legend.
- name-both
- A single name that fills the entire mid-section of the legend. (Overrides namew and namee)
- name
- Default text to use, if namew, namee, and name-both are all left out.
- Automatically gets West and East appended where appropriate.
- w, e
- ne, nw, se, sw
- Neighbouring graticules in the simple directions.
- en, es, wn, ws
- Neighbouring graticules to the north and south.
- The first letter (w or e) determines weather the neighbour is adjacent to the western or eastern part of the twin graticule.
- n, s
- Default values for otherwise unspecified east/west graticules.
- caption
- Extra stuff to include at the bottom of the box, like the caption text of an Image.
Example
{{GraticuleH | map = [[Image:Germany_Hamburg_Graticule.png]] | name = Hamburg | nw = [[54,8|Westerland]] | wn = [[54,9|Flensburg]] | en = [[Kiel,_Germany|Kiel]] | ne = [[54,11|Rødby, Denmark]] | e = [[Schwerin, Germany|Schwerin]] | se = [[Magdeburg, Germany|Magdeburg]] | es = [[Braunschweig, Germany|Braunschweig]] | ws = [[Hannover, Germany|Hannover]] | sw = [[Bielefeld, Germany|Bielefeld]] | w = [[Bremen,_Germany|Bremen]] }}
See Also: Template:Graticule, Template:GraticuleV, Template:GraticuleQ