Difference between revisions of "Template:Coordinates list"

From Geohashing
imported>Tjtrumpet2323
(making into a list instead)
imported>Tjtrumpet2323
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#vardefine: daysAhead|{{#expr: {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +1 day}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +2 days}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +3 days}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +4 days}}|30w=1}} - 1 }} }}{{#vardefine: endDate|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +{{#var:daysAhead}} days}} }}<!--
 
{{#vardefine: daysAhead|{{#expr: {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +1 day}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +2 days}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +3 days}}|30w=1}} + {{coords are announced|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +4 days}}|30w=1}} - 1 }} }}{{#vardefine: endDate|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} +{{#var:daysAhead}} days}} }}<!--
  
-->'''Coordinates:''' {{date link|{{#time:Y-m-d|{{#var:endDate}}}}|D j M}}* | {{date link|{{#time:Y-m-d|{{#var:endDate}} -1 day}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -2 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -3 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -4 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -5 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -6 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -7 days}}|D j M}}
+
-->'''Coordinates:''' {{date link|{{#time:Y-m-d|{{#var:endDate}}}}|D j M}}* | {{date link|{{#time:Y-m-d|{{#var:endDate}} -1 day}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -2 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -3 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -4 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -5 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -6 days}}|D j M}} | {{date link|{{#time:Y-m-d|{{#var:endDate}} -7 days}}|D j M}}<br><span style="font-size: 88%">* Only known for regions east of [[30W]] longitude.  Coordinates for regions to the west {{coordinates|{{#time:Y-m-d|{{#var:endDate}}}}|30w=0}}.</span><!--
 
 
<span style="font-size: 88%">* Only known for regions east of [[30W]] longitude.  Coordinates for regions to the west {{coordinates|{{#time:Y-m-d|{{#var:endDate}}}}|30w=0}}.</span><!--
 
  
 
--><noinclude>
 
--><noinclude>
 
== Usage ==
 
== Usage ==
<code><nowiki>{{coordinates table}}</nowiki></code> shows a neat list of coordinates for eight days up to the farthest date currently known.  For use on [[Main Page]].
+
<code><nowiki>{{coordinates list}}</nowiki></code> shows a neat list of coordinates for eight days up to the farthest date currently known.  For use on [[Main Page]].
  
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:23, 1 September 2008

Coordinates: Fri 29 Nov* | Thu 28 Nov | Wed 27 Nov | Tue 26 Nov | Mon 25 Nov | Sun 24 Nov | Sat 23 Nov | Fri 22 Nov
* Only known for regions east of 30W longitude. Coordinates for regions to the west announced 14:30 UTC, 29 November.

Usage

{{coordinates list}} shows a neat list of coordinates for eight days up to the farthest date currently known. For use on Main Page.