Difference between revisions of "Template:GraticuleV/Documentation"

From Geohashing
imported>Mattyk
m
 
(9 intermediate revisions by 3 users not shown)
Line 42: Line 42:
 
|name=Adelaide
 
|name=Adelaide
 
|n=[[Port Pirie, Australia|Port Pirie]]
 
|n=[[Port Pirie, Australia|Port Pirie]]
|ne=[[World's End, Australia|World's End]]
+
|ne=[[Aldermann, Australia|Aldermann]]
|en=[[Waikerie, Australia|Waikerie]]
+
|en=[[Mannum, Australia|Mannum]]
 
|es=[[Murray Bridge, Australia|Murray Bridge]]
 
|es=[[Murray Bridge, Australia|Murray Bridge]]
 
|se=[[Kingston, Australia|Kingston]]
 
|se=[[Kingston, Australia|Kingston]]
|s=[[MMBU]]
+
|s=[[-36,138]]
 
|sw=[[Cape Gantheaume, Australia|Cape Gantheaume]]
 
|sw=[[Cape Gantheaume, Australia|Cape Gantheaume]]
|ws=[[Kingscote,Australia|Kingscote]]
+
|ws=[[Kingscote, Australia|Kingscote]]
|wn=[[Moonta, Australia|Moonta]]
+
|wn=[[Maitland, Australia|Maitland]]
 
|nw=[[Whyalla, Australia|Whyalla]]
 
|nw=[[Whyalla, Australia|Whyalla]]
 
|caption=Real Example
 
|caption=Real Example
}}
+
}}<noinclude>&lArr; [[Template:GraticuleV]]
A more ''awesome'' version of [[Template:Graticule]], designed for cities that occuply vertically adjacent graticules.
+
 
 +
</noinclude>A more ''awesome'' version of [[Template:Graticule]], designed for cities that occupy vertically adjacent graticules.
  
 
Originally made by [[User:Joannac|Joannac]], rewritten and overcomplicated by [[User:Mattyk|Matty]].
 
Originally made by [[User:Joannac|Joannac]], rewritten and overcomplicated by [[User:Mattyk|Matty]].
  
 
==Parameters==
 
==Parameters==
 +
(refer to the ''Full Example'' at right to see where each parameter goes)
 
;mapn, maps
 
;mapn, maps
 
:what to draw for the northern/southern map.
 
:what to draw for the northern/southern map.
Line 67: Line 69:
 
;namen, names
 
;namen, names
 
:What to write in the northern/southern mid section of the legend.
 
:What to write in the northern/southern mid section of the legend.
 +
;name-both
 +
:A single name that fills the entire mid-section of the legend.  (Overrides '''namen''' and '''names''')
 
;name
 
;name
:Default text to use, if '''namen''' or '''names''' is left out.
+
:Default text to use, if '''namen''', '''names''', and '''name-both''' are all left out.
 
:Automatically gets '''North''' and '''South''' appended where appropriate.
 
:Automatically gets '''North''' and '''South''' appended where appropriate.
 
;n, s
 
;n, s
Line 83: Line 87:
 
==Example==
 
==Example==
 
<pre><nowiki>
 
<pre><nowiki>
{{User:Mattyk/GraticuleV
+
{{GraticuleV
 
|map=[[Image:Adelaide GraticuleN.png]]
 
|map=[[Image:Adelaide GraticuleN.png]]
 
|name=Adelaide
 
|name=Adelaide
Line 93: Line 97:
 
|s=[[MMBU]]
 
|s=[[MMBU]]
 
|sw=[[Cape Gantheaume, Australia|Cape Gantheaume]]
 
|sw=[[Cape Gantheaume, Australia|Cape Gantheaume]]
|ws=[[Kingscote,Australia|Kingscote]]
+
|ws=[[Kingscote, Australia|Kingscote]]
 
|wn=[[Moonta, Australia|Moonta]]
 
|wn=[[Moonta, Australia|Moonta]]
 
|nw=[[Whyalla, Australia|Whyalla]]
 
|nw=[[Whyalla, Australia|Whyalla]]
Line 100: Line 104:
 
</nowiki></pre>
 
</nowiki></pre>
  
See Also: [[Template:Graticule]], [[Template:GraticuleH]]
+
See Also: [[Template:Graticule]], [[Template:GraticuleH]], [[Template:GraticuleQ]]

Latest revision as of 11:41, 3 March 2020

nw n ne
wn namen en
wsnames es
sw s se
mapn
maps
Full Example
nw n ne
w name North e
wname South e
sw s se
map
Minimal Example
Whyalla Port Pirie Aldermann
Maitland Adelaide North Mannum
KingscoteAdelaide South Murray Bridge
Cape Gantheaume -36,138 Kingston
Adelaide GraticuleN.png
Real Example

Template:GraticuleV

A more awesome version of Template:Graticule, designed for cities that occupy vertically 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)

mapn, maps
what to draw for the northern/southern map.
map
what to draw for the entire map.
Only used if both mapn and maps are left out.
maponly
(optional) if specified, only draws the map and caption (if any).
namen, names
What to write in the northern/southern mid section of the legend.
name-both
A single name that fills the entire mid-section of the legend. (Overrides namen and names)
name
Default text to use, if namen, names, and name-both are all left out.
Automatically gets North and South appended where appropriate.
n, s
ne, nw, se, sw
Neighbouring graticules in the simple directions.
en, es, wn, ws
Neighbouring graticules to the east and west.
The second letter (n or s) determines weather the neighbour is adjacent to the northern or southern part of the twin graticule.
e, w
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

{{GraticuleV
|map=[[Image:Adelaide GraticuleN.png]]
|name=Adelaide
|n=[[Port Pirie, Australia|Port Pirie]]
|ne=[[World's End, Australia|World's End]]
|en=[[Waikerie, Australia|Waikerie]]
|es=[[Murray Bridge, Australia|Murray Bridge]]
|se=[[Kingston, Australia|Kingston]]
|s=[[MMBU]]
|sw=[[Cape Gantheaume, Australia|Cape Gantheaume]]
|ws=[[Kingscote, Australia|Kingscote]]
|wn=[[Moonta, Australia|Moonta]]
|nw=[[Whyalla, Australia|Whyalla]]
|caption=Real Example
}}

See Also: Template:Graticule, Template:GraticuleH, Template:GraticuleQ