Jump to content

Template:Countdown/fallback

From The Petit Planet Wiki
Revision as of 22:57, 5 April 2026 by Shirra (talk | contribs) (Created page with "<includeonly><span style="{{{style|}}}">{{#vardefine:timestamp|{{#time:U|{{#if:{{{time|{{{1|}}}}}}|{{{time|{{{1|}}}}}} {{{offset|{{{2|}}}}}}|}}}}}}{{#vardefine:time_d|{{#expr:floor(({{#var:timestamp}} - {{#time:U}}) / 86400) }}}}{{#vardefine:time_h|{{#expr:floor(({{#var:timestamp}} - {{#time:U}}) / 3600 mod 24)}}}}{{#vardefine:time_m|{{#expr:floor(({{#var:timestamp}} - {{#time:U}}) / 60 mod 60)}}}}{{#vardefine:time_s|{{#expr:floor(({{#var:timestamp}} - {{#time:U}}) mod 6...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Note: parts of or the entire template might not be visible without values provided.

This is a template that is visible on the countdown if JavaScript is not being used.

Example

Default

{{Countdown/fallback|@1787814589}} yields: 142 days, 21 hours, 21 minutes and 18 seconds (Update)

Shorthand

{{Countdown/fallback|@1787814589|shorthand = yes}} yields: 142d 21h 21m 18s (Update)