Template:Countdown clock: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
(create clock)
 
(+cat)
 
Line 3: Line 3:
<span class="countdown-clock-clock">{{padleft:{{#expr: ceil(({{#time: U | {{{day|31}}}-{{{month|12}}}-{{{year|{{CURRENTYEAR}} }}}}}-{{#time: U }})/(3600*24))}}|3}}</span> {{PLURAL:{{#expr: ceil(({{#time: U | {{{day|31}}}-{{{month|12}}}-{{{year|{{CURRENTYEAR}} }}}}}-{{#time: U }})/(3600*24))}}|day|days}} to {{#if:{{{title|}}}|{{{title|}}}|the event}}<br>{{Purge|1=Update}}
<span class="countdown-clock-clock">{{padleft:{{#expr: ceil(({{#time: U | {{{day|31}}}-{{{month|12}}}-{{{year|{{CURRENTYEAR}} }}}}}-{{#time: U }})/(3600*24))}}|3}}</span> {{PLURAL:{{#expr: ceil(({{#time: U | {{{day|31}}}-{{{month|12}}}-{{{year|{{CURRENTYEAR}} }}}}}-{{#time: U }})/(3600*24))}}|day|days}} to {{#if:{{{title|}}}|{{{title|}}}|the event}}<br>{{Purge|1=Update}}
</div>
</div>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 18:09, 26 February 2021

224 days to the event
Update