Difference between revisions of "Template:GraticuleV/Documentation"

From Geohashing
imported>Mattyk
m (Parameters)
imported>Mattyk
Line 59: Line 59:
  
 
==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.

Revision as of 11:16, 30 November 2008

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 World's End
Moonta Adelaide North Waikerie
KingscoteAdelaide South Murray Bridge
Cape Gantheaume MMBU 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