Difference between revisions of "Template:Countdown/sandbox"

From Detective Conan Wiki
m (Added timeDiff variable (hopefully works))
m
Line 1: Line 1:
 
<includeonly><div class="countdown-container">
 
<includeonly><div class="countdown-container">
{{#vardefine:timeDiff | {{#expr: {{#time:U|{{{1}}}}} - {{#time:U}} }} }}
+
{{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}
  
 
{{#ifeq: {{#expr: ceil(({{timeDiff}}) / 86400)}} | -0 |  
 
{{#ifeq: {{#expr: ceil(({{timeDiff}}) / 86400)}} | -0 |  

Revision as of 00:32, 28 December 2024