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

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

Revision as of 07:20, 18 December 2008