Difference between revisions of "Template:Countdown/sandbox"

From Detective Conan Wiki
m
(Added utc_offset (might not work))
Line 1: Line 1:
 
<includeonly><div class="countdown-container">
 
<includeonly><div class="countdown-container">
 
{{#ifeq:
 
{{#ifeq:
   {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} }}) / 86400)}} | 1 |  
+
   {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} - ({{{3}}} * 3600)}}) / 86400)}} | 1 |  
   '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} }}) / 86400)}}''' day |  
+
   '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} - ({{{3}}} * 3600)}}) / 86400)}}''' day |  
   '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} }}) / 86400)}}''' days
+
   '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} }} - ({{{3}}} * 3600)) / 86400)}}''' days
 
}}
 
}}
 
</div></includeonly>
 
</div></includeonly>

Revision as of 18:57, 28 December 2024