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

From Geohashing
imported>Gissehel
m (séparation of optional parameters)
m (past tense)
 
(27 intermediate revisions by 13 users not shown)
Line 1: Line 1:
Usage:
+
{{meetup graticule|date=2008-05-21|lat=37|lon=-121|nocategory=1}}
 +
<includeonly>[https://geohashing.site/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 ==
  
 
  <nowiki>{{meetup graticule
 
  <nowiki>{{meetup graticule
| map=<map lat="123" lon="-45" date="2005-05-21" />
+
| lat=37
| lat=123
+
| lon=-121
| lon=-45
 
 
| date=2005-05-21
 
| date=2005-05-21
 
}}</nowiki>
 
}}</nowiki>
  
 
Optional parameters:
 
Optional parameters:
  <nowiki>| graticule_name=London West</nowiki>
+
  <nowiki>
 +
| map=<map lat="37" lon="-121" date="2005-05-21" />
 +
| graticule_name=London West
 +
| graticule_link=London West, United Kingdom
 +
| retro=1</nowiki>
  
<nowiki>| graticule_link=London West, United Kingdom</nowiki>
+
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.
  
This template is design for "meetup pages", pages which name look like "[[2008-05-21 37 -121]]".  
+
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.
For now, it contains a map, a category links. It may evolve to conatain more usefull informations.  
 
  
Right now, map argument is mandatory, while beeing so redundant with other informations. I hope it will change in the futur (I think it needs code change!)
+
If graticule_link is not provided, graticule_name will be used as link. If neither of them is provided, <nowiki>{{{lat}}},{{{lon}}}</nowiki> will be used, as almost all graticule pages have that as a "redirection page".
  
If graticule_link is not provided, graticule_name will be used as link. If neither of them is provided, <nowiki>{{{lat}}},{{{lon}}}</nowiki> will be used, as some graticule pages already got that kind of "redirection page".
+
'''Retro meetup'''
  
:--[[User:Gissehel|Gissehel]] 10:55, 24 May 2008 (UTC)
+
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.
  
[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)
+
<pre>[[Category:Retro meetup‏‎]]
 +
and either
 +
[[Category:Retro coordinates reached‏‎]]
 +
or
 +
[[Category:Retro coordinates not reached]]</pre>

Latest revision as of 20:04, 8 March 2021

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 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]]