Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Template:Countdown

From Appropedia
Jump to: navigation, search

There are 2914348 days 20 hours left before 1-1-9999 starts. (refresh)

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

Notes[edit]

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

Usage[edit]

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 Clock[edit]

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 event[edit]

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 Clock[edit]

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)
https://www.appropedia.org/Template:Countdown
www.appropedia.org
crawl=CC-MAIN-2019-43
32978
application/http; msgtype=response
sha1:IA6VNNDTKK26MNIB26CXK3YDCZ5766N6
<urn:uuid:47a408c9-4d46-49a2-9448-c3a46c844aa2>
2019-10-14T03:03:42Z
104.20.168.126
text/html
sha1:GW6LTRUYQSSB6ZNWYXQYH4W7ZI46DR7K
<urn:uuid:53c30031-3715-46b7-8567-aab85d8321d9>
https://www.appropedia.org/Template:Countdown
response
<urn:uuid:795c9649-bea0-4bf6-8811-2e2dadd95866>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-123.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/