Difference between revisions of "Template:GraticuleQ/Documentation"
From Geohashing
imported>Mattyk (New page: <table style="float:right"> <tr><td valign="top"> {{GraticuleQ |mapnw=mapnw |mapsw=mapsw |mapne=mapne |mapse=mapse |map=map |namene=namene |namese=namese |namenw=namenw |namesw=namesw |nam...) |
imported>Mattyk |
||
(4 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
}} | }} | ||
</td><td valign="top"> | </td><td valign="top"> | ||
− | {{ | + | {{GraticuleQ |
|map=map | |map=map | ||
|name=name | |name=name | ||
Line 46: | Line 46: | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | + | {{GraticuleQ | |
− | | map = [[Image: | + | | map = [[Image:MSP_Graticules.png]] |
− | | | + | | namenw = Minneapolis NW |
− | | nw = [[ | + | | namesw = Minneapolis SW |
− | | | + | | namene = St. Paul NE |
− | | | + | | namese = St. Paul SE |
− | | | + | | nw = [[Brainerd, Minnesota|Brainerd]] |
− | | | + | | nne = [[Duluth, Minnesota|Duluth]] |
− | | | + | | ne = [[Hayward, Wisconsin|Hayward, WI]] |
− | | | + | | wnw = [[St. Cloud, Minnesota|St. Cloud]] |
− | | | + | | ene = [[Rice Lake, Wisconsin|Rice Lake, WI]] |
− | | | + | | wsw = [[Hutchinson, Minnesota|Hutchinson]] |
− | | | + | | ese = [[Eau Claire, Wisconsin|Eau Claire, WI]] |
+ | | sw = [[Estherville, Iowa|Estherville, IA]] | ||
+ | | ssw = [[Albert Lea, Minnesota|Albert Lea]] | ||
+ | | sse = [[Austin, Minnesota|Austin]] | ||
+ | | se = [[La Crosse, Wisconsin|La Crosse, WI]] | ||
| caption = Real Example | | caption = Real Example | ||
− | }} | + | }} |
<noinclude>⇐ [[Template:GraticuleQ]] | <noinclude>⇐ [[Template:GraticuleQ]] | ||
Line 68: | Line 72: | ||
==Parameters== | ==Parameters== | ||
− | ( | + | (refer to the ''Full Example'' at right to see where each parameter goes) |
+ | ;mapnw, mapne, mapse, mapsw | ||
+ | :What to draw for the appropriate map. | ||
+ | ;map | ||
+ | :What to draw for the entire map. | ||
+ | :Only used if all of '''mapnw''', '''mapne''', '''mapse''' and '''mapsw''' are left out. | ||
+ | ;maponly | ||
+ | :''(optional)'' if specified, only draws the '''map'''(s) and '''caption''' (if any). | ||
+ | ;namenw, namene, namese, namesw | ||
+ | :What to write in the appropriate mid section of the legend. | ||
+ | ;name-full | ||
+ | :A single name that fills the entire mid-section of the legend. (Overrides the other '''name'''s) | ||
+ | ;name | ||
+ | :Default text to use, if all other names are left out. | ||
+ | :Automatically gets '''NW''', '''NE''', '''SW''' or '''SW''' appended where appropriate. | ||
+ | ;nw, ne, se, sw | ||
+ | :Neighbouring graticules in the simple directions. | ||
+ | ;nnw, nne, ene, ese, sse, ssw, wsw, wnw | ||
+ | :Neighbouring graticules due north, east, south, or west of one of the four graticules. | ||
+ | :Directions are (approximately) relative to the mid-point of the four graticules. | ||
+ | ;n, e, s, w | ||
+ | :Default values for otherwise unspecified north/east/south/west graticules. | ||
+ | ;caption | ||
+ | :Extra stuff to include at the bottom of the box, like the caption text of an Image. | ||
==Example== | ==Example== | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | {{GraticuleQ | |
− | | map = [[Image: | + | | map = [[Image:MSP_Graticules.png]] |
− | | | + | | namenw = Minneapolis NW |
− | | nw = [[ | + | | namesw = Minneapolis SW |
− | | | + | | namene = St. Paul NE |
− | | | + | | namese = St. Paul SE |
− | | | + | | nw = [[Brainerd, Minnesota|Brainerd]] |
− | | | + | | nne = [[Duluth, Minnesota|Duluth]] |
− | | | + | | ne = [[Hayward, Wisconsin|Hayward, WI]] |
− | | | + | | wnw = [[St. Cloud, Minnesota|St. Cloud]] |
− | | | + | | ene = [[Rice Lake, Wisconsin|Rice Lake, WI]] |
− | | | + | | wsw = [[Hutchinson, Minnesota|Hutchinson]] |
− | | | + | | ese = [[Eau Claire, Wisconsin|Eau Claire, WI]] |
− | }} | + | | sw = [[Estherville, Iowa|Estherville, IA]] |
+ | | ssw = [[Albert Lea, Minnesota|Albert Lea]] | ||
+ | | sse = [[Austin, Minnesota|Austin]] | ||
+ | | se = [[La Crosse, Wisconsin|La Crosse, WI]] | ||
+ | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
See Also: [[Template:Graticule]], [[Template:GraticuleH]], [[Template:GraticuleV]] | See Also: [[Template:Graticule]], [[Template:GraticuleH]], [[Template:GraticuleV]] |
Latest revision as of 11:16, 30 November 2008
|
|
Brainerd | - | Duluth | Hayward, WI |
St. Cloud | Minneapolis NW | St. Paul NE | Rice Lake, WI |
Hutchinson | Minneapolis SW | St. Paul SE | Eau Claire, WI |
Estherville, IA | Albert Lea | Austin | La Crosse, WI |
Real Example |
A more awesome version of Template:Graticule, designed for cities that occupy four adjacent graticules.
Based on a concept by Joannac, overcomplicated by Matty.
Parameters
(refer to the Full Example at right to see where each parameter goes)
- mapnw, mapne, mapse, mapsw
- What to draw for the appropriate map.
- map
- What to draw for the entire map.
- Only used if all of mapnw, mapne, mapse and mapsw are left out.
- maponly
- (optional) if specified, only draws the map(s) and caption (if any).
- namenw, namene, namese, namesw
- What to write in the appropriate mid section of the legend.
- name-full
- A single name that fills the entire mid-section of the legend. (Overrides the other names)
- name
- Default text to use, if all other names are left out.
- Automatically gets NW, NE, SW or SW appended where appropriate.
- nw, ne, se, sw
- Neighbouring graticules in the simple directions.
- nnw, nne, ene, ese, sse, ssw, wsw, wnw
- Neighbouring graticules due north, east, south, or west of one of the four graticules.
- Directions are (approximately) relative to the mid-point of the four graticules.
- n, e, s, w
- Default values for otherwise unspecified north/east/south/west graticules.
- caption
- Extra stuff to include at the bottom of the box, like the caption text of an Image.
Example
{{GraticuleQ | map = [[Image:MSP_Graticules.png]] | namenw = Minneapolis NW | namesw = Minneapolis SW | namene = St. Paul NE | namese = St. Paul SE | nw = [[Brainerd, Minnesota|Brainerd]] | nne = [[Duluth, Minnesota|Duluth]] | ne = [[Hayward, Wisconsin|Hayward, WI]] | wnw = [[St. Cloud, Minnesota|St. Cloud]] | ene = [[Rice Lake, Wisconsin|Rice Lake, WI]] | wsw = [[Hutchinson, Minnesota|Hutchinson]] | ese = [[Eau Claire, Wisconsin|Eau Claire, WI]] | sw = [[Estherville, Iowa|Estherville, IA]] | ssw = [[Albert Lea, Minnesota|Albert Lea]] | sse = [[Austin, Minnesota|Austin]] | se = [[La Crosse, Wisconsin|La Crosse, WI]] }}
See Also: Template:Graticule, Template:GraticuleH, Template:GraticuleV