Template:Countdown

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

the event has already ended. (refresh)

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Countdown/doc.

No description yet available.

Usage

{{Countdown
 |timecode =
 |year =
 |month =
 |day =
 |hour =
 |minute =
 |second =
 |duration =
 |event =
 |eventstart =
 |eventend =
}}

Template parameters

ParameterDescriptionDefaultStatus
timecoderaw timecodeThe start of the event in seconds past January 1 1970 00:00:00 GMT. Can be omitted only if then year, month etc. parameters are usedemptyrequired
yearyearThe year when the event starts. Can be omitted only if timecode is usedemptyrequired
monthmonthThe month when the event starts, with number or full or abbreviated English month nameJanuaryoptional
daydayThe day when the event starts1optional
hourhourThe hour when the event starts00optional
minuteminuteThe minute when the event starts00optional
secondsecondThe second when the event starts00optional
colorcolorThe color of the numbersredoptional
durationdurationThe duration of the eventemptyoptional
eventevent descriptionDescription of the eventthe event (localized)optional
eventstartevent started descriptionText if the event has startedlocalized textoptional
eventendevent ended descriptionText if the event has endedlocalized textoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{Countdown|
|year       = 9999
|month      = 1
|day        = 1
|hour       = 0
|minute     = 0
|event      = 1-1-9999 starts
|duration   = 86400
|eventstart = 1-1-9999 has already started
|eventend   = 1-1-9999 has already ended
}}

renders as:

There are 2912702 days 2 hours left before 1-1-9999 starts. (refresh)

Localization

العربية  বাংলা  čeština  dansk  Deutsch  English  español  français  magyar  Bahasa Indonesia  italiano  日本語  македонски  मराठी  Nederlands  polski  português  português do Brasil  română  русский  српски / srpski  svenska  ไทย  Türkçe  українська  Tiếng Việt  中文

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Countdown/layout.