Template:Countdown

There are 2914319 days 4 hours left before 1-1-9999 starts. (refresh)

[view] [edit] [history] [purge] Documentation icon Template documentation

NotesEdit

Please note the following important points before using this template.

  • the time on this countdown clock is GMT (UTC+0)
  • if the event is held in more than 24 hours, only the number of days and the number of hours left will be shown
  • if the event is held within 24 hours, only the number of hours left will be shown
  • if the event is held within 1 hour, only the number of minutes left will be shown
  • if the event is held within 1 minute, only the number of seconds left will be shown

UsageEdit

Editors can use this template as a countdown clock for a lot of different events. The following can show you how to use this template.

Note: Time is in GMT (UTC). Adjust the time according, and date if necessary. timeanddate.com is useful for this.

Simple Countdown ClockEdit

This type of countdown clock is suitable for events with no duration.

{{countdown
 |year  = 2016
 |month = 2
 |day   = 14
 |event = unknown event
}}

If you type in the above, something like the following will appear.

unknown event has already ended. (refresh)

Notice for a finished eventEdit

Default notice: If the event is in the past, it will look like this:

unknown event has already ended. (refresh)


Customized notice: If you want to customize the notice for the finished event, use eventend - e.g.:

{{countdown
 |year     = 2012
 |month    = 2
 |day      = 14
 |event    = unknown event
 |eventend = unknown has finished! 
}}

which creates:

unknown has finished! (refresh)


Advanced Countdown ClockEdit

This type of countdown clock is suitable for events with a duration. It will display a fixed message during the event, defined by eventstart. If you want the countdown to happen during the event (e.g. how many days left in a fundraiser) then define the deadline as the eventstart, with duration 0. (Or use the simple version above.)

Note you must use whole numbers for time values - you can't use, for example, "1:18". Use the minute and second parameters if needed.

Duration is in seconds. This may be expressed as multiples, e.g. 30*60 is 30 minutes, and 2*60*60 is 2 hours. Just put in the numbers - no units.

E.g. an event starting at the beginning of 2013, with a duration of 20 years:

{{countdown
 |year       = 2013
 |month      = 1
 |day        = 1
 |hour       = 0
 |minute     = 0
 |second     = 0
 |event      = unknown starts
 |duration   = 20*365*24*60*60
 |eventstart = unknown has started
 |eventend   = unknown has ended
}}


This event is currently in progress. If you type in the above, the following will appear:

unknown has started (refresh)