Difference between revisions of "Template:GraticuleV/Documentation"

From Geohashing
imported>Joannac
(Documentation)
 
imported>Joannac
m (Oops, fixed how to use section)
Line 1: Line 1:
 
Usage:
 
Usage:
  
  <nowiki>{{graticule
+
  <nowiki>{{graticuleV
 
| map = <map lat="123" lon="-45" date="2005-05-21"/>
 
| map = <map lat="123" lon="-45" date="2005-05-21"/>
 
| nw = [[Smalltown, USA|Smalltown]]
 
| nw = [[Smalltown, USA|Smalltown]]

Revision as of 06:41, 3 October 2008

Usage:

{{graticuleV
| map = <map lat="123" lon="-45" date="2005-05-21"/>
| nw = [[Smalltown, USA|Smalltown]]
| s = [[Hayfields, USA|Hayfields]]
}}

Make sure to not leave out the trailing slash on the <map... />. Ideally, I'd like to avoid using <map> at all, but {{#tag}} doesn't seem to want to do the right thing here. Duskwolf 00:22, 22 May 2008 (UTC)

Notes on usage:

  • You don't have to include neighbors that don't exist. The template will automatically insert a "-" for absent neighbors.
  • 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.
  • This uses: nnw, n, nne, nw, ne, w, e, sw, s, se


All articles using this template should use wikilink brackets ([[ and ]]) to link to the other neighboring graticules. Please don't change this article to link automatically, since neighboring graticules might have unwieldy names that would make more sense to be shortened (ie by using "[[Minneapolis SW, Minnesota|Minneapolis SW]]"). Work has been done to change existing articles to link to neighbors by the template user and not by the template. Ironiridis 21:56, 22 May 2008 (UTC)


Edit the documentation (it isn't part of the template page)