Difference between revisions of "Template:Coordinates graticule/lonOnly"

From Geohashing
imported>Mattyk
imported>Mattyk
Line 1: Line 1:
<includeonly>{{#vardefine:date|{{#time:Y-m-d|{{{1|1970-01-01}}}}}}}{{#vardefine:thirtyW|{{#ifeq:{{#var:date}}|1970-01-01|{{#vardefine:date|{{{1}}}}}|{{#ifexpr:({{{lon}}} > -30) and ({{#time:Ymd|{{#var:date}}}} >= 20080527)}}|1|}}}}{{#if:{{#var:thirtyW}}
+
<includeonly>{{#vardefine:date|{{#time:Y-m-d|{{{1}}}}}}}{{#vardefine:thirtyW|{{#ifeq:{{#var:date}}|1970-01-01|{{#vardefine:date|{{{1}}}}}|{{#ifexpr:({{{lon}}} > -30) and ({{#time:Ymd|{{#var:date}}}} >= 20080527)}}|1|}}}}{{#if:{{#var:thirtyW}}
 
| {{{lon}}}{{Coordinates/30Wadjusted/lonOnly|{{#var:date}}}}
 
| {{{lon}}}{{Coordinates/30Wadjusted/lonOnly|{{#var:date}}}}
 
| {{{lon}}}{{Coordinates/Regular/lonOnly|{{#var:date}}}}
 
| {{{lon}}}{{Coordinates/Regular/lonOnly|{{#var:date}}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:40, 9 December 2008