(updated examples, added parameter information) |
(→Parameters: added examples) |
||
Line 11: | Line 11: | ||
"description": "The ID of the event.", |
"description": "The ID of the event.", |
||
"type": "number", |
"type": "number", |
||
"required": true |
"required": true, |
||
"example": "26" |
|||
}, |
}, |
||
"event name": { |
"event name": { |
||
Line 17: | Line 18: | ||
"description": "The name of the event, translated from Japanese.", |
"description": "The name of the event, translated from Japanese.", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"example": "Carnation Recollection" |
|||
}, |
}, |
||
"japanese": { |
"japanese": { |
||
Line 23: | Line 25: | ||
"description": "The name of the event in Japanese.", |
"description": "The name of the event in Japanese.", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true, |
||
"example": "カーネーション・リコレクション" |
|||
}, |
}, |
||
"romaji": { |
"romaji": { |
||
Line 29: | Line 32: | ||
"description": "The romanization of the Japanese event name.", |
"description": "The romanization of the Japanese event name.", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true, |
||
"example": "Kaaneeshon Rikurekushon" |
|||
}, |
}, |
||
"image": { |
"image": { |
||
Line 35: | Line 39: | ||
"description": "The image of the event.", |
"description": "The image of the event.", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"required": true |
"required": true, |
||
"example": "Carnation2021 logo.png" |
|||
}, |
}, |
||
"start": { |
"start": { |
||
Line 41: | Line 46: | ||
"description": "The start date and time of the event, in JST.", |
"description": "The start date and time of the event, in JST.", |
||
"type": "date", |
"type": "date", |
||
"required": true |
"required": true, |
||
"example": "2021/06/21, 15:00 JST" |
|||
}, |
}, |
||
"end": { |
"end": { |
||
Line 47: | Line 53: | ||
"description": "The end date of the event, in JST.", |
"description": "The end date of the event, in JST.", |
||
"type": "date", |
"type": "date", |
||
"required": true |
"required": true, |
||
"example": "2021/06/28, 20:59 JST" |
|||
}, |
}, |
||
"unit focus": { |
"unit focus": { |
||
Line 53: | Line 60: | ||
"description": "The unit that is the focus of the event, or mixed. Use \"vs\" for VIRTUAL SINGER, \"ln\" for Leo/need, \"mmj\" for MORE MORE JUMP!, \"vbs\" for Vivid BAD SQUAD, \"wxs\" for Wonderlands×Showtime, \"25ji\" for 25-ji, Nightcord de.", |
"description": "The unit that is the focus of the event, or mixed. Use \"vs\" for VIRTUAL SINGER, \"ln\" for Leo/need, \"mmj\" for MORE MORE JUMP!, \"vbs\" for Vivid BAD SQUAD, \"wxs\" for Wonderlands×Showtime, \"25ji\" for 25-ji, Nightcord de.", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"example": "25ji" |
|||
}, |
}, |
||
"type": { |
"type": { |
||
Line 59: | Line 67: | ||
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".", |
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"example": "Marathon" |
|||
}, |
}, |
||
"characters": { |
"characters": { |
||
Line 65: | Line 74: | ||
"description": "The characters of the cards that receive event bonus, separated by commas.", |
"description": "The characters of the cards that receive event bonus, separated by commas.", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"example": "kanade,25ji luka,mafuyu,mizuki,ena" |
|||
}, |
}, |
||
"attribute": { |
"attribute": { |
||
Line 71: | Line 81: | ||
"description": "The attribute of cards that receive event bonus. Use \"cool\", \"cute\", \"happy\", \"mysterious\" or \"pure\".", |
"description": "The attribute of cards that receive event bonus. Use \"cool\", \"cute\", \"happy\", \"mysterious\" or \"pure\".", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"example": "mysterious" |
|||
}, |
}, |
||
"event song id": { |
"event song id": { |
||
Line 77: | Line 88: | ||
"description": "The ID of the song that is associated with the event.", |
"description": "The ID of the song that is associated with the event.", |
||
"type": "number", |
"type": "number", |
||
"suggested": true |
"suggested": true, |
||
"example": "149" |
|||
}, |
}, |
||
"bg color": { |
"bg color": { |
||
Line 83: | Line 95: | ||
"description": "The background color of the infobox headers.", |
"description": "The background color of the infobox headers.", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true, |
||
"example": "#bc698c" |
|||
}, |
}, |
||
"text color": { |
"text color": { |
||
Line 89: | Line 102: | ||
"description": "The text color of the infobox headers.", |
"description": "The text color of the infobox headers.", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true, |
||
"example": "#000" |
|||
} |
} |
||
}, |
}, |
Revision as of 02:53, 31 October 2021
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: |
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 "vs" for VIRTUAL SINGER, "ln" for Leo/need, "mmj" for MORE MORE JUMP!, "vbs" for Vivid BAD SQUAD, "wxs" for Wonderlands×Showtime, "25ji" for 25-ji, Nightcord de.
| 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 commas.
| 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 |
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 |bg color = #ff5b41 |text color = #000 |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 = vbs |type = Cheerful Carnival |characters = akito,an,vbs kaito,kohane,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 = 25ji |type = Marathon |characters = kanade,25ji luka,mafuyu,mizuki,ena |attribute = mysterious |event song id = 149 }}