VOOZH about

URL: https://minecraft.wiki/w/Template:Countdown

⇱ Template:Countdown – Minecraft Wiki


Template:Countdown

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Date/time1

Any English textual date/time description accepted by PHP strtotime().

Stringsuggested
Prefixprefix

Text to display before the countdown. Hidden once the countdown has finished.

Default
in
Stringoptional
Suffixsuffix

Text to display after the countdown. Hidden once the countdown has finished.

Stringoptional
Completion textdone

Text to display after the countdown has completed.

Default
now
Stringoptional
Fallback textfallback

Static text displayed when JavaScript is disabled.

Default
{{#expr: floor(({{#time: U|{{{1}}}}} - {{#time: U}}) / 60 / 60 / 24)}} days
Stringoptional

Usage

  • {{Countdown}} Error: Invalid time.
  • {{Countdown|}} in now
  • {{Countdown|in 24 hours}} Error: Invalid time.
  • {{Countdown|+24 hours}} in now
  • {{Countdown|yesterday|done=right now}} in right now
  • {{Countdown|3000-01-01T00:00Z|suffix=.}} in .now
  • {{Countdown|3000-01-01T00:00Z|suffix= Cookie}} in Cookienow

See also

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Countdown/doc.
Retrieved from "https://minecraft.wiki/w/Template:Countdown?oldid=3045825"

Navigation menu