Template:Countdown

From [N8]
Revision as of 17:18, 1 June 2020 by Banri (talk | contribs) (Created page with "<includeonly>{{#if:{{{endmsg|}}}|<span data-end="toggle" data-toggle=".post-countdown" class="countdown">|{{#ifeq:{{{noup|}}}|yes|<span data-end="stop" class="countdown">|<spa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template documentation
This documentation is transcluded from Template:Countdown/doc. [edit] [purge]

This template creates a countdown timer, and works only in UTC time (the official wiki-time). The correct usage is as follows:

{{Countdown|[name of month] [number pertaining to day] [year] [time of day in UTC]}}

Therefore,

{{Countdown|January 1 3000 20:00}}

Would create this: January 01 3000 20:00 UTC This message will be displayed if the timer does not show up (if you do not have javascript enabled on your browser, for example)

Options

  • |endmsg=... can be set to an arbitrary message which will be displayed when the countdown expires. (Using multiple of these on the same page may cause issues.)
  • |noup=yes will stop the countdown at zero instead of counting up. (endmsg will take priority.)
  • |nomsg=yes will hide the default message given (about javascript being disabled).

See also