Difference between revisions of "Template:Meetup graticule"

From Geohashing
imported>Phyzome
(add links to graticule and data pages)
imported>Gissehel
(When graticule page with numbers exists, it's "x,y" and not "x y". I also let the possibility of an explicit name and link. Creating #REDIRCT pages for each graticules would be best...)
Line 1: Line 1:
 
<table class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;">
 
<table class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;">
<tr><td colspan="3" style="text-align:center;">{{{map|<includeonly><span style='font-size: 125%; color:red'>'''No map available.'''</span></includeonly><noinclude><map date="2008-05-14" lat="51" lon="0" /></noinclude>}}}</td></tr><tr><td colspan="3" style="text-align:center;">[http://irc.peeron.com/xkcd/map/map.html?date={{{date}}}&lat={{{lat}}}&long={{{lon}}}&zoom=8 Graticule {{{lat}}} {{{lon}}}] ([http://irc.peeron.com/xkcd/map/map.html?date={{{date}}}&lat={{{lat}}}&long={{{lon}}}&zoom=16 Zoom])<br>[[{{{lat}}} {{{lon}}}|Graticule page]], [[{{{date}}}|date page]]</td></tr>
+
<tr>
 +
<td colspan="3" style="text-align:center;">{{{map|<includeonly><span style='font-size: 125%; color:red'>'''No map available.'''</span></includeonly><noinclude><map date="2008-05-14" lat="51" lon="0" /></noinclude>}}}</td>
 +
</tr>
 +
<tr>
 +
<td colspan="3" style="text-align:center;">
 +
[http://irc.peeron.com/xkcd/map/map.html?date={{{date}}}&lat={{{lat}}}&long={{{lon}}}&zoom=8 Graticule {{{lat}}} {{{lon}}}] ([http://irc.peeron.com/xkcd/map/map.html?date={{{date}}}&lat={{{lat}}}&long={{{lon}}}&zoom=16 Zoom])<br/>
 +
[[{{{graticule_link|{{{graticule_name|{{{lat}}},{{{lon}}}}}}}}}|{{{graticule_name|Graticule {{{lat}}} {{{lon}}}'s page}}}]], [[{{{date}}}|date page]]
 +
</td>
 +
</tr>
 
</table><includeonly>
 
</table><includeonly>
 
[[Category:Meetup on {{{date}}}]]
 
[[Category:Meetup on {{{date}}}]]

Revision as of 03:07, 25 May 2008

<map date="2008-05-14" lat="51" lon="0" />

Graticule {{{lat}}} {{{lon}}} (Zoom)
[[{{{lat}}},{{{lon}}}|Graticule {{{lat}}} {{{lon}}}'s page]], [[{{{date}}}|date page]]

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


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


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 designed for "meetup pages", pages with names that look like "2008-05-21 37 -121". For now, it contains a map, the date and graticule information, hashpoint coordinates and category links. It may evolve to contain other useful information.

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 almost all graticule pages have that as a "redirection page".

Retro meetup

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 retro expeditions such as the Origin geohash achievement. It also now forces the date to be displayed as text only, not as a link. This is so it does not show up as a red-link on your retro expeditions, inviting users to click on it and create an unwanted date page (since retros did not happen on their retro date).

Retro and real meetup

If you visit retro coordinates and there is already an expedition report, please don't add the retro argument as described above. Instead please add these categories to the expedition report as well as writing up your own expedition of course.

[[Category:Retro meetup‏‎]]
and either
[[Category:Retro coordinates reached‏‎]]
or
[[Category:Retro coordinates not reached]]