Changes
→Usage: future is past
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This is a countdown template,Using [[Help:Time function]] will make it accurate by one second. As with {{tl|Countdown}}, this template should not be used in articles.
== Accuracy ==
This template is use for day countdown,and has an accuracy of 1 second.
== Usage ==
=== All purpose ===
<pre>
{{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)
}}
</pre>
===Future===
{{Day Countdown
|name= Opening Ceremony of the [[2020 Summer Olympics]]
|address= [[Tokyo]], [[Japan]]
|year = 2020
|month= 07
|day = 24
|utc_offset = +9 hours
}}
<pre>
{{Day Countdown
|name= Opening Ceremony of the [[2016 Summer Olympics]]
|address= [[Rio de Janeiro]], [[Brazil]]
|year = 2016
|month= 08
|day = 05
|utc_offset = -3 hours
}}
</pre>
===On day===
{{Day Countdown
|name=Today's Event
|address= Current Location
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}
<pre>
{{Day Countdown
|name=Today's Event
|address=Current Location</nowiki>
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}
</pre>
===Past===
{{Day Countdown
|name= Opening Ceremony of the [[2008 Summer Olympics]]
|address= [[Beijing]], [[China]]
|year = 2008
|month= 08
|day = 08
|utc_offset = +8 hours
}}
<pre>
{{Day Countdown
|name= Opening Ceremony of the [[2008 Summer Olympics]]
|address= [[Beijing]], [[China]]
|year = 2008
|month= 08
|day = 08
|utc_offset = +8 hours
}}
</pre>
== See also ==
*[[Template:Countdown]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Date-computing templates]]
}}</includeonly>
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This is a countdown template,Using [[Help:Time function]] will make it accurate by one second. As with {{tl|Countdown}}, this template should not be used in articles.
== Accuracy ==
This template is use for day countdown,and has an accuracy of 1 second.
== Usage ==
=== All purpose ===
<pre>
{{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)
}}
</pre>
===Future===
{{Day Countdown
|name= Opening Ceremony of the [[2020 Summer Olympics]]
|address= [[Tokyo]], [[Japan]]
|year = 2020
|month= 07
|day = 24
|utc_offset = +9 hours
}}
<pre>
{{Day Countdown
|name= Opening Ceremony of the [[2016 Summer Olympics]]
|address= [[Rio de Janeiro]], [[Brazil]]
|year = 2016
|month= 08
|day = 05
|utc_offset = -3 hours
}}
</pre>
===On day===
{{Day Countdown
|name=Today's Event
|address= Current Location
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}
<pre>
{{Day Countdown
|name=Today's Event
|address=Current Location</nowiki>
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}
</pre>
===Past===
{{Day Countdown
|name= Opening Ceremony of the [[2008 Summer Olympics]]
|address= [[Beijing]], [[China]]
|year = 2008
|month= 08
|day = 08
|utc_offset = +8 hours
}}
<pre>
{{Day Countdown
|name= Opening Ceremony of the [[2008 Summer Olympics]]
|address= [[Beijing]], [[China]]
|year = 2008
|month= 08
|day = 08
|utc_offset = +8 hours
}}
</pre>
== See also ==
*[[Template:Countdown]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Date-computing templates]]
}}</includeonly>