Template:Countdown/doc

From RuneRealm Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:Countdown.
It contains usage information, categories, and other content that is not part of the original template page.

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: 356014 days, 10 hours, 30 minutes and 13 seconds

Options

endmsg

Can be set to an arbitrary message which will be displayed when the countdown expires.

Example:

{{Countdown|August 6 2018 09:06|endmsg=So long, 'Classic!}}

noup

If defined, will stop the countdown at zero instead of counting up. (endmsg will take priority.)

Example:

{{Countdown|August 6 2018 09:06|noup=yes}}

0 days, 0 hours, 0 minutes and 0 seconds

nomsg

If defined, will hide the default message given (about JavaScript being disabled).

nozeros

If defined, will omit the parts of the time string when they are zero.

Example:

{{Countdown|April 8 2025 10:29:44|nozeros=yes}}

59 minutes and 13 seconds

nosecs

If defined, will omit the seconds part of the countdown.

Example:

{{Countdown|January 1 3000 20:00|nosecs=yes}}

356014 days, 10 hours, 30 minutes and 13 seconds

See also