Site Notice
Due to recent vandalism, all edits performed by IPs and new users will be reviewed before being published. This means it might take some time for your edit to show up.
New accounts also have to be confirmed before being created.
If you have any questions, contact one of the staff members on their talk page, or on the Discord server.

Template:Countdown

From KHUX Wiki
Revision as of 03:28, 1 May 2016 by TheSilentHero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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 01 3000 20:00:00}}

Would create this:

Enable JavaScript to view this countdown.

It is also possible to replace the timer with text once the timer expires. For that, use the following code:

{{Countdown
|[name of month] [[number pertaining to day] [year] [time of day in UTC]
|expire=(Text that appears when timer has expired)
|f-text=(Optional: Text that appears in front of the timer and disappears when the timer expires)
|a-text=(Optional: Text that appears after the timer and disappears when the timer expires)
}}

Therefore,

{{Countdown|January 01 2015 20:00:00|expire=Time's up!}}

would create this:

Enable JavaScript to view this countdown.