Difference between revisions of "Template:Countdown/sandbox"

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

Revision as of 18:42, 26 December 2024