Difference between revisions of "Template:Countdown/sandbox"
From Detective Conan Wiki
m (Added comment for "note to self" purposes) |
m |
||
Line 1: | Line 1: | ||
<includeonly><div class="countdown-container"> | <includeonly><div class="countdown-container"> | ||
{{#ifeq: | {{#ifeq: | ||
− | {{#expr: ceil(({{#expr: {{#time:U| {{{ | + | {{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{{utc-offset}}} * 3600)}}) / 86400)}} | 1 | |
− | '''{{#expr: ceil(({{#expr: {{#time:U| {{{ | + | '''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{{utc-offset}}} * 3600)}}) / 86400)}}''' day | |
− | '''{{#expr: ceil(({{#expr: {{#time:U| {{{ | + | '''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{{utc-offset}}} * 3600)) / 86400)}}''' days |
}} | }} | ||
</div><!-- Need to figure out how to add optional parameters--></includeonly> | </div><!-- Need to figure out how to add optional parameters--></includeonly> |