Difference between revisions of "Template:QuickLinks"

From Geohashing
imported>Mattyk
m
imported>Mattyk
Line 2: Line 2:
 
<tr><th colspan=2>
 
<tr><th colspan=2>
 
Latest Coordinates and Map Quick-Links{{#if:{{{1|}}}|&nbsp;- {{{1}}}|}}
 
Latest Coordinates and Map Quick-Links{{#if:{{{1|}}}|&nbsp;- {{{1}}}|}}
</th></tr>
+
</th></tr>{{#vardefine:thirtyW|{{#ifexpr:{{{lon|0}}} > -30|1|0}}}}
{{#vardefine:thirtyW|{{#ifexpr:{{{lon|0}}} > -30|1|0}}}}
 
 
 
 
{{#vardefine:d4|{{#time:Y-m-d|+4 days}}}}{{#ifeq: {{coords are announced|{{#var:d4}}|30w={{#var:thirtyW}}}}|1
 
{{#vardefine:d4|{{#time:Y-m-d|+4 days}}}}{{#ifeq: {{coords are announced|{{#var:d4}}|30w={{#var:thirtyW}}}}|1
 
|<tr><td>{{#time:l Y-m-d|+4 days}}</td>
 
|<tr><td>{{#time:l Y-m-d|+4 days}}</td>

Revision as of 21:12, 10 December 2008

Displays a box of quick links to current and up-coming known hash points. Good for planning weekends.

Invented by Nemo, templated by Matty K.

Please keep in mind that a page using this template loads significantly (by several seconds) slower than one which doesn't.

Usage:

{{QuickLinks|lat=-19|lon=146}}

(actual numbers may vary from those shown)

Latest Coordinates and Map Quick-Links

Wednesday 2024-12-18 -19.1295012, 146.7614786

geohashing.info google osm bing/os kml crox

Any optional text will be appended to the title bit.

For example:

{{QuickLinks|lat=-19|lon=146|Nowheresville}}

Latest Coordinates and Map Quick-Links - Nowheresville

Wednesday 2024-12-18 -19.1295012, 146.7614786

geohashing.info google osm bing/os kml crox

Edit Documentation