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: | Line 5: | ||
__TOC__ |
__TOC__ |
||
== |
==Quick copy== |
||
<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> |
<templatedata> |
||
{ |
{ |
||
Line 28: | Line 50: | ||
"type": "number", |
"type": "number", |
||
"required": true |
"required": true |
||
}, |
|||
"title": { |
|||
"label": "Card Title", |
|||
"description": "The title of the card.", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"untrained": { |
|||
"label": "Untrained Art", |
|||
"type": "string", |
|||
"suggested": true, |
|||
"description": "The untrained art of the card." |
|||
}, |
|||
"trained": { |
|||
"label": "Trained Art", |
|||
"type": "string", |
|||
"suggested": true, |
|||
"description": "The trained art of the card. Will only show if rarity > 2." |
|||
}, |
}, |
||
"japanese": { |
"japanese": { |
||
Line 66: | Line 70: | ||
}, |
}, |
||
"date": { |
"date": { |
||
"label": " |
"label": "Release date", |
||
"description": "The date that the card was released", |
"description": "The date that the card was released", |
||
"type": "date", |
"type": "date", |
||
Line 74: | Line 78: | ||
"label": "Status", |
"label": "Status", |
||
"description": "Whether the card is limited or permanent. Valid values are \"Permanent\", \"Limited\" or \"Colorful Festival Limited\".", |
"description": "Whether the card is limited or permanent. Valid values are \"Permanent\", \"Limited\" or \"Colorful Festival Limited\".", |
||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"subunit": { |
|||
"label": "Subunit", |
|||
"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", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 105: | Line 103: | ||
"description": "The banner that the card was released on.", |
"description": "The banner that the card was released on.", |
||
"type": "string", |
"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 |
"suggested": true |
||
} |
} |
||
Line 114: | Line 148: | ||
"text color", |
"text color", |
||
"id", |
"id", |
||
" |
"card name", |
||
"untrained", |
|||
"trained", |
|||
"rarity", |
|||
"attribute", |
|||
"unit", |
|||
"subunit", |
|||
"japanese", |
"japanese", |
||
"romaji", |
"romaji", |
||
"thumbnail", |
|||
"thumbnail trained", |
|||
"character", |
"character", |
||
"attribute", |
|||
"rarity", |
|||
"unit", |
|||
"support unit", |
|||
"date", |
"date", |
||
"status", |
"status", |
||
" |
"obtain", |
||
"banner", |
|||
"event" |
|||
] |
] |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
==Quick Copy== |
|||
<pre> |
|||
{{Infobox Card |
|||
|card id = |
|||
|card name = |
|||
|japanese = |
|||
|romaji = |
|||
|thumbnail = |
|||
|thumbnail trained = |
|||
|character = |
|||
|attribute = |
|||
|rarity = |
|||
|unit = |
|||
|support unit = |
|||
|date = |
|||
|status = |
|||
|obtain = |
|||
|banner = |
|||
|event = |
|||
}} |
|||
</pre> |
|||
<includeonly>[[Category:Infobox templates]] [[Category:Card templates]]</includeonly> |
<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 |