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

From Geohashing
imported>CJ
imported>CJ
Line 37: Line 37:
 
<td>{{coordinates|{{ #time: l Y-m-d | -3 days }}}}</td>
 
<td>{{coordinates|{{ #time: l Y-m-d | -3 days }}}}</td>
 
<td>{{coordinates|{{ #time: l Y-m-d | -3 days }}|30w=1}}</td></tr>}}
 
<td>{{coordinates|{{ #time: l Y-m-d | -3 days }}|30w=1}}</td></tr>}}
 +
 +
{{#ifeq: variable|variable
 +
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th>
 +
<td>True Data</td>
 +
<td>True Data</td></tr>
 +
|<tr><th align="right">{{date link|{{ #time: l Y-m-d | -4 days }}|D j M Y}}</th>
 +
<td>False Data</td>
 +
<td>False Data</td></tr>}}
  
 
</table>
 
</table>

Revision as of 05:50, 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°
Sun 23 Jun 2024 .3448691, .2343253
Sat 22 Jun 2024 .3448691, .2343253
Fri 21 Jun 2024 .3448691, .2343253
Thu 20 Jun 2024 .3448691, .2343253
Wed 19 Jun 2024 True Data True Data