Difference between revisions of "Template:Coordinates/Regular"

From Geohashing
imported>Tjtrumpet2323
imported>Tjtrumpet2323
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine: date|{{#time:Y-m-d|{{{1}}} }} }}{{#ifeq: {{usdst}} | 1 | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -4 hours}}}} | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -5 hours}}}} }}{{#ifexpr: {{#var:currentETstamp}} >= {{#time:Ymd|{{Dow date to use|{{{1}}}|30w=0}}}}0933 <!-- SAFETY CUSHION of three minutes in case sources not yet updated -->
+
<includeonly>{{#ifeq: {{coords are announced|{{{1}}}|30w=0}} | 1
| {{Coordinates/Regular/latOnly|{{#var:date}}}}, {{Coordinates/Regular/lonOnly|{{#var:date}}}}
+
| {{Coordinates/Regular/latOnly|{{{1}}}}}, {{Coordinates/Regular/lonOnly|{{{1}}}}}
| ''Announced {{0930ET|{{Dow date to use|{{{1}}}|30w=0}}}}, {{#time:j F|{{Dow date to use|{{{1}}}|30w=0}}}}.''
+
| ''announced {{0930ET|{{Dow date to use|{{{1}}}|30w=0}}}}, {{#time:j F|{{Dow date to use|{{{1}}}|30w=0}}}}''
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:57, 1 September 2008