Template:Event infobox
From Tears of Themis Wiki
Description[edit source]
Generates an infobox with event promo image, start date, end date, and duration in a standard format for all event pages.
Usage[edit source]
{{Event infobox |name= |promoImage= |startDate=YYYY-MM-DD HH:MM:SS |endDate=YYYY-MM-DD HH:MM:SS }}
Example[edit source]
{{Event infobox |name=Blizzardous Threads of Red |promoImage=Blizzardous Threads of Red.jpg |startDate=2023-01-12 11:00 |endDate=2023-02-02 04:00 }}
Blizzardous Threads of Red | |
---|---|
Start Date | 2023-01-12 11:00 UTC +9 |
End Date | 2023-02-02 04:00 UTC +9 |
Duration | Approx. 21 days |
Optional banner override[edit source]
In case the template is called via cargo query and the editor would like to override with a different banner image than was used in the event announcement, this can be done by setting the variable "bannerOverride" before calling the template.
{{#vardefine:bannerOverride | Blizzardous Threads of Red banner.png }} {{Event infobox |name=Blizzardous Threads of Red |promoImage=Blizzardous Threads of Red.jpg |startDate=2023-01-12 11:00 |endDate=2023-02-02 04:00 }}
Blizzardous Threads of Red | |
---|---|
Start Date | 2023-01-12 11:00 UTC +9 |
End Date | 2023-02-02 04:00 UTC +9 |
Duration | Approx. 21 days |
The above documentation is transcluded from Template:Event infobox/doc. (edit | history)