Difference between revisions of "Template:Countdown/sandbox"

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

Latest revision as of 22:21, 1 January 2025