Template:Infobox event/doc: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
(added catmap and description)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


{{Lua|Module:Infobox event}}
{{Lua|Module:Infobox event}} {{Cargo|Songs}}


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==

== Parameters ==
<templatedata>
<templatedata>
{
{
Line 15: Line 17:
},
},
"event name": {
"event name": {
"label": "Event Name",
"label": "Event name",
"description": "The name of the event, translated from Japanese.",
"description": "The name of the event, translated from Japanese.",
"type": "string",
"type": "string",
Line 43: Line 45:
},
},
"start": {
"start": {
"label": "Start Date",
"label": "Start date",
"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",
Line 50: Line 52:
},
},
"end": {
"end": {
"label": "End Date",
"label": "End date",
"description": "The end date of the event, in JST.",
"description": "The end date of the event, in JST.",
"type": "date",
"type": "date",
Line 57: Line 59:
},
},
"unit focus": {
"unit focus": {
"label": "Unit Focus",
"label": "Unit focus",
"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 the unit's proper name or \"Mixed\" if mixed.",
"type": "string",
"type": "string",
"required": true,
"required": true,
"example": "25ji"
"example": "25-ji, Nightcord de."
},
},
"type": {
"type": {
"label": "Event Type",
"label": "Event type",
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".",
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".",
"type": "string",
"type": "string",
Line 71: Line 73:
},
},
"characters": {
"characters": {
"label": "Bonus Characters",
"label": "Bonus characters",
"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 semicolons.",
"type": "string",
"type": "string",
"required": true,
"required": true,
"example": "Yoisaki Kanade; Megurine Luka (25-ji, Nightcord de.); Asahina Mafuyu; Akiyama Mizuki; Shinonome Ena"
"example": "kanade,25ji luka,mafuyu,mizuki,ena"
},
},
"attribute": {
"attribute": {
"label": "Bonus Attribute",
"label": "Bonus attribute",
"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"
"example": "Mysterious"
},
},
"event song id": {
"event song id": {
"label": "Event Song ID",
"label": "Event song ID",
"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",
Line 92: Line 94:
},
},
"bg color": {
"bg color": {
"label": "Background Color",
"label": "Background color",
"description": "The background color of the infobox headers.",
"description": "The background color of the infobox headers.",
"type": "string",
"type": "string",
Line 99: Line 101:
},
},
"text color": {
"text color": {
"label": "Text Color",
"label": "Text color",
"description": "The text color of the infobox headers.",
"description": "The text color of the infobox headers.",
"type": "string",
"type": "string",
Line 107: Line 109:
},
},
"format": "block",
"format": "block",
"description": "Infobox Event for displaying event information.",
"description": "Infobox event for displaying event information.",
"paramOrder": [
"paramOrder": [
"bg color",
"bg color",
Line 127: Line 129:
</templatedata>
</templatedata>


== Category mapping ==
==Quick Copy==

{| class="wikitable"
! Parameter
! Value
! Category
|-
| rowspan="2" | Type
| Marathon
| [[:Category:Marathon events]]
|-
| Cheerful Carnival
| [[:Category:Cheerful Carnival events]]
|-
| rowspan="7" | 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]]
|-
| rowspan="5" | Attribute
| Cool
| [[:Category:Cool events]]
|-
| Cute
| [[:Category:Cute events]]
|-
| Happy
| [[:Category:Happy events]]
|-
| Mysterious
| [[:Category:Mysterious events]]
|-
| Pure
| [[:Category:Pure events]]
|}

