Difference between revisions of "Template:Meetup graticule/Documentation"

From Geohashing
imported>Wyle & RoadRunner
imported>Wyle & RoadRunner
Line 1: Line 1:
{{Wyle graticule|date=2008-05-21|lat=37|lon=-121|posn=left}}
+
{{meetup graticule|date=2008-05-21|lat=37|lon=-121}}
<includeonly>[http://wiki.xkcd.com/wgh/index.php?title=Template:Meetup_graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)</includeonly><noinclude>Back to: [[Template:Wyle graticule]]</noinclude>
+
<includeonly>[http://wiki.xkcd.com/wgh/index.php?title=Template:Meetup_graticule/Documentation&action=edit Edit the documentation] (it isn't part of the template page)</includeonly><noinclude>Back to: [[Template:meetup graticule]]</noinclude>
  
 
----
 
----
  
 
== Usage ==
 
== Usage ==
This was taken from the "map graticule" template and is an test with the addition of the posn arameter, which controls which side of the page the map appears on.
 
  
 
  <nowiki>{{meetup graticule
 
  <nowiki>{{meetup graticule
Line 16: Line 15:
 
  <nowiki>
 
  <nowiki>
 
| map=<map lat="37" lon="-121" date="2005-05-21" />
 
| map=<map lat="37" lon="-121" date="2005-05-21" />
| posn=(left/right)
 
 
| graticule_name=London West
 
| graticule_name=London West
 
| graticule_link=London West, United Kingdom
 
| graticule_link=London West, United Kingdom

Revision as of 06:48, 4 February 2009

Wed 21 May 2008 in 37,-121:
37.1794680, -121.8615360
geohashing.info google osm bing/os kml crox

Back to: Template:meetup graticule


Usage

{{meetup graticule
| lat=37
| lon=-121
| date=2005-05-21
}}

Optional parameters:

| map=<map lat="37" lon="-121" date="2005-05-21" />
| graticule_name=London West
| graticule_link=London West, United Kingdom
| retro=1

This template is design for "meetup pages", pages which name look like "2008-05-21 37 -121". For now, it contains a map, a category links. It may evolve to contain more usefull informations.

If the map argument is supplied, that wikitext is included directly in the template. Otherwise, a map is automagically generated, based on the lat, lon, and date parameters.

If graticule_link is not provided, graticule_name will be used as link. If neither of them is provided, {{{lat}}},{{{lon}}} will be used, as some graticule pages already have that kind of "redirection page".

The "retro" argument, when set to 1, excludes the meetup page from the Meetup on YYYY-MM-DD category and places it instead in Category:Retro meetup. This is to be used for contexts such as the Origin Geohash.