Difference between revisions of "Module:Event countdown/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andreyyshore
(Created page with '<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == {| |-style="vert...')
 
m (1 revision imported)
 
(No difference)

Latest revision as of 16:30, 26 September 2020

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}}275 days to go
  • Current event: {{#invoke:Event countdown|countdown|2025|04|1}}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}}30 days to go
  • Unconfirmed event: {{#invoke:Event countdown|countdown|text=Unconfirmed}}Unconfirmed