Template:Timer

Revision as of 09:02, 1 May 2021 by がか (talk | contribs)

Parameters

  • time : time to countdown to, required.
  • style : custom style, optional.
  • endClass : specify when multiple timers are used on the page, countdownComplete by default, e.g., countdownComplete2 for a second timer, etc.
  • endText : optional completion text, Countdown complete! by default.

See MediaWiki:Gadget-Countdown.js for JS implementation details.

Examples

{{Timer
|time = January 1 2025 00:00:00 +0900
|style = font-weight:italic
|endClass = countdownComplete1
|endText = Not yet.
}}

{{Timer
|time = January 19 2038 12:14:07 +0900
|style = font-weight:bold
|endClass = countdownComplete2
|endText = The time is now!
}}