We continue to develop resources related to the COVID-19 pandemic. See COVID-19 initiatives on Appropedia for more information.

Template:Countdown/doc

From Appropedia
Jump to navigation Jump to search

Notes

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

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.

Simple Countdown Clock

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

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

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

unknown starts has already ended. (refresh)

Advanced Countdown Clock

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

{{countdown
 |year       = 9999
 |month      = 1
 |day        = 1
 |hour       = 0
 |minute     = 0
 |second     = 0
 |event      = unknown starts
 |duration   = 100
 |eventstart = unknown has started
 |eventend   = unknown has ended
}}

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

There are 2914115 days 13 hours left before unknown starts. (refresh)
https://www.appropedia.org/index.php?title=Template:Countdown/doc&oldid=220381
www.appropedia.org
crawl=CC-MAIN-2020-24
34430
application/http; msgtype=response
sha1:RR7ELNQDLRLSRTIJZMTW3TTUYOFNOHVI
<urn:uuid:0a6b2577-b02a-461b-b13a-18a28b587c76>
2020-06-03T10:32:57Z
104.20.168.126
text/html
sha1:QS4EN2FJNITNEZTONMZMNZBCUSWD7WHN
<urn:uuid:1a6120ac-ca40-4abf-91a0-2b8c292e011b>
https://www.appropedia.org/index.php?title=Template:Countdown/doc&oldid=220381
response
<urn:uuid:4c9df07b-4420-4147-8a36-767a7c06726c>
isPartOf: CC-MAIN-2020-24
publisher: Common Crawl
description: Wide crawl of the web for May/June 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-182.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/