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

From Geohashing
imported>Wyle & RoadRunner
(Usage)
imported>Wyle & RoadRunner
Line 1: Line 1:
{{Meetup graticule|date=2008-05-21|lat=37|lon=-121}}
+
{{Wyle graticule|date=2008-05-21|lat=37|lon=-121|posn=left}}
<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>
+
<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>
  
 
----
 
----

Revision as of 06:46, 4 February 2009

Template:Wyle graticule Back to: Template:Wyle graticule


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.

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

Optional parameters:

| map=<map lat="37" lon="-121" date="2005-05-21" />
| posn=(left/right)
| 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.