Module:Event countdown/doc

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>Nickps at 22:16, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

  • For a one-day event:
event_date
{{ #invoke: Event countdown | countdown | yyyy | mm | dd }}
  • For a multiple-day event:
start_date end_date
{{ #invoke: Event countdown | countdown | yyyy | mm | dd | yyyy | mm | dd }}
  • For an unconfirmed event:
{{ #invoke: Event countdown | countdown | text=Unconfirmed }}

Examples

  • Future event: {{#invoke:Event countdown|countdown|2026|1|1}}207 days to go
  • Current event: {{#invoke:Event countdown|countdown|2025|06|8}}Live Event
  • Past event: {{#invoke:Event countdown|countdown|2018|11|25}}End of Event
  • "Month of May" event: {{#invoke:Event countdown|countdown|2025|5|1|2025|5|31}}End of Event
  • Unconfirmed event: {{#invoke:Event countdown|countdown|text=Unconfirmed}}Unconfirmed