Template:Infobox event/doc: Difference between revisions

Template page
Content added Content deleted
(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

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 "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.

Example
25ji
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 commas.

Example
kanade,25ji luka,mafuyu,mizuki,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

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.