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

From Geohashing
imported>Tjtrumpet2323
m
m (past tense)
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[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)
+
{{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>
  
 
----
 
----
Line 6: Line 7:
  
 
  <nowiki>{{meetup graticule
 
  <nowiki>{{meetup graticule
| map=<map lat="37" lon="-121" date="2005-05-21" />
 
 
| lat=37
 
| lat=37
 
| lon=-121
 
| lon=-121
Line 14: Line 14:
 
Optional parameters:
 
Optional parameters:
 
  <nowiki>
 
  <nowiki>
 +
| map=<map lat="37" lon="-121" date="2005-05-21" />
 
| graticule_name=London West
 
| graticule_name=London West
 
| graticule_link=London West, United Kingdom
 
| graticule_link=London West, United Kingdom
 
| retro=1</nowiki>
 
| retro=1</nowiki>
  
This template is design for "meetup pages", pages which name look like "[[2008-05-21 37 -121]]".  
+
This template is designed for "meetup pages", pages with names that look like "[[2008-05-21 37 -121]]".  
For now, it contains a map, a category links. It may evolve to contain more usefull informations.  
+
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.
  
Right now, map argument is mandatory, even though the other supplied information should make it redundant.Perhaps the code could be changed to use the other data to construct the map link?
+
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 have that kind of "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 contexts such as the [[Origin Geohash]].
+
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).
  
== Comments ==
+
'''Retro and real meetup'''
  
''Hopefully, the author of this template checks here periodically... There are two things that don't work right with this.  First, the <code>graticule_link</code> doesn't product a link when there is a comma in the name (even though the example shows a comma!).  If it doesn't change, look at the [[Melbourne, Florida]] page for an example.  Second, it is very sad that the use of magic words (such as <code><nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}</nowiki></code>) for the date doesn't work within the <code><nowiki><map /></nowiki></code> part.  Perhaps a special symbol for TODAY could be used for people who would like the map to always show the current location. -- [[User:Nurbles|Nurbles]] 14 Jun 2008''
+
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.
 
:I also wonder if there is a way to not only create the categories ''Meetup in ...'' and ''Meetup on ...'', as it does, but to categorise ''those'' categories as ''Meetup by location'' and ''Meetup in YEAR-MONTH''. It's not too much work to do that manually: once per graticule for the former and once a day for the latter, but it would be cool. -[[User:Robyn|Robyn]] 19:12, 12 August 2008 (UTC)
 
  
::Such YYYY-MM and YYYY categories are generally unnecessary, as the YYYY-MM-DD categories are subcategories of the former.  --[[User:Tjtrumpet2323|Tim P]] 02:44, 1 September 2008 (UTC)
+
<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]]