This is a documentation subpage for Template:Infobox event. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template uses the following Cargo tables: |
Infobox template for storing event information. This template sets the "event id", "event name", "start date", "characters", and "attribute" variables onto the page based on values passed in. This template also automatically sets categories.
Parameters
Infobox event for displaying event information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background color | bg color | The background color of the infobox headers.
| String | suggested |
Text color | text color | The text color of the infobox headers.
| String | suggested |
Event ID | event id | The ID of the event.
| Number | required |
Event name | event name | The name of the event, translated from Japanese.
| String | required |
Japanese | japanese | The name of the event in Japanese.
| String | suggested |
Romaji | romaji | The romanization of the Japanese event name.
| String | suggested |
Image | image | The image of the event.
| File | required |
Start date | start | The start date and time of the event, in JST.
| Date | required |
End date | end | The end date of the event, in JST.
| Date | required |
Unit focus | unit focus | The unit that is the focus of the event, or mixed. Use the unit's proper name or "Mixed" if mixed.
| String | required |
Event type | type | The type of event. Use "Marathon" or "Cheerful Carnival".
| String | required |
Bonus characters | characters | The characters of the cards that receive event bonus, separated by semicolons.
| String | required |
Bonus attribute | attribute | The attribute of cards that receive event bonus. Use "Cool", "Cute", "Happy", "Mysterious" or "Pure".
| String | required |
Event song ID | event song id | The ID of the song that is associated with the event.
| Number | suggested |
Category mapping
Parameter | Value | Category |
---|---|---|
Event type | Marathon | Category:Marathon events |
Cheerful Carnival | Category:Cheerful Carnival events | |
Unit focus | VIRTUAL SINGER | Category:VIRTUAL SINGER events |
Leo/need | Category:Leo/need events | |
MORE MORE JUMP! | Category:MORE MORE JUMP! events | |
Vivid BAD SQUAD | Category:Vivid BAD SQUAD events | |
Wonderlands×Showtime | Category:Wonderlands×Showtime events | |
25-ji, Nightcord de. | Category:25-ji, Nightcord de. events | |
Mixed | Category:Mixed events | |
Bonus attribute | Cool | Category:Cool events |
Cute | Category:Cute events | |
Happy | Category:Happy events | |
Mysterious | Category:Mysterious events | |
Pure | Category:Pure events |
Quick copy
{{Infobox event |bg color = |text color = |event id = |event name = |japanese = |romaji = |image = |start = |end = |unit focus = |type = |characters = |attribute = |event song id = }}
Examples
{{Infobox event |event id = 21 |event name = STRAY BAD DOG |image = Stray2021 logo.png |start = 2021/04/30, 15:00 JST |end = 2021/05/08, 20:59 JST |unit focus = Vivid BAD SQUAD |type = Cheerful Carnival |characters = Shinonome Akito; Shiraishi An; KAITO (Vivid BAD SQUAD); Azusawa Kohane; Aoyagi Toya |attribute = Happy |event song id = 126 }}
{{Infobox event |bg color = #bc698c |text color = #000 |event id = 26 |event name = Carnation Recollection |japanese = カーネーション・リコレクション |romaji = Kaaneeshon Rikurekushon |image = Carnation2021 logo.png |start = 2021/06/21, 15:00 JST |end = 2021/06/28, 20:59 JST |unit focus = 25-ji, Nightcord de. |type = Marathon |characters = Yoisaki Kanade; Megurine Luka (25-ji, Nightcord de.); Asahina Mafuyu; Akiyama Mizuki; Shinonome Ena |attribute = Mysterious |event song id = 149 }}