Module:Event countdown/doc explained

Usage

  • For a one-day event:
event_date
{{ || style="color: navy" | #invoke: || Event countdown || style="color: #aaa" | | || countdown| style="color: #aaa" | | || yyyy || style="color: #aaa" | | || mm || style="color: #aaa" | | || dd| style="color: #aaa" | }}|}|-style="vertical-align: bottom"|
  • For a multiple-day event:

|

start_date end_date
{{ || style="color: navy" | #invoke: || Event countdown || style="color: #aaa" | | || countdown| style="color: #aaa" | | || yyyy || style="color: #aaa" | | || mm || style="color: #aaa" | | || dd| style="color: #aaa" | | || yyyy || style="color: #aaa" | | || mm || style="color: #aaa" | | || dd| style="color: #aaa" | }}|}|-|
  • For an unconfirmed event:

|

{{ || style="color: navy" | #invoke: || Event countdown || style="color: #aaa" | | || countdown || style="color: #aaa" | | || text=Unconfirmed| style="color: #aaa" | }}
|}

Examples

  • Future event: <nowiki>{{</nowiki>#invoke:Event countdown|countdown|{{#expr:{{CURRENTYEAR}}+1}}|1|1<nowiki>}}</nowiki>
  • Current event: <nowiki>{{</nowiki>#invoke:Event countdown|countdown|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}<nowiki>}}</nowiki>
  • Past event: <nowiki>{{</nowiki>#invoke:Event countdown|countdown|2018|11|25<nowiki>}}</nowiki>
  • "Month of May" event: <nowiki>{{</nowiki>#invoke:Event countdown|countdown|{{CURRENTYEAR}}|5|1|{{CURRENTYEAR}}|5|31<nowiki>}}</nowiki>
  • Unconfirmed event: <nowiki>{{</nowiki>#invoke:Event countdown|countdown|text=Unconfirmed<nowiki>}}</nowiki>