Template:Countdown

From Pengwings
Revision as of 13:35, 16 February 2026 by Theleruby (talk | contribs) (Created page with "Displays a countdown to the specified time, updated by javascript in MediaWiki:Gadget-timer.js. Parameters: ;time : UTC time to count down to, in YYYY-MM-DD HH:MM format, e.g. 2001-02-03 04:05 for 5 minutes past 4am on February 3rd, 2001. ;expired : Text to display instead of the countdown if the specified time is already in the past. ;intro : (Optional) Text introducing the countdown. ;class : (Optional) CSS classes to apply to the outer container. ;hide-days : (Op...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Displays a countdown to the specified time, updated by javascript in MediaWiki:Gadget-timer.js.

Parameters:

time
UTC time to count down to, in YYYY-MM-DD HH:MM format, e.g. 2001-02-03 04:05 for 5 minutes past 4am on February 3rd, 2001.
expired
Text to display instead of the countdown if the specified time is already in the past.
intro
(Optional) Text introducing the countdown.
class
(Optional) CSS classes to apply to the outer container.
hide-days
(Optional) If "yes" is passed, only hours/minutes/seconds will be displayed.
style, digit-style, digit-value-style, digit-label-style
(Optional) CSS styles to apply to the outer container, days/hours/minutes/seconds containers, displayed numbers, and labels respectively.

Script/template designed by User:Pcj from https://warcraft.wiki.gg/wiki/MediaWiki:Common.js