Difference between revisions of "Template:GraticuleH/Documentation"
From Geohashing
imported>Joannac m (→Fixed edit link) |
imported>Mattyk |
||
Line 1: | Line 1: | ||
− | + | <table style="float:right"> | |
+ | <tr><td valign="top"> | ||
+ | {{GraticuleH | ||
+ | |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"> | ||
+ | {{GraticuleH | ||
+ | |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> | ||
+ | {{GraticuleH | ||
+ | |map=[[Image:Brisbane, Australia.png]] | ||
+ | |name=Brisbane | ||
+ | |es=Tweed Heads | ||
+ | |ws=[[Warwick, Australia|Warwick]] | ||
+ | |caption=Real Example | ||
+ | }}<noinclude>⇐ [[Template:GraticuleV]] | ||
− | + | </noinclude>A more ''awesome'' version of [[Template:Graticule]], designed for cities that occupy horizontally adjacent graticules. | |
− | |||
− | |||
− | |||
− | |||
− | + | Originally made by [[User:Joannac|Joannac]], rewritten and overcomplicated by [[User:Mattyk|Matty]]. | |
− | + | ==Parameters== | |
+ | ;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 | ||
+ | :Default text to use, if '''namew''' or '''namee''' is 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== | |
− | + | <pre><nowiki> | |
− | + | {{GraticuleH | |
− | + | |map=[[Image:Brisbane, Australia.png]] | |
− | + | |name=Brisbane | |
+ | |es=Tweed Heads | ||
+ | |ws=[[Warwick, Australia|Warwick]] | ||
+ | |caption=Real Example | ||
+ | }} | ||
+ | </nowiki></pre> | ||
− | + | See Also: [[Template:Graticule]], [[Template:GraticuleV]] | |
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 12:13, 19 October 2008
|
|
- | - | - | - |
- | Brisbane West | Brisbane East | - |
- | Warwick | Tweed Heads | - |
![]() | |||
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
- 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
- Default text to use, if namew or namee is 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:Brisbane, Australia.png]] |name=Brisbane |es=Tweed Heads |ws=[[Warwick, Australia|Warwick]] |caption=Real Example }}
See Also: Template:Graticule, Template:GraticuleV