Template:Countdown
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Examples
{{countdown |year = 2020 |month = 7 |day = 15 |hour = 4 |minute = 15 }}
Event has ended.(
)
{{countdown |day = 30 |hour = 14 |minute = 1 |color = red |text = [[Historical Dragon]] leaves the {{ctg|Bottomless Dungeon|Dungeon}} |endtext = [[Historical Dragon]] left [[Dragolandia]]. Check back soon! }}
Historical Dragon leaves the Dungeon in 10d 0h 46m.(
)
{{countdown |day = 1 |hour = 1 |minute = 1 |text = never to be seen |endtext = Check back soon! }}
Check back soon!(
)
Creates a countdown timer for use on the main and other pages, and in templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Override) year | year | Used to override the year, though normally this isn't done, rather it is auto-populated via parser function.
| String | optional |
(Override) month | month | Used to override the zero-padded month, though normally this isn't done, rather it is auto-populated via parser function.
| String | optional |
(Override) day | day | Used to override the zero-padded year, though normally this isn't done, rather it is auto-populated via parser function. | String | optional |
(Override) hour | hour | Used to override the zero-padded hour in 24hour time format, though normally this isn't done, rather it is auto-populated via parser function. | String | optional |
(Override) minute | minute | Used to override the zero-padded minutes, though normally this isn't done, rather it is auto-populated via parser function. | String | optional |
(Override) second | second | Used to override the zero-padded seconds, though normally this isn't done, rather it is auto-populated via parser function. | String | optional |
(Override, event ends) text | text | When set, overrides the "Event ends" text
| String | optional |
(Override, time) color | color | Overrides the default color of time numbers.
| String | optional |
(Override) endtext | endtext | When set, overrides the "Event has ended" text (including the period at the end)
| String | optional |