Module:Event countdown/doc

MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
< Module:Event countdown
Revision as of 21:29, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Event countdown

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|2025|1|1}}Lua error: expandTemplate: template "Age in days" does not exist.
  • Current event: {{#invoke:Event countdown|countdown|2024|11|23}}Lua error: expandTemplate: template "Age in days" does not exist.
  • Past event: {{#invoke:Event countdown|countdown|2018|11|25}}Lua error: expandTemplate: template "Age in days" does not exist.
  • "Month of May" event: {{#invoke:Event countdown|countdown|2024|5|1|2024|5|31}}Lua error: expandTemplate: template "Age in days" does not exist.
  • Unconfirmed event: {{#invoke:Event countdown|countdown|text=Unconfirmed}}Unconfirmed