Difference between revisions of "User:CJ/sandbox/coords"

From Geohashing
imported>CJ
(New page: {{Announce|'''Note:''' This page is still in experimental phase! Feel free to leave any suggestions on its talk page.|bg=yellow}} {| class="wikitable" style...)
 
imported>CJ
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Announce|'''Note:''' This page is still in experimental phase! Feel free to leave any suggestions on its [[User_talk:CJ/sandbox/cords|talk page]].|bg=yellow}}
+
{{Announce|This automated box is now nearing completion. Feel free to leave any suggestions on its [[User_talk:CJ/sandbox/cords|talk page]].|bg=yellow}}
  
{| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="2" width="600"
+
 
 +
< I now simply need to write in the conditional statement that produces a colspan=2 result for the weekend coords (ie when both West and East of -30 have the same result). I will do this when I return to my computer on Mon 25th August. -- CJ >
 +
 
 +
Test style 1:
 +
 
 +
{| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="5" width="600"
 
!width=20%| Date
 
!width=20%| Date
 
!width=40%| West of [[30W Time Zone Rule|–30°]]
 
!width=40%| West of [[30W Time Zone Rule|–30°]]
 
!width=40%| East of –30°
 
!width=40%| East of –30°
 
|-
 
|-
! {{date link|2008-08-19|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d }}|D j M Y}}
| {{coordinates|2008-08-19}}
+
| {{coordinates|{{ #time: Y-m-d }}}}
| {{coordinates|2008-08-19|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d }}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-18|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -1 days}}|D j M Y}}
| {{coordinates|2008-08-18}}
+
| {{coordinates|{{ #time: Y-m-d | -1 days}}}}
| {{coordinates|2008-08-18|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d | -1 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-17|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -2 days}}|D j M Y}}
| colspan=2 | {{coordinates|2008-08-17}}
+
| {{coordinates|{{ #time: Y-m-d | -2 days}}}}
 +
| {{coordinates|{{ #time: Y-m-d | -2 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-16|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -3 days}}|D j M Y}}
| colspan=2 | {{coordinates|2008-08-16}}
+
| {{coordinates|{{ #time: Y-m-d | -3 days}}}}
 +
| {{coordinates|{{ #time: Y-m-d | -3 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-15|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -4 days}}|D j M Y}}
| {{coordinates|2008-08-15}}
+
| {{coordinates|{{ #time: Y-m-d | -4 days}}}}
| {{coordinates|2008-08-15|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d | -4 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-14|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -5 days}}|D j M Y}}
| {{coordinates|2008-08-14}}
+
| {{coordinates|{{ #time: Y-m-d | -5 days}}}}
| {{coordinates|2008-08-14|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d | -5 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-13|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -6 days}}|D j M Y}}
| {{coordinates|2008-08-13}}
+
| {{coordinates|{{ #time: Y-m-d | -6 days}}}}
| {{coordinates|2008-08-13|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d | -6 days}}|30w=1}}
 
|-
 
|-
! {{date link|2008-08-12|D j M Y}}
+
! align="right"|{{date link|{{ #time: Y-m-d | -7 days}}|D j M Y}}
| {{coordinates|2008-08-12}}
+
| {{coordinates|{{ #time: Y-m-d | -7 days}}}}
| {{coordinates|2008-08-12|30w=1}}
+
| {{coordinates|{{ #time: Y-m-d | -7 days}}|30w=1}}
 
|}
 
|}
 +
 +
 +
Test style 2:
 +
 +
<table style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="5" width="600">
 +
<tr><th width="20%">Date</th>
 +
<th width="40%">West of [[30W Time Zone Rule|–30°]]</th>
 +
<th width="40%">East of –30°</th></tr>
 +
 +
{{#ifeq: {{coordinates|{{ #time: Y-m-d }}}}|{{coordinates|{{ #time: Y-m-d }}|30w=1}}|
 +
<tr><td>today</td>
 +
<td>same</td>
 +
<td>same</td>|
 +
<tr><td>today</td>
 +
<td>different</td>
 +
<td>different</td>}}
 +
 +
</table>

Latest revision as of 07:55, 22 August 2008

This automated box is now nearing completion. Feel free to leave any suggestions on its talk page.


< I now simply need to write in the conditional statement that produces a colspan=2 result for the weekend coords (ie when both West and East of -30 have the same result). I will do this when I return to my computer on Mon 25th August. -- CJ >

Test style 1:

Date West of –30° East of –30°
Sat 22 Jun 2024 .2843850, .0492371 .2843850, .0492371
Fri 21 Jun 2024 .2843850, .0492371 .2843850, .0492371
Thu 20 Jun 2024 .2843850, .0492371 .2843850, .0492371
Wed 19 Jun 2024 .2843850, .0492371 .2843850, .0492371
Tue 18 Jun 2024 .2843850, .0492371 .2843850, .0492371
Mon 17 Jun 2024 .2843850, .0492371 .2843850, .0492371
Sun 16 Jun 2024 .2843850, .0492371 .2843850, .0492371
Sat 15 Jun 2024 .2843850, .0492371 .2843850, .0492371


Test style 2:

Date West of –30° East of –30°
today same same