Jump to content

Template:Countdown/sandbox: Difference between revisions

From Detective Conan Wiki
Testing to actually see if the testcases page links to this sandbox
mNo edit summary
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
<|-- <includeonly><div class="countdown-container">
<includeonly><div class="countdown-container">
'''{{#expr: ceil(({{#time:U|{{{1}}} {{{2}}}}} - {{#time:U}}) / 86400)}}'''
<!-- Debugging -->
{{#ifeq: {{#expr: ceil(({{#time:U|{{{1}}} {{{2}}}}} - {{#time:U}}) / 86400)}} | 1 | day | days }}
<!-- No active debugging tests -->
 
<!-- Days -->
'''{{#expr:
  ceil(
      {{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400
  )
}}'''
{{#ifeq:
  {{#expr:
  ceil(
      {{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400
  )
}} | 1
  | day
  | days
}}
</div></includeonly>
</div></includeonly>
-->
Test

Latest revision as of 22:21, 1 January 2025