Template:Day Countdown/doc

From IxWiki
Jump to navigation Jump to search

This is a countdown template,Using Help:Time function will make it accurate by one second. As with {{Countdown}}, this template should not be used in articles.

Usage

All purpose

{{Day Countdown
|name= 
|address=
|logo= (optional)
|year = 2016
|month= 01
|day = 01
|utc_offset = 0 hours 
|on_day_text = Begin (optional)
|over_day_text = End (optional)
}}

Future

Year 2038 problem occurs
Worldwide – 2038-1-19
4802 days to go
Local Time
(Refresh)
{{Day Countdown
|name=[[Year 2038 problem]] occurs
|address=Worldwide
|logo=
|year=2038
|month=1
|day=19
|utc_offset=0 hours}}

On day

Today's Event
Current Location – 2024-11-26
Begin
Local Time
(Refresh)
{{Day Countdown
|name=Today's Event
|address=Current Location</nowiki>
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}

Past

Opening Ceremony of the 2008 Summer Olympics
Beijing, China – 2008-08-08
End
Local Time
(Refresh)
{{Day Countdown
|name= Opening Ceremony of the [[2008 Summer Olympics]]
|address= [[Beijing]], [[China]]
|year = 2008
|month= 08
|day = 08
|utc_offset = +8 hours
}}

See also