Template:CardTable2/sandbox
Other names | * {{{alt_name}}} |
---|---|
Other names (Japanese) | {{{ja_alt_name}}} {{{ja_alt_romaji}}} {{{ja_alt_trans}}} |
Card type | [[{{{card_type}}} Card|{{{card_type}}}]] [[File:{{{CARD_TYPE}}}.svg|28px|alt=|class=noviewer]]Property "Card type" (as page type) with input value "{{{card_type}}} Card" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
Attribute | [[{{{ATTRIBUTE}}}]]Property "Attribute" (as page type) with input value "{{{ATTRIBUTE}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. [[File:{{{ATTRIBUTE}}}.svg|28px|alt=|class=noviewer]] |
Types | {{{types}}} |
Property | [[{{{property}}} {{{card_type}}} Card|{{{property}}}]] [[File:{{{property}}}.svg|28px|alt=|class=noviewer]] |
Level | [[Level {{{level}}} Monster Cards|{{{level}}}]] Template:Star properties/sandbox |
Link Arrows | Template:Link map/sandbox [[{{{link_arrows}}} Link Arrow cards|{{{link_arrows}}}]] |
Pendulum Scale | [[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]] |
MAXIMUM ATK | {{{maximum_atk}}}Property "MAXIMUM ATK" (as page type) with input value "{{{maximum_atk}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
ATK / DEF | [[{{{atk}}} ATK Monster Cards|{{{atk}}}]] / [[{{{def}}} DEF Monster Cards|{{{def}}}]]Template:ATK DEF properties/sandbox |
Password | [[{{{password}}}]] |
Limitation text | {{{limitation_text}}} |
Ritual required | "[[{{{ritualcard}}}]]" Property "Ritual Spell Card required" (as page type) with input value "{{{ritualcard}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
|
Summoned by the effect of |
|
Effect types | ; Pendulum Effect Template:CardTable2/effect/sandbox
|
Status | |
Source card | "" |
Use | {{{use}}} |
- Yugioh-Card database #{{{database_id}}}"{{{database_id}}}" is not a number.
- Template:Database link/sandbox - Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- Template:Database link/sandbox
- YGOrganization database
Template:Card info links/sandbox
English sets
Worldwide
- No set name given at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{en_sets}}}|{{{en_sets}}}]] |
North America
- No set name given at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{na_sets}}}|{{{na_sets}}}]] |
Europe
- No set name given at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{eu_sets}}}|{{{eu_sets}}}]] |
Australia
- No set name given at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{au_sets}}}|{{{au_sets}}}]] |
Search categories
Template:Search categories/sandbox
Other languages
Template:Card localizations/sandbox
Sets in other languages
French
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
French-Canadian
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
German
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Italian
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Portuguese
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Spanish
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Japanese
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Japanese Asian
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Asian-English
- No set name given at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{ae_sets}}}|{{{ae_sets}}}]] |
Korean
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Traditional Chinese
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Simplified Chinese
Lua error in Module:Data/smw/name at line 17: invalid value (nil) at index 2 in table for 'concat'.
Video games
Video game | Date | # | Name | Cost | Status |
---|---|---|---|---|---|
Nightmare Troubadour | 2005-07-21 | – | {{{ntr_name}}} | – | Present |
Online | 2005-11-04 | – | – | – | Present |
GX Spirit Caller | 2006-11-30 | – | {{{gx03_name}}} | – | [[{{{gx03_status}}}]] |
Duel Arena | 2014-06-26 | – | – | – | Present |
Lores and sets
Video game | Lore | Sets |
---|---|---|
Nightmare Troubadour | {{{ntr_sets}}} | |
Online | {{{ygo_lore}}} | {{{ygo_sets}}} |
GX Spirit Caller | {{{gx03_sets}}} | |
Duel Arena | {{{dar_lore}}} |
This is the template sandbox page for Template:CardTable2 (diff). |
Historically, the template has been used for cards from all Yu-Gi-Oh! games and still contains support for a number of video games, which need to be given their own dedicated template.
Usage[edit]
{{CardTable2 | cardclass = | name = | fr_name = | de_name = | it_name = | es_name = | ja_name = | romaji_name = | trans_name = | base_romaji_name = | base_trans_name = | zh_name = | zh_pinyin_name = | zh_trans_name = | ko_name = | ko_rr_name = | ko_trans_name = | alt_name = | alt_name2 = | alt_name3 = | ja_alt_name = | ja_alt_romaji = | ja_alt_trans = | image = | image2 = | card_type = | property = | attribute = | character = | types = | level = | rank = | link_arrows = | pendulum_scale = | maximum_atk = | atk = | def = | password = | limitation_text = | ritualcard = | ritualmonster = | summoned_by = | effect_types = | pendulum_effect_types = | ocg_status = | tcg_status = | tcg_speed_duel_status = | source_card = | skill_activation = | fr_skill_activation = | de_skill_activation = | it_skill_activation = | pt_skill_activation = | es_skill_activation = | pendulum_effect = | fr_pendulum_effect = | de_pendulum_effect = | it_pendulum_effect = | pt_pendulum_effect = | es_pendulum_effect = | ja_pendulum_effect = | trans_pendulum_effect = | zh_pendulum_effect = | ko_pendulum_effect = | lore = | fr_lore = | de_lore = | it_lore = | pt_lore = | es_lore = | ja_lore = | trans_lore = | zh_lore = | ko_lore = | use = | database_id = | en_sets = | na_sets = | eu_sets = | au_sets = | fr_sets = | fc_sets = | de_sets = | it_sets = | pt_sets = | sp_sets = | jp_sets = | ja_sets = | ae_sets = | tc_sets = | sc_sets = | kr_sets = | supports = | anti-supports = | archseries = | supports_archetypes = | anti-supports_archetypes = | related_to_archetypes = | counter = | action = | stat_change = | m/s/t = | summoning = | attack = | banished = | life_points = | fm_for = | sm_for = | misc = | fusion_material = | synchro_material = | material = }}
Parameters[edit]
Display[edit]
cardclass
: Directly specify the color scheme of the table. This should be used sparingly. See the "color schemes" section for more information.image
: The page name of the image to be displayed (without the "File:" prefix). If an image is given which has not been uploaded yet, a default card backing will be displayed (See the default image section for more information) with a link to the upload form for the given image name; these pages are also added to Category:Card table transclusions using non-uploaded images. If a card backing image is specified, the page is added to Category:((CardTable2)) transclusions using card backings. Any value given is checked for certain things (mainly embedded image or link syntax, or URLs), and these cases are added to Category:CardTable2 bad image values.image2
: The page name of an image containing the back of the card. Used for Skill and Tip Cards.
Properties[edit]
name
: The card's English name, if different than the page name. e.g. "Jinzo 7" → "Jinzo #7". All uses add the page to Category:Card table parameter tracking (name). If this parameter is used and has the same value as the page's name, the page is added to Category:Pages with an unnecessary name parameter.alt_name
,alt_name2
,alt_name3
: Other English names of the card. All uses add the page to Category:Card pages with an alt name.card_type
: The type of card, used for non-Monster Cards ("Spell", "Trap", "FAQ", "Skill", "Strategy", "Ticket", "Tip").property
: The Property, for Spell and Trap Cards.attribute
: The card's Attribute.character
: The page name of the corresponding character, if a Skill Card.types
: The card's Types, as they are printed on the card. Each item should be separated by a forward slash. e.g.types = Warrior / Synchro / Effect
level
: The card's Level. Using this for Xyz Monsters will add the page to Category:Xyz Monsters using (((level))).rank
: The card's Rank. Using this for non-Xyz Monsters will add the page to Category:Non-Xyz Monsters using (((rank))).link_arrows
: Comma-separated list of positions of the card's Link Arrows. The amount of items listed will also dictate the card's Link Rating.pendulum_scale
: The card's Pendulum Scale.maximum_atk
: The card's MAXIMUM ATK.atk
: The card's ATK.def
: The card's DEF.password
: The card's password. If the card has never been printed with a password, this should be set tonone
(this will add the page to Category:Cards printed without a password). If no password is given, or the given password is invalid (if it is not exactly 8 digits long, or has any non-numeric characters), the page is added to Category:Cards needing a password. If there is no redirect from the given password, the page is added to Category:Cards needing a password redirect.limitation_text
: The card's limitation text.ritualcard
: The Ritual Spell Card needed to Summon the card.ritualmonster
: The Ritual Monster Summoned by the card.summoned_by
: Card used to Summon the monster, if a Monster Token.source_card
: The non-Skill Card that the Skill Card is based on.lore
: The text printed on the card, either a card description or effect text. If the card was printed without any lore, this should be set tonone
(which will add the page to Category:Cards printed without a lore).pendulum_effect
: The text printed on the card, describing its Pendulum Monster effect.skill_activation
: The activation requirement, printed on Skill Cards.use
: The purpose of the card, if a non-game card whose purpose is not otherwise clear. All pages using this parameter are added to Category:Card table parameter tracking (use).effect_types
: A comma-separated list of the card's effect types. Pages which should have this parameter (Effect Monsters, Spell/Trap Cards, etc.), but do not, are added to Category:Cards needing effect_types.database_id
: The ID number of the card in Konami's database. If the card is not included in Konami's database, this should be set tonone
(this will add the page to Category:Cards without a Yugioh-Card database ID). If an invalid ID is given (if it is non-numeric), the page is added to Category:Pages with an invalid Yugioh-Card database ID. If no ID is given, andnone
is not used, the page is added to Category:Card pages needing a Yugioh-Card database ID. If there is no redirect from the given ID, the page is added to Category:Cards needing a database ID redirect.
Statuses[edit]
Using any of these will add the page to Category:Cards with a manual status. If one of these is used without a value, the page will be added to Category:((CardTable2)) transclusions with an unnecessary status parameter.
ocg_status
: The card's status in the OCG. Defaults to the card's status in the current OCG Forbidden & Limited List; this parameter should only be added if the card is not yet released or legal.tcg_status
: The card's status in the TCG Advanced Format. Defaults to the card's status in the current TCG Forbidden & Limited List; this parameter should only be added if the card is not yet released or legal.tcg_speed_duel_status
: The card's status in TCG Speed Duel. This parameter should be used for all Speed Duel-legal cards.
Search categories[edit]
Each of these should be a bulleted list of page names:
archseries
: archetypes or series that the card is a member of.supports_archetypes
: archetypes that the card directly supports.anti-supports_archetypes
: archetypes that the card directly works against.related_to_archseries
: archetypes that the card is connected to without being a member or directly supporting. e.g. it supports an individual member of the archetype.supports
anti-supports
action
: possible values are listed in Category:"Actions" search category entry pages.attack
: possible values are listed in Category:"Attack" search category entry pages.banished
: possible values are listed in Category:"Banishing" search category entry pages.counter
fm_for
: cards that list this card by name as Fusion Material.sm_for
: cards that list this card by name as Synchro Material.life_points
: possible values are listed in Category:"LP" search category entry pages.m/s/t
: possible values are listed in Category:"MonsterSpellTrap" search category entry pages.stat_change
: possible values are listed in Category:"Stats" search category entry pages.summoning
: possible values are listed in Category:"Summoning" search category entry pages.misc
: possible values are listed in Category:"Misc" search category entry pages.
Localization[edit]
name
, lore
, pendulum_effect
, skill_activation
can be prefixed with a language code to specify its text in other languages. e.g. ja_lore
for the Japanese lore. If lore
is set to none
, none of the other lore
parameters should be used. Applicable prefixes are as follows ("romanized" prefixes only work for the "name" parameter):
fr_
: Frenchde_
: Germanit_
: Italianpt_
: Portuguesees_
: Spanishja_
: Japaneseromaji_
: Japanese romanized, using revised Hepburntrans_
: Japanese translated into English. These should only be used if they differ non-trivially from the English name or lore. Usingtrans_lore
adds the page to Category:Card table transclusions using trans_lore.ko_
: Koreanko_rr_
: Korean romanized, using Revised Romanization.zh_
: Chinesezh_pinyin_
: Chinese romanized, using Pinyin.
Other localization parameters (using any of these will add the page to Category:Card pages with an alt name).
ja_alt_name
: A second Japanese name for the card.ja_alt_romaji
: Romanization of the second Japanese name.ja_alt_trans
: English translation of the second Japanese name.
Links should generally only be added to the English lore
, pendulum_effect
, and skill_activation
parameters (name parameters should never contain links, in any language). Each term should only be linked once, when it first appears in the lore. Where the text is clear, brevity is preferred over avoiding redirects; e.g. [[monster]]
instead of [[Monster Card|monster]]
, [[sent]]
instead of [[Send|sent]]
, [[GY]]
instead of [[Graveyard|GY]]
, [[Life Points]]
instead of [[LP|Life Points]]
, etc (see also wikipedia:WP:NOPIPE). However, note cases where a full link is clearer: [[Add a card|add]]
instead of [[add]]
, [[Main Deck|Deck]]
instead of [[Deck]]
, etc. Piped links to redirects should always be avoided: [[field]]
instead of [[Playing Field|field]]
, etc. Note, though, that pages should not be edited only to change link targets to or from redirects; some other change must be made in the same edit (e.g. updating the search categories or adding a name).
Sets[edit]
The values for all sets are to be entered using the following syntax and ordered by release date, from oldest to newest.
Card number 1; Set page name 1; Rarity 1 Card number 2; Set page name 2; Rarity 2
For example:
| na_sets = LOB-001; Legend of Blue Eyes White Dragon; Ultra Rare DDS-001; Yu-Gi-Oh! Dark Duel Stories promotional cards; Prismatic Secret Rare SDK-001; Starter Deck: Kaiba; Ultra Rare
If a card was printed in multiple rarities, all in the same set and with the same card number, the rarities should be included on the same line, separated with commas. For example:
| ja_sets = CHIM-JP010; Chaos Impact; Super Rare, Secret Rare, 20th Secret Rare
If a card's rarity is unknown, or if a card has no card number, the value should be left blank, but the semicolon should be included. Similarly, if the card number is unknown, the known portion of the card number may be included, with unknown portions represented with question marks. For example:
| na_sets = ; Legend of Blue Eyes White Dragon; Common SDK-001; Starter Deck: Kaiba; CHIM-EN0??; Chaos Impact; ????-EN???; Eternity Code;
There are different parameters for different languages/regions:
en_sets
: Englishna_sets
: North American Englisheu_sets
: European Englishau_sets
: Australian Englishfr_sets
: Frenchfc_sets
: French-Canadiande_sets
: Germanit_sets
: Italianpt_sets
: Portuguesesp_sets
: Spanishjp_sets
: Japaneseja_sets
: Japanese-Asianae_sets
: Asian-Englishtc_sets
: Traditional Chinesesc_sets
: Simplified Chinesekr_sets
: Korean
For convenience, ko_sets
is supported as an alternative to kr_sets
, and es_sets
as an alternative to sp_sets
, but these are considered errors, and the page will be added to Category:Card table transclusions using ko_sets or Category:Card table transclusions using es_sets, respectively.
Color schemes[edit]
The logic for determining the color scheme is as follows. If a condition is met, that color scheme is used. If not, the next condition is checked.
- If the
cardclass
parameter is used, it will dictate the color scheme. Any value from the "Name" column in the table below can be used for this parameter. Cards using this parameter are tracked in Category:CardTable2 parameter tracking (cardclass). - If the card is a Monster Card with "Token" at the end of its name, the
token
color scheme will be used. - If the
card_type
parameter is used, the color scheme associated with the card type will be used. (See the "Use" column in the table below to find the card type.) - If the second item in the
types
parameter is any of "Normal", "Effect", "Fusion", "Link", "Ritual", "Synchro", "Token", or "Xyz", the color scheme associated with the monster type will be used. (See the "Use" column.) - If a third item is used in the
types
parameter, the color scheme associated with its value is used. (See the "Use" column.) - If the template identifies the card as a Monster Card and the
effect_types
parameter is used or the card has an Ability in itstypes
parameters, theeffect
color scheme will be used. Cards will be added to the Category:Colors assumed without using the Type string category, in this scenario. - If the template identifies the card as a Monster Card, the
normal
color scheme will be used. Cards will be added to the Category:Colors assumed without using the Type string category, in this scenario. - The
blank
color scheme is used by default.
The pendulum
color scheme is used on top of one of the other color schemes, if the pendulum_scale
, pendulum_effect
or pendulum_effect_types
parameters or any of their localized equivalents are used.
Name | Header style | Body style | Use | Example page |
---|---|---|---|---|
normal | Dark yellow | Yellow, with italicized lore | Normal Monster | "Blue-Eyes White Dragon" |
effect | Orange | Orange | Effect Monster | "Dark Magician Girl" |
fusion | Violet | Light purple | Fusion Monster | "Gaia the Dragon Champion" |
ritual | Blue | Light blue | Ritual Monster | "Black Luster Soldier" |
synchro | Light gray | White | Synchro Monster | "Stardust Dragon" |
xyz | Black, white text | Light gray | Xyz Monster | "Number 39: Utopia" |
link | Blue, white text, with a honeycomb-pattern | Light blue | Link Monster | "Link Spider" |
spell | Green, white text | Green | Spell Card | "Monster Reborn" |
Speed Spell Card (deprecated) | "Speed Spell - Accelerator Draw" | |||
Command Card | "Command Duel-Use Card" | |||
trap | Purple, white text | Purple | Trap Card | "Trap Hole" |
token | Gray | Gray | Monster Token | "Sheep Token" |
Counter | "Spell Counter (card)" | |||
skill | Blue, white text, with gradient, border and text shadow effects | Light blue | Skill Card | "It's a Toon World!" |
faq | Not currently developed | Not currently developed | FAQ card | |
strategy | Blue, white text | Gray | Strategy Card | "Ace in the hole" |
Card Checklist | "Duelist Pack -Yusei- Checklist" | |||
tip | Purple, white text | Pale yellow | Tip Card | "Be polite!" |
red | Red | Red | Certain cards, not adhering to a standard color scheme | "Slifer the Sky Dragon (original)" |
yellow | Dark yellow (same style as "normal") | Yellow (same style as "normal", but without italics) | Ticket Card | "Glory of the King's Hand" |
Certain cards, not adhering to a standard color scheme | "The Winged Dragon of Ra (original)" | |||
blue | Blue (same style as "ritual") | Blue (same style as "ritual") | Certain cards, not adhering to a standard color scheme | "Obelisk the Tormentor (original)" |
pendulum | None | Adds a green gradient on top of another color scheme. This scheme is not to be used by itself. | Pendulum Monster | "Odd-Eyes Pendulum Dragon" |
blank | Light gray | Light gray | Default. Used when the card has not been identified as belonging to any other color scheme. | Ideally, no cards should use this. If there are any, they will be listed at Category:Card pages with no color class. |
Default image[edit]
If the image
parameter is unused, empty or contains a non-existent image, the following logic determines which image is shown:
- If the value of
card_type
is "Checklist", "FAQ", "Strategy" or "Tip", File:StrategyCard-EN-Back.png is used. - If the card uses a sets parameter for any of the TCG regions, File:Back-EN.png is used.
- If the card uses a Japanese or Chinese sets parameter, File:Back-JP.png is used.
- If the card uses the
kr_sets
parameter, File:Back-KR.png is used. - Otherwise, File:Back-EN.png is used.
Tracking categories[edit]
{{CardTable2}} tracks a number of possible error states and edge cases with categories; many are listed above, and the following are also used.
- Category:CardTable2 transclusions with interesting Types: for card pages which have a value for
type
which isn't a standard Type. - Category:Monsters with multiple abilities: for card pages with multiple listed abilities.
- Category:Cards with Pendulum parameters without a Pendulum card type: for cards which use any of the Pendulum-related parameters (e.g.
pendulum_scale
orde_pendulum_effect
) without havingPendulum
as any of thetype
parameters. - Category:Cards that need an image: for card pages which have no listed image.
- Category:Cards that need a gallery: for card pages which have no corresponding gallery page.
- Missing names, lores, and Skill Activations are tracked per-language:
- English: Skill activations
- French: names (non-game cards), lores (non-game cards), Skill activations
- German: names (non-game cards), lores (non-game cards), Skill activations
- Italian: names (non-game cards), lores (non-game cards), Skill activations
- Japanese: names (non-game cards), lores (non-game cards)
- Korean: names (non-game cards), lores (non-game cards)
- Portuguese: names (non-game cards), lores (non-game cards), Skill activations
- Spanish: names (non-game cards), lores (non-game cards), Skill activations
- Simplified Chinese: names (non-game cards), lores (non-game cards)
- Cards without any sets listed for a given region are tracked per-region: Japanese, Korean, Simplified Chinese, Traditional Chinese, English, French, German, Italian, Portuguese, Spanish
Deprecated parameters[edit]
Parameters still in use, but should be removed in the near future.
Video game parameters[edit]
A number of parameters for video game data remain; these will be gradually removed as the games get dedicated card templates and card pages are split.
Any page using video-game-specific parameters is added to Category:((CardTable2)) transclusions with video game parameters and pages using a video game image are added to Category:((CardTable2)) transclusions using video game images. Categories are also added for each video game the card has parameters or an image for:
- Duel Arena
dar_lore
, Duel Arena images.- Nightmare Troubadour
ntr_name
.- Online
ygo_lore
,ygo_sets
.- Spirit Caller
gx03_name
,gx03_sets
,gx03_status
.