Template:Countdown/doc
| This is a documentation subpage for Template:Countdown. It may contain usage information, categories and other content that is not part of the original template page. |
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 will be shown
- if the event is held within 24 hours, only the number of hours will be shown
- if the event is held within 1 hour, only the number of minutes will be shown
- if the event is held within 1 minute, only the number of seconds 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 =9999
|month =1
|day =1
|event (''the name of the event'')=unknown
}}
If you type in the above, something like the following will appear.
There are 2912042 days 7 hours left before unknown. ()
Advanced Countdown Clock
This type of countdown clock is suitable for events with a duration.
{{countdown
|year =9999
|month =1
|day =1
|hour =0
|minuite =0
|second =0
|event (''the name of the event'') =unknown
|duration (''the duration of the event in seconds'') =100
|eventstart (''what event has started?'') =unknown has started
|eventend (''what event has ended?'') =unkwon has ended
}}