Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox event/doc: Difference between revisions

Template page
Content added Content deleted
(→‎Parameters: added examples)
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1:
{{documentation subpage}}
 
{{Lua|Module:Infobox Eventevent}} {{Cargo|events}}
 
This infobox serves several purposes: displaying event information, storing values into Cargo, setting page variables, and automatically categorizing pages. This template sets the "event id", "event name", "start date", "end date", "characters", and "attribute" variables onto the page.
==Parameters==
 
== Parameters ==
<templatedata>
{
Line 15 ⟶ 17:
},
"event name": {
"label": "Event Namename",
"description": "The name of the event, translated from Japanese.",
"type": "string",
Line 36 ⟶ 38:
},
"image": {
"label": "ImageLogo",
"description": "The imagelogo of the event.",
"type": "wiki-file-name",
"required": true,
Line 43 ⟶ 45:
},
"start": {
"label": "Start Datedate",
"description": "The start date and time of the event, in JST.",
"type": "date",
Line 50 ⟶ 52:
},
"end": {
"label": "End Datedate",
"description": "The end date of the event, in JST.",
"type": "date",
Line 57 ⟶ 59:
},
"unit focus": {
"label": "Unit Focusfocus",
"description": "The unit that is the focus of the event, or mixed. Use \"vs\"the forunit's VIRTUALproper SINGER,name \"ln\" for Leo/need,or \"mmjMixed\" for MORE MORE JUMP!, \"vbs\" for Vivid BAD SQUAD, \"wxs\" for Wonderlands×Showtime, \"25ji\" for 25-ji, Nightcordif demixed.",
"type": "string",
"required": true,
"example": "25ji25-ji, Nightcord de."
},
"type": {
"label": "Event Typetype",
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".",
"type": "string",
Line 71 ⟶ 73:
},
"characters": {
"label": "Bonus Characterscharacters",
"description": "The characters of the cards that receive event bonus, separated by commassemicolons.",
"type": "string",
"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": {
"label": "Bonus Attributeattribute",
"description": "The attribute of cards that receive event bonus. Use \"coolCool\", \"cuteCute\", \"happyHappy\", \"mysteriousMysterious\" or \"purePure\".",
"type": "string",
"required": true,
"example": "mysteriousMysterious"
},
"event song id": {
"label": "Event Songsong ID",
"description": "The ID of the song that is associated with the event.",
"type": "number",
"suggested": true,
"example": "149"
},
"bg color": {
"label": "Background Color",
"description": "The background color of the infobox headers.",
"type": "string",
"suggested": true,
"example": "#bc698c"
},
"text color": {
"label": "Text Color",
"description": "The text color of the infobox headers.",
"type": "string",
"suggested": true,
"example": "#000"
}
},
"format": "block",
"description": "Infobox Eventevent for displaying event information.",
"paramOrder": [
"bg color",
"text color",
"event id",
"event name",
Line 127 ⟶ 113:
</templatedata>
 
== Category mapping ==
==Quick Copy==
 
{| class="wikitable"
! Parameter
! Value
! Category
|-
| rowspan="2" | Event 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" | Bonus attribute
| Cool
| [[:Category:Cool events]]
|-
| Cute
| [[:Category:Cute events]]
|-
| Happy
| [[:Category:Happy events]]
|-
| Mysterious
| [[:Category:Mysterious events]]
|-
| Pure
| [[:Category:Pure events]]
|}
 
== Quick Copycopy ==
<pre>
{{Infobox Eventevent
|bg color =
|text color =
Line 147 ⟶ 186:
</pre>
 
== Examples ==
{{Infobox Eventevent
|bg color = #ff5b41
|text color = #000
|event id = 21
|event name = STRAY BAD DOG
Line 156 ⟶ 193:
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08, 20:59 JST
|unit focus = vbsVivid BAD SQUAD
|type = Cheerful Carnival
|characters = Shinonome Akito; Shiraishi An; KAITO (Vivid BAD SQUAD); Azusawa Kohane; Aoyagi Toya
|characters = akito,an,vbs kaito,kohane,toya
|attribute = happyHappy
|event song id = 126
}}
<pre>
{{Infobox Eventevent
|bg color = #ff5b41
|text color = #000
|event id = 21
|event name = STRAY BAD DOG
Line 171 ⟶ 206:
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08, 20:59 JST
|unit focus = vbsVivid BAD SQUAD
|type = Cheerful Carnival
|characters = Shinonome Akito; Shiraishi An; KAITO (Vivid BAD SQUAD); Azusawa Kohane; Aoyagi Toya
|characters = akito,an,vbs kaito,kohane,toya
|attribute = happyHappy
|event song id = 126
}}
Line 181 ⟶ 216:
{{clear}}
 
{{Infobox Eventevent
|bg color = #bc698c
|text color = #000
Line 191 ⟶ 226:
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|unit focus = 25ji25-ji, Nightcord de.
|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 = mysteriousMysterious
|event song id = 149
}}
<pre>
{{Infobox Eventevent
|bg color = #bc698c
|text color = #000
Line 208 ⟶ 243:
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|unit focus = 25ji25-ji, Nightcord de.
|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 = mysteriousMysterious
|event song id = 149
}}

Latest revision as of 22:16, 28 April 2023

This infobox serves several purposes: displaying event information, storing values into Cargo, setting page variables, and automatically categorizing pages. This template sets the "event id", "event name", "start date", "end date", "characters", and "attribute" variables onto the page.

Parameters[edit source]

Infobox event for displaying event information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
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
Logoimage

The logo 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[edit source]

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[edit source]

{{Infobox event
|bg color   = 
|text color = 
|event id   = 
|event name = 
|japanese   = 
|romaji     = 
|image      = 
|start      = 
|end        = 
|unit focus = 
|type       = 
|characters = 
|attribute  = 
|event song id = 
}}

Examples[edit source]

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.