Difference between revisions of "Template:Graticule2/Documentation"

From Geohashing
imported>Mattyk
m (fixed bad edit link)
imported>Mattyk
Line 3: Line 3:
 
----
 
----
 
{{graticule2
 
{{graticule2
| lat = 123
+
| lat = 43
| lon = -45
+
| lon = -103
| nw = [[Smalltown, USA|Smalltown]]
+
| n = [[Rapid City, SD|Rapid City]]
| = [[Hayfields, USA|Hayfields]]
+
| sw = [[Lusk, WY|Lusk]]
 
}}
 
}}
  
Line 12: Line 12:
  
 
  <nowiki>{{graticule2
 
  <nowiki>{{graticule2
| lat = 123
+
| lat = 43
| lon = -45
+
| lon = -103
| nw = [[Smalltown, USA|Smalltown]]
+
| n = [[Rapid City, SD|]]
| = [[Hayfields, USA|Hayfields]]
+
| sw = [[Lusk, WY|]]
 
}}</nowiki>
 
}}</nowiki>
  
Line 23: Line 23:
 
* You can automatically abbreviate links using the magic pipe: insert a | character at the end of the bracketed text: <tt><nowiki>[[Smalltown, USA|]]</nowiki></tt> is magically transformed (at save time) to <tt><nowiki>[[Smalltown, USA|Smalltown]]</nowiki></tt>.
 
* You can automatically abbreviate links using the magic pipe: insert a | character at the end of the bracketed text: <tt><nowiki>[[Smalltown, USA|]]</nowiki></tt> is magically transformed (at save time) to <tt><nowiki>[[Smalltown, USA|Smalltown]]</nowiki></tt>.
 
* You can add a "<code><nowiki>| maponly = 1</nowiki></code>" if you just want the map without the links to the surrounding graticules.
 
* You can add a "<code><nowiki>| maponly = 1</nowiki></code>" if you just want the map without the links to the surrounding graticules.
 +
* You can add a "<code><nowiki>| point= 1</nowiki></code>" if you want the map to show the (approximately) current hash point for the graticule.
  
  
 
All articles using this template should use wikilink brackets (<nowiki>[[ and ]]</nowiki>) to link to the other neighboring graticules.
 
All articles using this template should use wikilink brackets (<nowiki>[[ and ]]</nowiki>) to link to the other neighboring graticules.

Revision as of 04:38, 14 December 2008

Back to Template:Graticule2


Rapid City
Graticule2/Documentation
Lusk

Usage:

{{graticule2
| lat = 43
| lon = -103
| n = [[Rapid City, SD|]]
| sw = [[Lusk, WY|]]
}}

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.
  • You can add a "| point= 1" if you want the map to show the (approximately) current hash point for the graticule.


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