Difference between revisions of "Template:Graticule2/Documentation"

From Geohashing
imported>Mattyk
(New page: <includeonly>[http://wiki.xkcd.com/wgh/index.php?title=Template:Graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)</includeonly><noinclude>Bac...)
 
imported>Mattyk
m (fixed bad edit link)
Line 1: Line 1:
<includeonly>[http://wiki.xkcd.com/wgh/index.php?title=Template:Graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)</includeonly><noinclude>Back to [[Template:Graticule2]]</noinclude>
+
<includeonly>[http://wiki.xkcd.com/wgh/index.php?title=Template:Graticule2/Documentation&action=edit Edit the documentation] (it isn't part of the template page)</includeonly><noinclude>Back to [[Template:Graticule2]]</noinclude>
  
 
----
 
----

Revision as of 04:28, 14 December 2008

Back to Template:Graticule2


Smalltown
Graticule2/Documentation
Hayfields

Usage:

{{graticule2
| lat = 123
| lon = -45
| nw = [[Smalltown, USA|Smalltown]]
| s  = [[Hayfields, USA|Hayfields]]
}}

Notes on usage:

  • As per Template:Graticule, you can specify | map = ... and | name = ... parameters if you wish.
  • You don't have to include neighbors that don't exist. The template will automatically insert a "–" for absent neighbors. This dash now acts as a link to the missing graticule.
  • You can automatically abbreviate links using the magic pipe: insert a | character at the end of the bracketed text: [[Smalltown, USA|]] is magically transformed (at save time) to [[Smalltown, USA|Smalltown]].
  • You can add a "| maponly = 1" if you just want the map without the links to the surrounding graticules.


All articles using this template should use wikilink brackets ([[ and ]]) to link to the other neighboring graticules.