imported>CJ m (More testing) |
imported>CJ m (More testing) |
||
Line 40: | Line 40: | ||
{{#ifeq: {{coordinates|{{ #time: l Y-m-d | -4 days }}}}|{{coordinates|{{ #time: l Y-m-d | -4 days }}|30w=1}} | {{#ifeq: {{coordinates|{{ #time: l Y-m-d | -4 days }}}}|{{coordinates|{{ #time: l Y-m-d | -4 days }}|30w=1}} | ||
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th> | ||
− | <td | + | <td colspan="2">Coords match</td></tr> |
− | |||
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th> | ||
<td>Coords differ</td> | <td>Coords differ</td> | ||
<td>Coords differ</td></tr>}} | <td>Coords differ</td></tr>}} | ||
− | {{#ifeq: variable| | + | {{#ifeq: variable|variablez |
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -5 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -5 days }}|D j M Y}}</th> | ||
− | <td | + | <td colspan="2">Coords match</td></tr> |
− | |||
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -5 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -5 days }}|D j M Y}}</th> | ||
<td>Coords differ</td> | <td>Coords differ</td> | ||
<td>Coords differ</td></tr>}} | <td>Coords differ</td></tr>}} | ||
− | {{#ifeq: variable| | + | {{#ifeq: variable|variablez |
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -6 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -6 days }}|D j M Y}}</th> | ||
− | <td | + | <td colspan="2">Coords match</td></tr> |
− | |||
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -6 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -6 days }}|D j M Y}}</th> | ||
<td>Coords differ</td> | <td>Coords differ</td> | ||
<td>Coords differ</td></tr>}} | <td>Coords differ</td></tr>}} | ||
− | {{#ifeq: variable| | + | {{#ifeq: variable|variablez |
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -7 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -7 days }}|D j M Y}}</th> | ||
− | <td | + | <td colspan="2">Coords match</td></tr> |
− | |||
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -7 days }}|D j M Y}}</th> | |<tr><th align="right">{{date link|{{ #time: l Y-m-d | -7 days }}|D j M Y}}</th> | ||
<td>Coords differ</td> | <td>Coords differ</td> |
Revision as of 06:17, 27 August 2008
This page is for testing out an automated version of the coordinates box for the Main Page.
Automated box with an #ifeq statement that produces the colspan=2 result for weekends. I cannot however get this to work if I include more than four days worth of data. Is there a limit on #ifeq statements per page? Suggestions?
Date | West of –30° | East of –30° |
---|---|---|
Sat 15 Mar 2025 | .7656109, .3233616 | |
Fri 14 Mar 2025 | .7656109, .3233616 | |
Thu 13 Mar 2025 | .7656109, .3233616 | |
Wed 12 Mar 2025 | .7656109, .3233616 | |
Tue 11 Mar 2025 | Coords match | |
Mon 10 Mar 2025 | Coords differ | Coords differ |
Sun 9 Mar 2025 | Coords differ | Coords differ |
Sat 8 Mar 2025 | Coords differ | Coords differ |