imported>CJ |
imported>CJ |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{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}} | {{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}} | ||
+ | |||
+ | |||
+ | < 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" | {| class="wikitable" style="text-align: center; vertical-align: top; border: 3px solid black; border-collapse: collapse; margin: 1em" border="1" cellpadding="5" width="600" | ||
Line 38: | Line 43: | ||
| {{coordinates|{{ #time: Y-m-d | -7 days}}|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 28 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Fri 27 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Thu 26 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Wed 25 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Tue 24 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Mon 23 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Sun 22 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Sat 21 Sep 2024 | .1481934, .3146579 | .1481934, .3146579 |
Test style 2:
Date | West of –30° | East of –30° |
---|---|---|
today | same | same |