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

From Geohashing
imported>Mattyk
(TEST: covering up the pre-1970 issue)
imported>Joannac
m (Protected "Template:Coordinates graticule/latOnly" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(27 intermediate revisions by 19 users not shown)
Line 1: Line 1:
<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}}
+
<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:latThirtyW|1}}|}}}}{{#if:{{#var:latThirtyW}}
| {{{lat}}}{{Coordinates/30Wadjusted/latOnly|{{#var:date}}}}
+
| {{{lat}}}{{Coordinates/30Wadjusted/latOnly|{{#var:latdate}}}}
| {{{lat}}}{{Coordinates/Regular/latOnly|{{#var:date}}}}
+
| {{{lat}}}{{Coordinates/Regular/latOnly|{{#var:latdate}}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:57, 26 January 2010