Template:Infobox event/doc: Difference between revisions

Template page
Content added Content deleted
(updated examples, added parameter information)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}

__TOC__


{{Lua|Module:Infobox Event}}
{{Lua|Module:Infobox Event}}

==Parameters==
<templatedata>
{
"params": {
"event id": {
"label": "Event ID",
"description": "The ID of the event.",
"type": "number",
"required": true
},
"event name": {
"label": "Event Name",
"description": "The name of the event, translated from Japanese.",
"type": "string",
"required": true
},
"japanese": {
"label": "Japanese",
"description": "The name of the event in Japanese.",
"type": "string",
"suggested": true
},
"romaji": {
"label": "Romaji",
"description": "The romanization of the Japanese event name.",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "The image of the event.",
"type": "wiki-file-name",
"required": true
},
"start": {
"label": "Start Date",
"description": "The start date and time of the event, in JST.",
"type": "date",
"required": true
},
"end": {
"label": "End Date",
"description": "The end date of the event, in JST.",
"type": "date",
"required": true
},
"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.",
"type": "string",
"required": true
},
"type": {
"label": "Event Type",
"description": "The type of event. Use \"Marathon\" or \"Cheerful Carnival\".",
"type": "string",
"required": true
},
"characters": {
"label": "Bonus Characters",
"description": "The characters of the cards that receive event bonus, separated by commas.",
"type": "string",
"required": true
},
"attribute": {
"label": "Bonus Attribute",
"description": "The attribute of cards that receive event bonus. Use \"cool\", \"cute\", \"happy\", \"mysterious\" or \"pure\".",
"type": "string",
"required": true
},
"event song id": {
"label": "Event Song ID",
"description": "The ID of the song that is associated with the event.",
"type": "number",
"suggested": true
},
"bg color": {
"label": "Background Color",
"description": "The background color of the infobox headers.",
"type": "string",
"suggested": true
},
"text color": {
"label": "Text Color",
"description": "The text color of the infobox headers.",
"type": "string",
"suggested": true
}
},
"format": "block",
"description": "Infobox Event for displaying event information.",
"paramOrder": [
"bg color",
"text color",
"event id",
"event name",
"japanese",
"romaji",
"image",
"start",
"end",
"unit focus",
"type",
"characters",
"attribute",
"event song id"
]
}
</templatedata>


==Quick Copy==
==Quick Copy==
Line 29: Line 137:
|bg color = #ff5b41
|bg color = #ff5b41
|text color = #000
|text color = #000
|event id = 21
|event name = STRAY BAD DOG
|event name = STRAY BAD DOG
|image = Stray2021 logo.png
|image = Stray2021 logo.png
|start = 2021/04/30
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08
|end = 2021/05/08, 20:59 JST
|unit focus = vbs
|unit focus = vbs
|type = Cheerful Carnival
|type = Cheerful Carnival
Line 43: Line 152:
|bg color = #ff5b41
|bg color = #ff5b41
|text color = #000
|text color = #000
|event id = 21
|event name = STRAY BAD DOG
|event name = STRAY BAD DOG
|image = Stray2021 logo.png
|image = Stray2021 logo.png
|start = 2021/04/30
|start = 2021/04/30, 15:00 JST
|end = 2021/05/08
|end = 2021/05/08, 20:59 JST
|unit focus = vbs
|unit focus = vbs
|type = Cheerful Carnival
|type = Cheerful Carnival
Line 58: Line 168:


{{Infobox Event
{{Infobox Event
|bg color = #4dd7f6
|bg color = #bc698c
|text color = #000
|text color = #000
|event name = Let's Have the Absolute Best Summer!
|event id = 26
|event name = Carnation Recollection
|japanese = きっと最高のsummer!
|japanese = カーネーション・リコレクション
|romaji = Kitto Saikou no summer!
|image = Summer2021 logo.png
|romaji = Kaaneeshon Rikurekushon
|start = 2021/07/31
|image = Carnation2021 logo.png
|end = 2021/08/08
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|unit focus = Mixed
|unit focus = 25ji
|type = Cheerful Carnival
|type = Marathon
|characters = honami,saki,emu,wxs miku,kohane
|characters = kanade,25ji luka,mafuyu,mizuki,ena
|attribute = pure
|attribute = mysterious
|event song id = 149
}}
}}
<pre>
<pre>
{{Infobox Event
{{Infobox Event
|bg color = #4dd7f6
|bg color = #bc698c
|text color = #000
|text color = #000
|event name = Let's Have the Absolute Best Summer!
|event id = 26
|event name = Carnation Recollection
|japanese = きっと最高のsummer!
|japanese = カーネーション・リコレクション
|romaji = Kitto Saikou no summer!
|image = Summer2021 logo.png
|romaji = Kaaneeshon Rikurekushon
|start = 2021/07/31
|image = Carnation2021 logo.png
|end = 2021/08/08
|start = 2021/06/21, 15:00 JST
|end = 2021/06/28, 20:59 JST
|unit focus = Mixed
|unit focus = 25ji
|type = Cheerful Carnival
|type = Marathon
|characters = honami,saki,emu,wxs miku,kohane
|characters = kanade,25ji luka,mafuyu,mizuki,ena
|attribute = pure
|attribute = mysterious
|event song id = 149
}}
}}
</pre>
</pre>

Revision as of 02:51, 31 October 2021

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.

Stringsuggested
Text Colortext color

The text color of the infobox headers.

Stringsuggested
Event IDevent id

The ID of the event.

Numberrequired
Event Nameevent name

The name of the event, translated from Japanese.

Stringrequired
Japanesejapanese

The name of the event in Japanese.

Stringsuggested
Romajiromaji

The romanization of the Japanese event name.

Stringsuggested
Imageimage

The image of the event.

Filerequired
Start Datestart

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

Daterequired
End Dateend

The end date of the event, in JST.

Daterequired
Unit Focusunit 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.

Stringrequired
Event Typetype

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

Stringrequired
Bonus Characterscharacters

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

Stringrequired
Bonus Attributeattribute

The attribute of cards that receive event bonus. Use "cool", "cute", "happy", "mysterious" or "pure".

Stringrequired
Event Song IDevent song id

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

Numbersuggested

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

Template:Infobox Event

{{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
}}

Template:Infobox Event

{{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
}}


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