== Quick copy ==
<pre>
<pre>
{{Infobox event
{{Infobox event
Line 147: Line 202:
</pre>
</pre>


==Examples==
== Examples ==
{{Infobox event
{{Infobox event
|bg color = #ff5b41
|text color = #000
|event id = 21
|event id = 21
|event name = STRAY BAD DOG
|event name = STRAY BAD DOG
Line 156: Line 209:
|start = 2021/04/30, 15:00 JST
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08, 20:59 JST
|end = 2021/05/08, 20:59 JST
|unit focus = vbs
|unit focus = Vivid BAD SQUAD
|type = Cheerful Carnival
|type = Cheerful Carnival
|characters = Shinonome Akito; Shiraishi An; KAITO (Vivid BAD SQUAD); Azusawa Kohane; Aoyagi Toya
|characters = akito,an,vbs kaito,kohane,toya
|attribute = happy
|attribute = Happy
|event song id = 126
|event song id = 126
}}
}}
<pre>
<pre>
{{Infobox event
{{Infobox event
|bg color = #ff5b41
|text color = #000
|event id = 21
|event id = 21
|event name = STRAY BAD DOG
|event name = STRAY BAD DOG
Line 171: Line 222:
|start = 2021/04/30, 15:00 JST
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08, 20:59 JST
|end = 2021/05/08, 20:59 JST
|unit focus = vbs
|unit focus = Vivid BAD SQUAD
|type = Cheerful Carnival
|type = Cheerful Carnival
|characters = Shinonome Akito; Shiraishi An; KAITO (Vivid BAD SQUAD); Azusawa Kohane; Aoyagi Toya
|characters = akito,an,vbs kaito,kohane,toya
|attribute = happy
|attribute = Happy
|event song id = 126
|event song id = 126
}}
}}
Line 191: Line 242:
|start = 2021/06/21, 15:00 JST
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|end = 2021/06/28, 20:59 JST
|unit focus = 25ji
|unit focus = 25-ji, Nightcord de.
|type = Marathon
|type = Marathon
|characters = Yoisaki Kanade; Megurine Luka (25-ji, Nightcord de.); Asahina Mafuyu; Akiyama Mizuki; Shinonome Ena
|characters = kanade,25ji luka,mafuyu,mizuki,ena
|attribute = mysterious
|attribute = Mysterious
|event song id = 149
|event song id = 149
}}
}}
Line 208: Line 259:
|start = 2021/06/21, 15:00 JST
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|end = 2021/06/28, 20:59 JST
|unit focus = 25ji
|unit focus = 25-ji, Nightcord de.
|type = Marathon
|type = Marathon
|characters = Yoisaki Kanade; Megurine Luka (25-ji, Nightcord de.); Asahina Mafuyu; Akiyama Mizuki; Shinonome Ena
|characters = kanade,25ji luka,mafuyu,mizuki,ena
|attribute = mysterious
|attribute = Mysterious
|event song id = 149
|event song id = 149
}}
}}

Revision as of 04:29, 14 July 2022

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background colorbg color

The background color of the infobox headers.

Example
#bc698c
Stringsuggested
Text colortext color

The text color of the infobox headers.

Example
#000
Stringsuggested
Event IDevent id

The ID of the event.

Example
26
Numberrequired
Event nameevent name

The name of the event, translated from Japanese.

Example
Carnation Recollection
Stringrequired
Japanesejapanese

The name of the event in Japanese.

Example
カーネーション・リコレクション
Stringsuggested
Romajiromaji

The romanization of the Japanese event name.

Example
Kaaneeshon Rikurekushon
Stringsuggested
Imageimage

The image of the event.

Example
Carnation2021 logo.png
Filerequired
Start datestart

The start date and time of the event, in JST.

Example
2021/06/21, 15:00 JST
Daterequired
End dateend

The end date of the event, in JST.

Example
2021/06/28, 20:59 JST
Daterequired
Unit focusunit focus

The unit that is the focus of the event, or mixed. Use the unit's proper name or "Mixed" if mixed.

Example
25-ji, Nightcord de.
Stringrequired
Event typetype

The type of event. Use "Marathon" or "Cheerful Carnival".

Example
Marathon
Stringrequired
Bonus characterscharacters

The characters of the cards that receive event bonus, separated by semicolons.

Example
Yoisaki Kanade; Megurine Luka (25-ji, Nightcord de.); Asahina Mafuyu; Akiyama Mizuki; Shinonome Ena
Stringrequired
Bonus attributeattribute

The attribute of cards that receive event bonus. Use "Cool", "Cute", "Happy", "Mysterious" or "Pure".

Example
Mysterious
Stringrequired
Event song IDevent song id

The ID of the song that is associated with the event.

Example
149
Numbersuggested

Category mapping

Parameter Value Category
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
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

STRAY BAD DOG
Event Information
Event ID21
Start date2021/04/30, 15:00 JST
End date2021/05/08, 20:59 JST
Unit focusVivid BAD SQUAD
Event typeCheerful Carnival
Event Bonus
Bonus characters
Bonus attribute Happy
Event Song
{{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
}}
Carnation Recollection
Japaneseカーネーション・リコレクション
RomajiKaaneeshon Rikurekushon
Event Information
Event ID26
Start date2021/06/21, 15:00 JST
End date2021/06/28, 20:59 JST
Unit focus25-ji, Nightcord de.
Event typeMarathon
Event Bonus
Bonus characters
Bonus attribute Mysterious
Event Song
{{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
}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.