Template:Infobox card/doc: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
(→‎Category mapping: added complete map)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Lua|Module:Infobox Card}}


{{Lua|Module:Infobox card}} {{Cargo|cards}}
__TOC__


==Parameters==
== Template data ==
<templatedata>
<templatedata>
{
{
Line 20: Line 20:
"default": "#FFFFFF",
"default": "#FFFFFF",
"description": "The text color of the text inside headers. Overrides text colors associated with attributes if specified."
"description": "The text color of the text inside headers. Overrides text colors associated with attributes if specified."
},
"id": {
"label": "Card ID",
"description": "The internal ID of the card.",
"type": "number",
"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 64: Line 40:
},
},
"date": {
"date": {
"label": "Date Released",
"label": "Release date",
"description": "The date that the card was released",
"description": "The date that the card was released",
"type": "date",
"type": "date",
Line 71: Line 47:
"status": {
"status": {
"label": "Status",
"label": "Status",
"description": "Whether the card is limited or permanent.",
"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, Night Code de.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 83: Line 53:
"unit": {
"unit": {
"label": "Unit",
"label": "Unit",
"description": "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, Night Code de.",
"description": "The unit associated with the card.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 103: Line 73:
"description": "The banner that the card was released on.",
"description": "The banner that the card was released on.",
"type": "string",
"type": "string",
"deprecated": "Use gacha instead"
},
"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
"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.",
"type": "string",
"suggested": true
},
"obtain": {
"label": "How to obtain",
"description": "The ways that this card can be obtained",
"type": "string",
"deprecated": "Use acquire instead"
},
"event": {
"label": "Event",
"description": "The event that this card is associated with.",
"type": "wiki-page-name",
"suggested": true
},
"card id": {
"label": "Card ID",
"description": "The internal ID of the card.",
"type": "number",
"required": true
},
"gacha": {
"label": "Gacha",
"description": "The gacha that the card was released on.",
"type": "string",
"suggested": true
},
"acquire": {
"label": "Acquisition methods",
"description": "The ways that this card can be acquired.",
"type": "string",
"required": true
},
"gacha id": {
"label": "Gacha ID",
"description": "The gacha that this card was first released on.",
"type": "number",
"required": true
},
"event id": {
"label": "Event ID",
"description": "The ID of the event this card is associated with",
"type": "number",
"required": true
}
}
},
},
"format": "block",
"format": "block",
"description": "Infobox Card for displaying card information.",
"description": "Infobox card for displaying card information.",
"paramOrder": [
"paramOrder": [
"bg color",
"bg color",
"text color",
"text color",
"id",
"card id",
"title",
"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",
"banner"
"acquire",
"event id",
"gacha id",
"obtain",
"event",
"banner",
"gacha"
]
]
}
}
</templatedata>
</templatedata>


== Category mapping ==
==Quick Copy==


{| class="wikitable"
! Parameter
! Value
! Category
|-
| rowspan="26" | Character
| Hatsune Miku
| [[:Category:Hatsune Miku cards]]
|-
| Kagamine Rin
| [[:Category:Kagamine Rin cards]]
|-
| Kagamine Rin
| [[:Category:Kagamine Len cards]]
|-
| Megurine Luka
| [[:Category:Megurine Luka cards]]
|-
| MEIKO
| [[:Category:MEIKO cards]]
|-
| KAITO
| [[:Category:KAITO cards]]
|-
| Hoshino Ichika
| [[:Category:Hoshino Ichika cards]]
|-
| Tenma Saki
| [[:Category:Tenma Saki cards]]
|-
| Mochizuki Honami
| [[:Category:Mochizuki Honami cards]]
|-
| Hinomori Shiho
| [[:Category:Hinomori Shiho cards]]
|-
| Hanasato Minori
| [[:Category:Hanasato Minori cards]]
|-
| Kiritani Haruka
| [[:Category:Kiritani Haruka cards]]
|-
| Momoi Airi
| [[:Category:Momoi Airi cards]]
|-
| Hinomori Shizuku
| [[:Category:Hinomori Shizuku cards]]
|-
| Azusawa Kohane
| [[:Category:Azusawa Kohane cards]]
|-
| Shiraishi An
| [[:Category:Shiraishi An cards]]
|-
| Shinonome Akito
| [[:Category:Shinonome Akito cards]]
|-
| Aoyagi Toya
| [[:Category:Aoyagi Toya cards]]
|-
| Tenma Tsukasa
| [[:Category:Tenma Tsukasa cards]]
|-
| Otori Emu
| [[:Category:Otori Emu cards]]
|-
| Kusanagi Nene
| [[:Category:Kusanagi Nene cards]]
|-
| Kamishiro Rui
| [[:Category:Kamishiro Rui cards]]
|-
| Yoisaki Kanade
| [[:Category:Yoisaki Kanade cards]]
|-
| Asahina Mafuyu
| [[:Category:Asahina Mafuyu cards]]
|-
| Shinonome Ena
| [[:Category:Shinonome Ena cards]]
|-
| Akiyama Mizuki
| [[:Category:Akiyama Mizuki cards]]
|-
| rowspan="5" | Attribute
| Cool
| [[:Category:Cool cards]]
|-
| Cute
| [[:Category:Cute cards]]
|-
| Happy
| [[:Category:Happy cards]]
|-
| Mysterious
| [[:Category:Mysterious cards]]
|-
| Pure
| [[:Category:Pure cards]]
|-
| rowspan="5" | Rarity
| 1
| [[:Category:1☆ cards]]
|-
| 2
| [[:Category:2☆ cards]]
|-
| 3
| [[:Category:3☆ cards]]
|-
| 4
| [[:Category:4☆ cards]]
|-
| Birthday
| [[:Category:Birthday cards]]
|-
| rowspan="4" | Status
| Permanent
| [[:Category:Permanent cards]]
|-
| Limited cards
| [[:Category:Limited cards]]
|-
| Colorful Festival limited
| [[:Category:Colorful Festival limited cards]]
|-
| Birthday limited
| [[:Category:Birthday limited cards]]
|}

