Difference between revisions of "Template:Countdown/sandbox"

From Detective Conan Wiki
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div class="countdown-container">
 
<includeonly><div class="countdown-container">
 
<!-- Debugging -->
 
<!-- Debugging -->
{{User:AvidConanContributor/sandbox|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }}
+
<!-- No active debugging tests -->
  
 
<!-- Days -->
 
<!-- Days -->
 
'''{{#expr:
 
'''{{#expr:
 
   ceil(
 
   ceil(
       ({{User:AvidConanContributor/sandbox|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} * 3600) / 86400
+
       {{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400
 
   )
 
   )
 
}}'''
 
}}'''
 
{{#ifeq:
 
{{#ifeq:
 
   {{#expr:
 
   {{#expr:
      ceil(
+
  ceil(
        ({{#expr:
+
      {{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400
            {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} -
+
  )
        ({{#if:
+
}} | 1
            {{{utc-offset|}}}|{{{utc-offset}}}|0
 
        }} * 3600)
 
        }}) / 86400
 
      )
 
  }} | 1
 
 
   | day
 
   | day
 
   | days
 
   | days
 
}}
 
}}
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 22:21, 1 January 2025