Difference between revisions of "Template:Coordinates graticule/lonOnly"
From Geohashing
imported>Mattyk (TEST: covering up the pre-1970 issue) |
imported>Joannac m (Protected "Template:Coordinates graticule/lonOnly": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(13 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: | + | <includeonly>{{#vardefine:londate|{{#time:Y-m-d|{{{1}}}}}}}{{#ifeq:{{#var:londate}}|1970-01-01|{{#vardefine:londate|{{{1}}}}}|{{#ifexpr:({{{lon}}} > -30) and ({{#time:Ymd|{{#var:londate}}}} >= 20080527)|{{#vardefine:lonthirtyW|1}}|}}}}{{#if:{{#var:lonthirtyW}} |
− | | {{{lon}}}{{Coordinates/30Wadjusted/lonOnly|{{#var: | + | | {{{lon}}}{{Coordinates/30Wadjusted/lonOnly|{{#var:londate}}}} |
− | | {{{lon}}}{{Coordinates/Regular/lonOnly|{{#var: | + | | {{{lon}}}{{Coordinates/Regular/lonOnly|{{#var:londate}}}} |
}}</includeonly> | }}</includeonly> |