== Quick copy ==
<pre>
<pre>
{{Infobox Card
{{Infobox card
|bg color =
|card id =
|text color =
|card name =
|id =
|japanese =
|title =
|romaji =
|thumbnail =
|untrained =
|trained =
|thumbnail trained =
|rarity =
|attribute =
|unit =
|subunit =
|japanese =
|romaji =
|character =
|character =
|date =
|attribute =
|status =
|rarity =
|unit =
|banner =
|story 1 =
|support unit =
|story 2 =
|date =
|status =
|acquire =
|event id =
|gacha id =
|gacha =
|event =
}}
</pre>

== Examples ==
{{Infobox card
|card id = 149
|card name = A Powerful Smile
|japanese = 強者の笑み
|romaji = Tsuwamono no Emi
|thumbnail = Miku 12 thumbnail.png
|thumbnail trained = Miku 12 trained thumbnail.png
|character = Hatsune Miku
|attribute = Pure
|rarity = 4
|unit = VIRTUAL SINGER
|support unit = Vivid BAD SQUAD
|date = 2020/12/31
|status = Permanent
|acquire = Gacha, Ticket Exchange Shop
|event id = 9
|gacha id = 26
|gacha = Sekai's Exciting New Year Gacha
|event = Sekai's Happy New Year!
}}

<pre>
{{Infobox card
|card id = 149
|card name = A Powerful Smile
|japanese = 強者の笑み
|romaji = Tsuwamono no Emi
|thumbnail = Miku 12 thumbnail.png
|thumbnail trained = Miku 12 trained thumbnail.png
|character = Hatsune Miku
|attribute = Pure
|rarity = 4
|unit = VIRTUAL SINGER
|support unit = Vivid BAD SQUAD
|date = 2020/12/31
|status = Permanent
|acquire = Gacha, Ticket Exchange Shop
|event id = 9
|gacha id = 26
|gacha = Sekai's Exciting New Year Gacha
|event = Sekai's Happy New Year!
}}
}}
</pre>
</pre>


<includeonly>[[Category:Infobox templates]]</includeonly>
<includeonly>[[Category:Infobox templates]] [[Category:Card templates]]</includeonly>

Latest revision as of 19:32, 30 April 2023

Template data[edit source]

Infobox card for displaying card information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background Colorbg color

The background color of the headers. Overrides the colors associated with attributes if specified.

Default
#000000
Example
#000000
Stringoptional
Text Colortext color

The text color of the text inside headers. Overrides text colors associated with attributes if specified.

Default
#FFFFFF
Example
#FFFFFF
Stringoptional
Card IDcard id

The internal ID of the card.

Numberrequired
Card namecard name

The name of the card.

Stringrequired
Japanesejapanese

The official Japanese card title.

Stringsuggested
Romajiromaji

The romanized version of the Japanese card title.

Stringsuggested
Thumbnailthumbnail

The thumbnail art of the card.

Filesuggested
Thumbnail (trained)thumbnail trained

The trained thumbnail of the card.

Filesuggested
Charactercharacter

The character that the card is associated with.

Stringsuggested
Attributeattribute

The attribute associated with the card.

