Difference between revisions of "Template:GraticuleV/Documentation"
From Geohashing
imported>Joannac m (→Minor editing) |
imported>Mattyk |
||
Line 1: | Line 1: | ||
− | + | <table style="float:right"> | |
+ | <tr><td valign="top"> | ||
+ | {{GraticuleV | ||
+ | |mapn=mapn | ||
+ | |maps=maps | ||
+ | |map=map | ||
+ | |namen=namen | ||
+ | |names=names | ||
+ | |name=name | ||
+ | |n=n | ||
+ | |e=e | ||
+ | |s=s | ||
+ | |w=w | ||
+ | |nw=nw | ||
+ | |ne=ne | ||
+ | |se=se | ||
+ | |sw=sw | ||
+ | |en=en | ||
+ | |es=es | ||
+ | |wn=wn | ||
+ | |ws=ws | ||
+ | |caption=Full Example | ||
+ | }} | ||
+ | </td><td valign="top"> | ||
+ | {{GraticuleV | ||
+ | |map=map | ||
+ | |name=name | ||
+ | |n=n | ||
+ | |e=e | ||
+ | |s=s | ||
+ | |w=w | ||
+ | |nw=nw | ||
+ | |ne=ne | ||
+ | |se=se | ||
+ | |sw=sw | ||
+ | |caption=Minimal Example | ||
+ | }} | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | {{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 | ||
+ | }} | ||
+ | A more ''awesome'' version of [[Template:Graticule]], designed for cities that occuply vertically adjacent graticules. | ||
− | + | Originally made by [[User:Joannac|Joannac]], rewritten and overcomplicated by [[User:Mattyk|Matty]]. | |
− | |||
− | |||
− | |||
− | |||
− | + | ==Parameters== | |
+ | ;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 | ||
+ | :Default text to use, if '''namen''' or '''names''' is 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== | |
+ | <pre><nowiki> | ||
+ | {{User:Mattyk/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 | ||
+ | }} | ||
+ | </nowiki></pre> | ||
− | + | See Also: [[Template:Graticule]], [[Template:GraticuleH]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 12:03, 19 October 2008
|
|
Whyalla | Port Pirie | World's End |
Moonta | Adelaide North | Waikerie |
Kingscote | Adelaide South | Murray Bridge |
Cape Gantheaume | MMBU | Kingston |
Real Example |
A more awesome version of Template:Graticule, designed for cities that occuply vertically adjacent graticules.
Originally made by Joannac, rewritten and overcomplicated by Matty.
Parameters
- 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
- Default text to use, if namen or names is 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
{{User:Mattyk/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