Difference between revisions of "Template:Countdown/sandbox"

From Detective Conan Wiki
m
m
Line 1: Line 1:
 
<includeonly><div class="countdown-container">
 
<includeonly><div class="countdown-container">
{{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}
 
  
{{#ifeq: {{#expr: ceil(({{timeDiff}}) / 86400)}} | -0 |  
+
{{#ifeq: {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}} | -0 |  
 
     <big>{{orange|'''TODAY!!!'''}}</big> |  
 
     <big>{{orange|'''TODAY!!!'''}}</big> |  
     {{#ifeq: {{#expr: ceil(({{timeDiff}}) / 86400)}} | 1 |  
+
     {{#ifeq: {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}} | 1 |  
         '''{{#expr: ceil(({{timeDiff}}) / 86400)}}''' day |  
+
         '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' day |  
         '''{{#expr: ceil(({{timeDiff}}) / 86400)}}''' days }} }}
+
         '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' days }} }}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 00:33, 28 December 2024