แม่แบบ:Countdown
ไปยังการนำทาง
ไปยังการค้นหา
The template shows a countdown before an event and if started until the end of the event. All times are relative to UTC. It is advisable to add a time zone name for local dates.
{{countdown |text = Event |finished = Event has ended. |start = 2021-11-24 04:00:00 GMT+7 |end = 2021-12-08 04:00:00 GMT+7 }}
Using this template, if you are before the "start" you will see:
Event starts: 2 Days, 2 Hours, 2 Minutes, 2 Seconds.
or if you are past the start but before the end:
Event ends: 2 Days, 2 Hours, 2 Minutes, 2 Seconds.
or if you are past the end:
Event has ended.