Template:Day Countdown/doc
Appearance
This is a documentation subpage for Template:Day Countdown. It contains usage information, categories and other content that is not part of the original template page. |
This template is to show the number of days until a major event starts.
Usage
[edit]Parameters
[edit]{{Day Countdown
|name=Name of event
|address=Location of event
|logo= Logo for event
|year = 2016
|month= Month of event (from 1 to 12)
|day = Day of event (from 1 to 31)
|utc_offset = +8 hours
|on_day_text = Message for the day on which event starts
|over_day_text = Message for after the event ends
}}
Future event
[edit]2022 Winter Olympics |
Beijing, China – 4/2/2022 |
Has concluded |
{{Day Countdown
|name=2022 Winter Olympics
|address={{flag|China}} [[Beijing]], [[China]]
|year = 2022
|month= 2
|day = 4
|utc_offset = +8 hours
}}
Running Event
[edit]Events today |
Your destination – 23/12/2024 |
Is running |
{{Day Countdown
|name=Events today
|address= Your destination
|year = {{#time:Y}}
|month= {{#time:m}}
|day = {{#time:d}}
|utc_offset = 0 hours
}}
Past Event
[edit]2008 Olympic Games will start |
Beijing, China – 8/8/2008 |
Has concluded |
{{Day Countdown
|name=2008 Olympic Games will start
|address=[[Beijing]], [[China]]
|year = 2008
|month= 8
|day = 8
|utc_offset = +8 hours
}}