- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Timer"
Jump to navigation
Jump to search
m |
|||
Line 12: | Line 12: | ||
See [[MediaWiki:Gadget-Countdown.js]] for JS implementation details. | See [[MediaWiki:Gadget-Countdown.js]] for JS implementation details. | ||
==Examples== | ==Examples== | ||
+ | <pre> | ||
{{Timer | {{Timer | ||
|time = January 1 2025 00:00:00 +0900 | |time = January 1 2025 00:00:00 +0900 |
Revision as of 09:02, 1 May 2021
Parameters
time
: time to countdown to, required.style
: custom style, optional.endClass
: specify when multiple timers are used on the page,countdownComplete
by default, e.g.,countdownComplete2
for a second timer, etc.endText
: optional completion text,Countdown complete!
by default.
See MediaWiki:Gadget-Countdown.js for JS implementation details.
Examples
{{Timer |time = January 1 2025 00:00:00 +0900 |style = font-weight:italic |endClass = countdownComplete1 |endText = Not yet. }}
{{Timer |time = January 19 2038 12:14:07 +0900 |style = font-weight:bold |endClass = countdownComplete2 |endText = The time is now! }}