Template:Countdown/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "----- {{Documentation}} This template creates a countdown timer, and works only in UTC time (the official wiki-time). The correct usage is as follows: <pre>{{Countdown|[name..." |
mNo edit summary |
||
| Line 17: | Line 17: | ||
==See also== | ==See also== | ||
* [[MediaWiki:Gadget-countdown.js]] | * [[MediaWiki:Gadget-countdown.js]] | ||
* [[Template:Gem Wiki/Recent updates]] | |||
Latest revision as of 21:11, 1 June 2020
This template creates a countdown timer, and works only in UTC time (the official wiki-time). The correct usage is as follows:
{{Countdown|[name of month] [number pertaining to day] [year] [time of day in UTC]}}
Therefore,
{{Countdown|January 1 3000 20:00}}
Would create this: January 01 3000 20:00 UTC This message will be displayed if the timer does not show up (if you do not have javascript enabled on your browser, for example)
Options
|endmsg=...can be set to an arbitrary message which will be displayed when the countdown expires. (Using multiple of these on the same page may cause issues.)|noup=yeswill stop the countdown at zero instead of counting up. (endmsgwill take priority.)|nomsg=yeswill hide the default message given (about javascript being disabled).
