Difference between revisions of "Template:Graticule/Documentation"

From Geohashing
imported>Relet
m (minor fix)
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
|lat = 50
 
|lat = 50
 
|lon = -1
 
|lon = -1
|n = [[Elsewhere]]
+
|n = [[Swindon, United Kingdom]]
|sw = [[Somehere]]
+
|sw = [[Channel Islands]]
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 12: Line 12:
 
|lat = 50
 
|lat = 50
 
|lon = -1
 
|lon = -1
|n = [[Elsewhere]]
+
|n = [[Swindon, United Kingdom]]
|sw = [[Somehere]]
+
|sw = [[Channel Islands]]
 
|name = [[Graticule]]
 
|name = [[Graticule]]
 
}}
 
}}
Line 26: Line 26:
 
----
 
----
  
[http://wiki.xkcd.com/wgh/index.php?title=Template:Graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)
+
[https://geohashing.site/index.php?title=Template:Graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)

Latest revision as of 20:59, 5 March 2020

Usage:

{{graticule
|lat = 50
|lon = -1
|n = [[Swindon, United Kingdom]]
|sw = [[Channel Islands]]
}}

Swindon, United Kingdom
Graticule
Channel Islands

Today's location: geohashing.info google osm bing/os kml crox

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.

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)