Difference between revisions of "User:Tjtrumpet2323/sandbox/2"

From Geohashing
imported>Tjtrumpet2323
m (New Table)
imported>Tjtrumpet2323
(Coords Table Tests)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== Coords Table Tests ==
 
== Coords Table Tests ==
=== New Table ===
+
{{#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}} }}
 
 
{{#var: endDate}}
 
 
=== Old Table ===
 
 
{| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="2" width="600"
 
{| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="2" width="600"
 
!width=20%| Date
 
!width=20%| Date
Line 15: Line 9:
 
!width=40%| East of –30°
 
!width=40%| East of –30°
 
|-
 
|-
! {{date link|2008-07-10|D j M Y}}
+
{{coordinates table row|{{#time:Y-m-d|{{#var:endDate}}}} }}
| {{coordinates|2008-07-10}}
 
| {{coordinates|2008-07-10|30w=1}}
 
|-
 
! {{date link|2008-07-09|D j M Y}}
 
| {{coordinates|2008-07-09}}
 
| {{coordinates|2008-07-09|30w=1}}
 
|-
 
! {{date link|2008-07-08|D j M Y}}
 
| {{coordinates|2008-07-08}}
 
| {{coordinates|2008-07-08|30w=1}}
 
|-
 
! {{date link|2008-07-07|D j M Y}}
 
| {{coordinates|2008-07-07}}
 
| {{coordinates|2008-07-07|30w=1}}
 
|-
 
! {{date link|2008-07-06|D j M Y}}
 
| colspan=2 | {{coordinates|2008-07-06}}
 
|-
 
! {{date link|2008-07-05|D j M Y}}
 
| colspan=2 | {{coordinates|2008-07-05}}
 
 
|-
 
|-
! {{date link|2008-07-04|D j M Y}}
+
{{coordinates table row|{{#time:Y-m-d|{{#var:endDate}} -1 day}} }}
| colspan=2 | {{coordinates|2008-07-04}}
 
 
|-
 
|-
! {{date link|2008-07-03|D j M Y}}
+
{{coordinates table row|{{#time:Y-m-d|{{#var:endDate}} -2 days}} }}
| {{coordinates|2008-07-03}}
 
| {{coordinates|2008-07-03|30w=1}}
 
 
|}
 
|}

Latest revision as of 19:31, 10 July 2008

My sandbox: 1 | 2 | 3 – Refresh this page

Coords Table Tests

Date West of –30° East of –30°
Fri 13 Dec 2024 announced 14:30 UTC, 13 December .4233854, .9222101
Thu 12 Dec 2024 .3193212, .4889125 .4233854, .9222101
Wed 11 Dec 2024 .3193212, .4889125 .4233854, .9222101