Difference between revisions of "Template:Meetup global"

From Geohashing
imported>Crox
m
imported>Fippe
(Allow Global Retrohashes)
Line 6: Line 6:
 
<tr>
 
<tr>
 
<td colspan="3" style="text-align:center;">
 
<td colspan="3" style="text-align:center;">
Globalhash on {{date link|{{#var:date}}|D j M Y}}:<br/>
+
Globalhash on {{#ifeq:{{{retro|0}}}|1|{{date nolink|{{#var:date}}|D j M Y}}|{{date link|{{#var:date}}|D j M Y}}}}:<br/>
 
{{#if:{{#var:historic}}|''(ancient coords unavailable)''|'''{{#var:globlat}},{{#var:globlon}}'''}}<br/>
 
{{#if:{{#var:historic}}|''(ancient coords unavailable)''|'''{{#var:globlat}},{{#var:globlon}}'''}}<br/>
 
THE MAP ABOVE SHOWS THE WRONG LOCATION<br/>WITHIN THE (correct) GRATICULE.<br/>
 
THE MAP ABOVE SHOWS THE WRONG LOCATION<br/>WITHIN THE (correct) GRATICULE.<br/>
Line 14: Line 14:
 
</tr>
 
</tr>
 
</table>
 
</table>
{{#ifeq:{{{nocategory|0}}}|1||[[Category:Meetup on {{#var:date}}]][[Category:Globalhash]]}}
+
{{#ifeq:{{{nocategory|0}}}|1||{{#ifeq:{{{retro|0}}}|1|[[Category:Retro meetup]]|[[Category:Meetup on {{#var:date}}]]}}[[Category:Globalhash]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Meetup global/Documentation}} <!-- Documentation is elsewhere -->
 
{{Meetup global/Documentation}} <!-- Documentation is elsewhere -->
 
</noinclude>
 
</noinclude>

Revision as of 22:45, 2 August 2018


Globalhash on Sun 28 Mar 2010:
47.273778,-116.52138

 google osm crox


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


Usage

{{ meetup global | date=2010-03-28 }}

Optional parameters: none.

This template is designed for GLOBALHASH "meetup pages", pages with names that look like "2010-03-28 global". For now, it contains a map of the globalhash graticule (although without a pin showing the globalhash itself) and category links. It may evolve to contain more useful information.

The map is automagically generated, based on the date parameter. No lat and lon parameters are needed as the globalhash is the same wherever you are.

It is to be hoped that at some point a pin showing the location of the globalhash can be placed onto the map. For now you'll have to make do with just the graticule as a whole. Watch this space.