Difference between revisions of "Template:QuickLinks"

From Geohashing
imported>Mattyk
(New page: <includeonly><table class="infobox" cellspacing="5" style="width: 22em; text-align: center; font-size: 88%; line-height: 1.5em; border: 1px solid #dd0; background-color: #ffc; color: black...)
 
imported>Mattyk
m
Line 4: Line 4:
 
</th></tr>
 
</th></tr>
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +4 days }}|30w=1}}|1
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +4 days }}|30w=1}}|1
|<tr><td>{{ #time: l Y-m-d | +4 days }}</td><td>[http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +4 days }}&lat={{{lat|}}}&long={{{lon|}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +4 days }}|lat={{{lat|}}}|lon={{{lon|}}}}}]| }}
+
|<tr><td>{{ #time: l Y-m-d | +4 days }}</td><td>[http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +4 days }}&lat={{{lat|0}}}&long={{{lon|0}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +4 days }}|lat={{{lat|0}}}|lon={{{lon|0}}}}}]| }}
  
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +3 days }}|30w=1}}|1
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +3 days }}|30w=1}}|1
 
|<tr><td>{{ #time: l Y-m-d | +3 days }}</td>
 
|<tr><td>{{ #time: l Y-m-d | +3 days }}</td>
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +3 days }}&lat={{{lat|}}}&long={{{lon|}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +3 days }}|lat={{{lat|}}}|lon={{{lon|}}}}}]| }}
+
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +3 days }}&lat={{{lat|0}}}&long={{{lon|0}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +3 days }}|lat={{{lat|0}}}|lon={{{lon|0}}}}}]| }}
  
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +2 days }}|30w=1}}|1
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +2 days }}|30w=1}}|1
 
|<tr><td>{{ #time: l Y-m-d | +2 days }}</td>
 
|<tr><td>{{ #time: l Y-m-d | +2 days }}</td>
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +2 days }}&lat={{{lat|}}}&long={{{lon|}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +2 days }}|lat={{{lat|}}}|lon={{{lon|}}}}}]| }}
+
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +2 days }}&lat={{{lat|0}}}&long={{{lon|0}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +2 days }}|lat={{{lat|0}}}|lon={{{lon|0}}}}}]| }}
  
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +1 days }}|30w=1}}|1
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d | +1 days }}|30w=1}}|1
 
|<tr><td>{{ #time: l Y-m-d | +1 days }}</td>
 
|<tr><td>{{ #time: l Y-m-d | +1 days }}</td>
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +1 days }}&lat={{{lat|}}}&long={{{lon|}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +1 days }}|lat={{{lat|}}}|lon={{{lon|}}}}}]| }}
+
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d | +1 days }}&lat={{{lat|0}}}&long={{{lon|0}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d | +1 days }}|lat={{{lat|0}}}|lon={{{lon|0}}}}}]| }}
  
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d }}|30w=1}}|1
 
{{#ifeq: {{coords are announced|{{ #time: Y-m-d }}|30w=1}}|1
 
|<tr><td>{{ #time: l Y-m-d }}</td>
 
|<tr><td>{{ #time: l Y-m-d }}</td>
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d }}&lat={{{lat|}}}&long={{{lon|}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d }}|lat={{{lat|}}}|lon={{{lon|}}}}}]| }}
+
<td> [http://irc.peeron.com/xkcd/map/map.html?date={{ #time: Y-m-d }}&lat={{{lat|0}}}&long={{{lon|0}}}&zoom=9&abs=-1 {{coordinates graticule|{{ #time: Y-m-d }}|lat={{{lat|0}}}|lon={{{lon|0}}}}}]| }}
 
</table></includeonly><noinclude>{{Template:QuickLinks/Documentation}}
 
</table></includeonly><noinclude>{{Template:QuickLinks/Documentation}}
  
 
&rarr; [http://wiki.xkcd.com/wgh/index.php?title=Template:QuickLinks/Documentation&action=edit Edit Documentation]
 
&rarr; [http://wiki.xkcd.com/wgh/index.php?title=Template:QuickLinks/Documentation&action=edit Edit Documentation]
 
</noinclude>
 
</noinclude>

Revision as of 12:51, 19 October 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