Stringsuggested
Rarityrarity

The rarity of the card.

Numbersuggested
Unitunit

The unit associated with the card.

Stringsuggested
Support unitsupport unit

For VIRTUAL SINGERs, the subunit associated with the card.

Stringsuggested
Release datedate

The date that the card was released

Datesuggested
Statusstatus

Whether the card is limited or permanent. Valid values are "Permanent", "Limited" or "Colorful Festival Limited".

Stringsuggested
Acquisition methodsacquire

The ways that this card can be acquired.

Stringrequired
Event IDevent id

The ID of the event this card is associated with

Numberrequired
Gacha IDgacha id

The gacha that this card was first released on.

Numberrequired
How to obtainobtain

The ways that this card can be obtained

Stringdeprecated
Eventevent

The event that this card is associated with.

Page namesuggested
Bannerbanner

The banner that the card was released on.

Stringdeprecated
Gachagacha

The gacha that the card was released on.

Stringsuggested

Category mapping[edit source]

Parameter Value Category
Character Hatsune Miku Category:Hatsune Miku cards
Kagamine Rin Category:Kagamine Rin cards
Kagamine Rin Category:Kagamine Len cards
Megurine Luka Category:Megurine Luka cards
MEIKO Category:MEIKO cards
KAITO Category:KAITO cards
Hoshino Ichika Category:Hoshino Ichika cards
Tenma Saki Category:Tenma Saki cards
Mochizuki Honami Category:Mochizuki Honami cards
Hinomori Shiho Category:Hinomori Shiho cards
Hanasato Minori Category:Hanasato Minori cards
Kiritani Haruka Category:Kiritani Haruka cards
Momoi Airi Category:Momoi Airi cards
Hinomori Shizuku Category:Hinomori Shizuku cards
Azusawa Kohane Category:Azusawa Kohane cards
Shiraishi An Category:Shiraishi An cards
Shinonome Akito Category:Shinonome Akito cards
Aoyagi Toya Category:Aoyagi Toya cards
Tenma Tsukasa Category:Tenma Tsukasa cards
Otori Emu Category:Otori Emu cards
Kusanagi Nene Category:Kusanagi Nene cards
Kamishiro Rui Category:Kamishiro Rui cards
Yoisaki Kanade Category:Yoisaki Kanade cards
Asahina Mafuyu Category:Asahina Mafuyu cards
Shinonome Ena Category:Shinonome Ena cards
Akiyama Mizuki Category:Akiyama Mizuki cards
Attribute Cool Category:Cool cards
Cute Category:Cute cards
Happy Category:Happy cards
Mysterious Category:Mysterious cards
Pure Category:Pure cards
Rarity 1 Category:1☆ cards
2 Category:2☆ cards
3 Category:3☆ cards
4 Category:4☆ cards
Birthday Category:Birthday cards
Status Permanent Category:Permanent cards
Limited cards Category:Limited cards
Colorful Festival limited Category:Colorful Festival limited cards
Birthday limited Category:Birthday limited cards

Quick copy[edit source]

{{Infobox card
|card id   = 
|card name = 
|japanese  = 
|romaji    = 
|thumbnail         = 
|thumbnail trained = 
|character = 
|attribute = 
|rarity    = 
|unit         = 
|support unit = 
|date     = 
|status   = 
|acquire  = 
|event id =
|gacha id =
|gacha   = 
|event   = 
}}

Examples[edit source]

A Powerful Smile
Japanese強者の笑み
RomajiTsuwamono no Emi
Card Information
Card ID149
Character Hatsune Miku
Attribute Pure
Rarity
Unit VIRTUAL SINGER
Support unit Vivid BAD SQUAD
Acquisition Information
StatusPermanent
Release date2020/12/31
Acquisition methods
  • Gacha
  • Ticket Exchange Shop
Associated eventSekai's Happy New Year!
Debut gachaSekai's Exciting New Year Gacha
{{Infobox card
|card id   = 149
|card name = A Powerful Smile
|japanese  = 強者の笑み
|romaji    = Tsuwamono no Emi
|thumbnail         = Miku 12 thumbnail.png
|thumbnail trained = Miku 12 trained thumbnail.png
|character = Hatsune Miku
|attribute = Pure
|rarity    = 4
|unit         = VIRTUAL SINGER
|support unit = Vivid BAD SQUAD
|date     = 2020/12/31
|status   = Permanent
|acquire  = Gacha, Ticket Exchange Shop
|event id = 9
|gacha id = 26
|gacha   = Sekai's Exciting New Year Gacha
|event   = Sekai's Happy New Year!
}}


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