Content added Content deleted
mNo edit summary |
(→Category mapping: added complete map) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1:
{{documentation subpage}}
{{Lua|Module:Infobox card}} {{Cargo|cards}}
== Template data ==
<templatedata>
{
Line 22 ⟶ 20:
"default": "#FFFFFF",
"description": "The text color of the text inside headers. Overrides text colors associated with attributes if specified."
},
"japanese": {
Line 66 ⟶ 40:
},
"date": {
"label": "
"description": "The date that the card was released",
"type": "date",
Line 74 ⟶ 48:
"label": "Status",
"description": "Whether the card is limited or permanent. Valid values are \"Permanent\", \"Limited\" or \"Colorful Festival Limited\".",
"type": "string",
"suggested": true
Line 85 ⟶ 53:
"unit": {
"label": "Unit",
"description": "The unit associated with the card
"type": "string",
"suggested": true
Line 105 ⟶ 73:
"description": "The banner that the card was released on.",
"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
},
"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",
"description": "Infobox
"paramOrder": [
"bg color",
"text color",
"card id",
"
"japanese",
"romaji",
"thumbnail",
"thumbnail trained",
"character",
"attribute",
"rarity",
"unit",
"support unit",
"date",
"status",
"
"event id",
"gacha id",
"obtain",
"event",
"banner",
"gacha"
]
}
</templatedata>
== Category mapping ==
{| 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>
{{Infobox
|card id =
|card name =
Line 145 ⟶ 318:
|unit =
|support unit =
|date =
|status =
|
|
|
|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>
|
Latest revision as of 19:32, 30 April 2023
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: |
This template uses the following Cargo tables: |
Template data[edit source]
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 | card 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. | String | suggested |
Support unit | support unit | For VIRTUAL SINGERs, the subunit associated with the card. | 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 |
Acquisition methods | acquire | The ways that this card can be acquired. | String | required |
Event ID | event id | The ID of the event this card is associated with | Number | required |
Gacha ID | gacha id | The gacha that this card was first released on. | Number | required |
How to obtain | obtain | The ways that this card can be obtained | String | deprecated |
Event | event | The event that this card is associated with. | Page name | suggested |
Banner | banner | The banner that the card was released on. | String | deprecated |
Gacha | gacha | The gacha that the card was released on. | String | suggested |
Category mapping[edit source]
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 | 強者の笑み | ||||||||||||||||||||||||||||
Romaji | Tsuwamono no Emi | ||||||||||||||||||||||||||||
Card Information | |||||||||||||||||||||||||||||
Card ID | 149 | ||||||||||||||||||||||||||||
Character | Hatsune Miku | ||||||||||||||||||||||||||||
Attribute | Pure | ||||||||||||||||||||||||||||
Rarity | |||||||||||||||||||||||||||||
Unit | VIRTUAL SINGER | ||||||||||||||||||||||||||||
Support unit | Vivid BAD SQUAD | ||||||||||||||||||||||||||||
Acquisition Information | |||||||||||||||||||||||||||||
Status | Permanent | ||||||||||||||||||||||||||||
Release date | 2020/12/31 | ||||||||||||||||||||||||||||
Acquisition methods |
| ||||||||||||||||||||||||||||
Associated event | Sekai's Happy New Year! | ||||||||||||||||||||||||||||
Debut gacha | Sekai'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! }}