m (ChaoticShadow moved page Template:Infobox Card/doc to Template:Infobox card/doc without leaving a redirect) |
(Updated template data to reflect actual parameters) |
||
Line 5:
__TOC__
==
<pre>
{{Infobox card
|card id =
|card name =
|japanese =
|romaji =
|thumbnail =
|thumbnail trained =
|character =
|attribute =
|rarity =
|unit =
|support unit =
|date =
|status =
|obtain =
|banner =
|event =
}}
</pre>
==Template data==
<templatedata>
{
Line 28 ⟶ 50:
"type": "number",
"required": true
},
"japanese": {
Line 66 ⟶ 70:
},
"date": {
"label": "
"description": "The date that the card was released",
"type": "date",
Line 74 ⟶ 78:
"label": "Status",
"description": "Whether the card is limited or permanent. Valid values are \"Permanent\", \"Limited\" or \"Colorful Festival Limited\".",
"type": "string",
"suggested": true
Line 105 ⟶ 103:
"description": "The banner that the card was released on.",
"type": "string",
"suggested": true
},
"card name": {
"label": "Card name",
"description": "The name of the card.",
"type": "string",
"required": true
},
"thumbnail": {
"label": "Thumbnail",
"description": "The thumbnail art of the card.",
"type": "wiki-file-name",
"suggested": true
},
"thumbnail trained": {
"label": "Thumbnail (trained)",
"description": "The trained thumbnail of the card.",
"type": "wiki-file-name",
"suggested": true
},
"support unit": {
"label": "Support unit",
"description": "For VIRTUAL SINGERs, the subunit associated with the card. Use \"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",
"suggested": true
},
"obtain": {
"label": "How to obtain",
"description": "The ways that this card can be obtained",
"type": "string",
"suggested": true
},
"event": {
"label": "Event",
"description": "The event that this card is associated with.",
"type": "wiki-page-name",
"suggested": true
}
Line 114 ⟶ 148:
"text color",
"id",
"
"japanese",
"romaji",
"thumbnail",
"thumbnail trained",
"character",
"attribute",
"rarity",
"unit",
"support unit",
"date",
"status",
"
"banner",
"event"
]
}
</templatedata>
<includeonly>[[Category:Infobox templates]] [[Category:Card templates]]</includeonly>
|
Revision as of 21:32, 14 November 2021
This is a documentation subpage for Template:Infobox card. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Quick copy
{{Infobox card |card id = |card name = |japanese = |romaji = |thumbnail = |thumbnail trained = |character = |attribute = |rarity = |unit = |support unit = |date = |status = |obtain = |banner = |event = }}
Template data
Infobox Card for displaying card information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background Color | bg color | The background color of the headers. Overrides the colors associated with attributes if specified.
| String | optional |
Text Color | text color | The text color of the text inside headers. Overrides text colors associated with attributes if specified.
| String | optional |
Card ID | id | The internal ID of the card. | Number | required |
Card name | card name | The name of the card. | String | required |
Japanese | japanese | The official Japanese card title. | String | suggested |
Romaji | romaji | The romanized version of the Japanese card title. | String | suggested |
Thumbnail | thumbnail | The thumbnail art of the card. | File | suggested |
Thumbnail (trained) | thumbnail trained | The trained thumbnail of the card. | File | suggested |
Character | character | The character that the card is associated with. | String | suggested |
Attribute | attribute | The attribute associated with the card. | String | suggested |
Rarity | rarity | The rarity of the card. | Number | suggested |
Unit | unit | The unit associated with the card. 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 | suggested |
Support unit | support unit | For VIRTUAL SINGERs, the subunit associated with the card. Use "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 | suggested |
Release date | date | The date that the card was released | Date | suggested |
Status | status | Whether the card is limited or permanent. Valid values are "Permanent", "Limited" or "Colorful Festival Limited". | String | suggested |
How to obtain | obtain | The ways that this card can be obtained | String | suggested |
Banner | banner | The banner that the card was released on. | String | suggested |
Event | event | The event that this card is associated with. | Page name | suggested |