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">
 
+
{{#ifeq:
{{#ifeq: {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}} | -0 |
+
   {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}} | 1 |  
  <big>{{orange|'''TODAY!!!'''}}</big> |
+
  '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' day |  
   {{#ifeq:
+
  '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' days }} }}
      {{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}} | 1 |  
 
        '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' day |  
 
        '''{{#expr: ceil(({{#expr: {{#time:U| {{{1}}} }} - {{#time:U}} }}) / 86400)}}''' days }} }}
 
 
</div></includeonly>
 
</div></includeonly>

Revision as of 00:38, 28 December 2024