Difference between revisions of "Template:CardTable2"
Dinoguy1000 (talk | contribs) (languages table should always have 100% width) |
Dinoguy1000 (talk | contribs) (prevent p-wrapping of card text in the main box) |
||
(171 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | __NOTOC__{{ #if: <includeonly>{{NAMESPACE}}</includeonly> |
− | |||
| {{Mbox | | {{Mbox | ||
| type = delete | | type = delete | ||
− | | text = This template, {{t|CardTable2}} is only meant for use in the main content namespace. Including it elsewhere can cause technical problems. Please remove the template from this page. {{ #switch: {{NAMESPACE}} | {{ns:User}} | {{ns:User talk}} = Custom cards can be posted on the | + | | text = This template, {{t|CardTable2}}, is only meant for use in the main content namespace. Including it elsewhere can cause technical problems. Please remove the template from this page. {{ #switch: {{NAMESPACE}} | {{ns:User}} | {{ns:User talk}} = Custom cards can be posted on the {{wikia|ycm||Yu-Gi-Oh! Card Maker Wiki}}. }} |
}} | }} | ||
− | + | }}<!-- sandbox check - putting at the top since we may decide at some point to display a notice on sandbox transclusions | |
− | }}<!-- | + | -->{{ #vardefine: $is_sandbox | {{ #if: {{sandbox other|1}}{{{sandbox|}}} | /sandbox }} }}<!-- |
− | + | -->{{ #varexists: $smw || {{ #vardefine: $smw | {{ #if: {{ #set: }} || 1 }} }} }}<!-- standard implementation | |
+ | --><!-- | ||
Video game parameter rollcall | Video game parameter rollcall | ||
− | + | Loreparam Nameparam Setparam Statuspara Costpa Numberpara Abbr Game name | |
− | Loreparam Nameparam Setparam Statuspara Costpa Numberpara | ||
------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ||
− | + | dar_lore - - - - - DAR Duel Arena | |
− | dar_lore - - - - - | + | - gx03_name gx03_sets gx03_status - - GX03 GX Spirit Caller |
− | - | + | - ntr_name ntr_sets - - - NTR Nightmare Troubadour |
− | + | ygo_lore - ygo_sets - - - YGO Online | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | - | ||
− | |||
− | |||
− | |||
− | |||
− | - | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--><!-- | --><!-- | ||
− | |||
== Variables == | == Variables == | ||
− | + | -->{{ #vardefine: $pagename | {{Normalized pagename|{{PAGENAME}}}} }}<!-- | |
− | -->{{ #vardefine: $pagename | {{Normalized pagename|{{PAGENAME}}}} | + | -->{{ #vardefine: $name | {{ #explode: {{ #var: $pagename }} | ( }} }}<!-- |
− | }}{{ #vardefine: $name | + | -->{{ #vardefine: $url-name | {{ #replace: {{ #var: $name }} | # }} }}<!-- |
− | + | -->{{ #if: {{{name|}}} | {{ #vardefine: $name | {{{name}}} }} }}<!-- | |
− | + | -->{{ #vardefine: $rush_duel_card | |
− | | {{ #if: {{{ | + | | {{ #if: {{{summoning_condition|}}}<!-- |
− | + | OR-->{{{ja_summoning_condition|}}}<!-- | |
− | | {{ #var: $ | + | OR-->{{{ko_summoning_condition|}}}<!-- |
− | }} | + | OR-->{{{requirement|}}}<!-- |
+ | OR-->{{{ja_requirement|}}}<!-- | ||
+ | OR-->{{{ko_requirement|}}}<!-- | ||
+ | OR-->{{{maximum_atk|}}}<!-- | ||
+ | OR-->{{{rush_duel_status|}}}<!-- | ||
+ | OR-->{{ #pos: {{{misc}}} | Legend Card }}<!-- | ||
+ | OR-->{{ #pos: {{ #var: $pagename }} | (Rush Duel) }} | ||
+ | | 1 | ||
+ | }} | ||
+ | }}{{ #if: {{{rush_duel|}}} | [[Category:CardTable2 parameter tracking (rush_duel)]]{{ #if: {{ #var: $rush_duel_card }} | ||
+ | | [[Category:((CardTable2)) transclusions with unnecessary (((rush_duel))) parameter]] | ||
+ | | {{ #vardefine: $rush_duel_card | 1 }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | + | -->{{ #vardefine: $jp_sets | {{{jp_sets<includeonly>|</includeonly>}}} }}<!-- | |
− | + | -->{{ #vardefine: $ja_sets | {{{ja_sets<includeonly>|</includeonly>}}} }}<!-- | |
− | + | -->{{ #vardefine: $kr_sets | {{{kr_sets<includeonly>|</includeonly>}}} }}<!-- | |
− | -->{{ #vardefine: $ | + | -->{{ #vardefine: $ae_sets | {{{ae_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $tc_sets | {{{tc_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $sc_sets | {{{sc_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $en_sets | {{{en_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $na_sets | {{{na_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $eu_sets | {{{eu_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $au_sets | {{{au_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $fr_sets | {{{fr_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $fc_sets | {{{fc_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $de_sets | {{{de_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $it_sets | {{{it_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $pt_sets | {{{pt_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $sp_sets | {{{sp_sets<includeonly>|</includeonly>}}} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $jp_release | {{ #if: {{ #var: $jp_sets }} | 1 }} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $ja_release | {{ #if: {{ #var: $ja_sets }} | 1 }} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $kr_release | {{ #if: {{ #var: $kr_sets }} | 1 }} }}<!-- |
− | }}{{ #vardefine: $ | + | -->{{ #vardefine: $ae_release | {{ #if: {{ #var: $ae_sets }} | 1 }} }}<!-- |
− | + | -->{{ #vardefine: $tc_release | {{ #if: {{ #var: $tc_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $sc_release | {{ #if: {{ #var: $sc_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $en_release | {{ #if: {{ #var: $en_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $na_release | {{ #if: {{ #var: $na_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $eu_release | {{ #if: {{ #var: $eu_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $au_release | {{ #if: {{ #var: $au_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $fr_release | {{ #if: {{ #var: $fr_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $fc_release | {{ #if: {{ #var: $fc_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $de_release | {{ #if: {{ #var: $de_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $it_release | {{ #if: {{ #var: $it_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $pt_release | {{ #if: {{ #var: $pt_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $sp_release | {{ #if: {{ #var: $sp_sets }} | 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $ocg-jp | {{ #var: $jp_release }}{{ #var: $ja_release }} }}<!-- | |
− | + | -->{{ #if: {{ #var: $rush_duel_card }} | |
− | + | | <!-- Nothing --> | |
− | + | |<!-- | |
− | + | -->{{ #vardefine: $ocg | {{ #var: $ocg-jp }}{{ #var: $kr_release }}{{ #var: $ae_release }}{{ #var: $tc_release }}{{ #var: $sc_release }} }}<!--- | |
− | + | -->{{ #vardefine: $tcg-en | {{ #var: $en_release }}{{ #var: $na_release }}{{ #var: $eu_release }}{{ #var: $au_release }} }}<!-- | |
− | }}{{ # | + | -->{{ #vardefine: $tcg | {{ #var: $tcg-en }}{{ #var: $fr_release }}{{ #var: $de_release }}{{ #var: $it_release }}{{ #var: $pt_release }}{{ #var: $sp_release }} }}<!-- |
− | + | -->{{ #vardefine: $ocg-tcg | {{ #var: $ocg }}{{ #var: $tcg }} }}<!-- | |
− | }}{{ # | + | -->{{ #vardefine: $not-tcg-en | {{ #var: $ocg }}{{ #var: $fr_release }}{{ #var: $de_release }}{{ #var: $it_release }}{{ #var: $pt_release }}{{ #var: $sp_release }} }} |
− | |||
− | }}{{ # | ||
− | |||
− | |||
− | }}{{ # | ||
}}<!-- | }}<!-- | ||
+ | -->{{ #vardefine: $non-en-sets-heading | {{ #if: {{ #var: $tcg-en }} | Sets in other languages | Sets }} }}<!-- | ||
− | + | # Overall debut date | |
− | + | -->{{ #vardefine: $debut_date | {{SMW plain|{{ #ask: [[Release::OCG||TCG||Yu-Gi-Oh! Rush Duel]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]] | |
− | + | |?Release date# | |
− | + | | sort = Release date | |
− | + | | mainlabel = - | |
− | + | | limit = 1 | |
− | + | | searchlabel = | |
− | + | | template = echo | |
− | + | }} | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | + | # TCG and TCG Speed Duel debut dates | |
− | + | -->{{ #if: {{ #var: $tcg }} | |
− | -- | + | | {{ #vardefine: $tcg_debut_date |
− | + | | {{SMW plain | |
− | + | |{{ #ask: [[Release::TCG]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]] | |
− | + | |?Release date# | |
− | + | | sort = Release date | |
− | + | | mainlabel = - | |
− | + | | limit = 1 | |
− | | {{ | + | | searchlabel = |
− | + | | template = echo | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | + | }}<!-- | |
− | + | ||
− | | | + | -->{{ #vardefine: $tcg_sd_debut_date |
− | | | + | | {{SMW plain |
− | + | |{{ #ask: [[Set page.Format::Speed Duel]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]] | |
− | + | |?Release date# | |
− | + | | sort = Release date | |
− | + | | mainlabel = - | |
− | + | | limit = 1 | |
+ | | searchlabel = | ||
+ | | template = echo | ||
}} | }} | ||
− | |||
}} | }} | ||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | |||
− | + | # OCG debut date | |
− | + | -->{{ #if: {{ #var: $ocg }} | |
− | + | | {{ #vardefine: $ocg_debut_date | |
− | + | | {{SMW plain | |
− | + | |{{ #ask: [[Release::OCG]][[Has subobject.Set contains::{{PAGENAME}}]][[Release date::+]] | |
− | + | |?Release date# | |
− | + | | sort = Release date | |
− | | {{ # | + | | mainlabel = - |
− | | | + | | limit = 1 |
− | | | + | | searchlabel = |
− | + | | template = echo | |
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | + | ||
− | + | -->{{ #vardefine: $card_type | {{ ucfirst: {{ #replace: {{ lc: {{{card_type<includeonly>|</includeonly>}}} }} | card }} }} }}<!-- | |
− | }}{{ # | + | -->{{ #arraydefine: $types | {{{types<includeonly>|</includeonly>}}} | / }}<!-- |
− | + | -->{{ #arraydefine: @type_list | Aqua, Beast, Beast-Warrior, Celestial Warrior<!-- RD/English -->, Creator God, Cyberse, Cyborg<!-- RD/unofficial English -->, Dinosaur, Divine-Beast, Dragon, Fairy, Fiend, Fish, Galaxy<!-- RD/unofficial? English -->, High Dragon<!-- RD/unofficial English -->, Illusion, Insect, Machine, Magical Knight<!-- RD/unofficial English -->, Omega Psychic<!-- RD/unofficial English -->, Plant, Psychic, Pyro, Reptile, Rock, Sea Serpent, Spellcaster, Thunder, Warrior, Winged Beast, Wyrm, Zombie, ? }}<!-- | |
− | + | -->{{ #vardefine: $type | {{ #arrayindex: $types | 0 }} }}<!-- assume that the first item in {{{types}}} is the monster's Type | |
+ | -->{{ #vardefine: $valid_type | {{ #arraysearch: @type_list | {{ #var: $type }} }} }}<!-- | ||
+ | -->{{ #vardefine: $type_link | {{ #switch: {{ #var: $type }} | ||
+ | | Galaxy = Galaxy (Type) | ||
+ | | #default = {{ #if: {{ #var: $valid_type }} | {{ #var: $type }} }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #arraydefine: $ability_list | Toon, Spirit, Union, Gemini, Flip }}<!-- | ||
+ | -->{{ #arrayintersect: $ability | $types | $ability_list }}<!-- | ||
+ | -->{{ #vardefine: $token | ||
+ | | {{ #if: {{ #arraysearch: $types | Token }}<!-- # If "Token" is in the Type string | ||
+ | -->{{ #if: {{{card_type|}}} || {{ #ifeq: {{ #explode: {{ #var: $name }} || -1 }} | Token | 1 }} }}<!-- # If "Token" is at the end of a monster's name. --> | ||
+ | | Token | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | + | -->{{ #if: {{{summoned_by|}}} | |
− | + | | {{ #arraydefine: @summoned_by | {{{summoned_by}}} | * | unique }}<!-- | |
− | {{ #if: {{{ | + | -->{{ #vardefine: $official_token | {{ #if: {{ #ask: <q>[[Category:OCG cards]] OR [[Category:TCG cards]] OR [[Category:Unusable cards]]</q><q>[[{{ #arrayprint: @summoned_by | {{!))}} OR {{!((}} }}]]</q> }} | 1 }} }} |
− | + | }}<!-- | |
− | + | -->{{ #vardefine: $counter | {{ #ifeq: {{ #var: $card_type }} | Counter | Counter }} }}<!-- | |
− | + | -->{{ #vardefine: $token-counter | {{ #var: $token }}{{ #var: $counter }} }}<!-- | |
− | + | -->{{ #vardefine: $skill | {{ #if: {{ #arraysearch: $types | Skill }}{{{character|}}} | Skill }} }}<!-- | |
− | + | -->{{ #vardefine: $non-game | {{ #switch: {{ #var: $card_type }} | |
− | + | | Faq = FAQ | |
− | + | | Character | Checklist | Command | Non-game | Ticket | Tip | Strategy = {{ #var: $card_type }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
}} | }} | ||
− | + | }}<!-- | |
− | }} | + | -->{{ #if: {{ #var: $skill }} || {{ #vardefine: $monster | {{ #if: {{{attribute|}}}{{ #var: $valid_type }}{{{atk|}}}{{{def|}}}{{{level|}}}{{{rank|}}}{{{link_arrows|}}}{{ #var: $token }} | 1 }} }} |
− | + | }}{{ #vardefine: $pendulum_monster | {{ #if: {{{pendulum_scale|}}}{{{pendulum_effect|}}}{{{pendulum_effect_types|}}} | |
− | -->{{ # | + | {{{fr_pendulum_effect|}}}{{{de_pendulum_effect|}}}{{{it_pendulum_effect|}}}{{{pt_pendulum_effect|}}}{{{es_pendulum_effect|}}} |
− | + | {{{ja_pendulum_effect|}}}{{{trans_pendulum_effect|}}}{{{ko_pendulum_effect|}}}{{{zh_pendulum_effect|}}} | |
− | + | {{ #arraysearch: $types | Pendulum }} | |
− | + | | 1 }} | |
− | + | }}{{ #if: {{ #var: $pendulum_monster }} | {{ #if: {{ #arraysearch: $types | Pendulum }} || [[Category:Cards with Pendulum parameters without a Pendulum card type]] }} | |
− | + | }}{{ #vardefine: $effect_monster | {{ #arraysearch: $types | Effect }}{{ #arrayindex: $ability | 0 }}{{ #if: {{ #var: $monster }} | {{ #if: {{{effect_types|}}} | 1 }} }} }}<!-- | |
− | + | -->{{ #arraydefine: @non-effect_types | Fusion, Ritual, Synchro, Xyz, Link }}<!-- | |
− | + | -->{{ #arrayintersect: @non-effect | $types | @non-effect_types }}<!-- | |
− | + | -->{{ #vardefine: $non-effect_monster | {{ #ifeq: {{ #arraysize: @non-effect }} | 0 || 1 }} }}<!-- | |
− | + | -->{{ #arraydefine: @extra_deck_types | Fusion, Synchro, Xyz, Link }}<!-- | |
− | + | -->{{ #arrayintersect: @extra_deck | $types | @extra_deck_types }}<!-- | |
− | + | -->{{ #vardefine: $extra_deck_monster | {{ #ifeq: {{ #arraysize: @extra_deck }} | 0 || 1 }} }}<!-- | |
− | + | -->{{ #vardefine: $extra/main_deck | |
− | + | | {{ #if: {{ #var: $extra_deck_monster }} | Extra Deck | Main Deck }} | |
− | + | }}<!-- | |
− | + | -->{{ #vardefine: $card_type | {{ #var: $non-game | {{ #var: $counter | {{ #var: $skill | {{ #explode: {{{card_type<includeonly>|</includeonly>}}} | Card }} }} }} }} | |
− | + | }}{{ #vardefine: $card_type | {{ #ifeq: {{ #var: $card_type }} | Monster || {{ #var: $card_type }} }} | |
− | }} | + | }}{{ #vardefine: $card_type_full | {{ #switch: {{ #var: $card_type }} |
− | }} | + | | Checklist = Card Checklist |
− | }}{{ #if: {{ | + | | Counter = Counter |
− | + | | FAQ | Non-game = {{ #var: $card_type }} card | |
− | + | | ? | ??? = {{ #var: $card_type }} | |
− | + | | #default = {{ #var: $card_type | Monster }} Card | |
− | |||
− | |||
}} | }} | ||
− | }}{{ #vardefine: $ | + | }}{{ #vardefine: $limitation_text |
− | + | | {{ #if: {{{limitation_text<includeonly>|</includeonly>}}} | |
− | + | | {{{limitation_text}}} | |
− | + | | {{ #if: {{ #var: $ocg-tcg }} | |
− | + | | {{ #if: {{ #var: $token-counter }} | |
− | + | | This card cannot be in a Deck. | |
− | | | ||
}} | }} | ||
− | |||
}} | }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | -->{{ | + | // Assume the status based on properties of the card |
− | + | -->{{ #if: {{ #var: $limitation_text }}{{ #var: $skill }}{{ #var: $non-game }} | {{ #vardefine: $status | Illegal }} }}<!-- | |
− | + | -->{{ #if: {{ #var: $token-counter }} | {{ #vardefine: $status | Legal }} }}<!-- | |
− | + | // OCG status | |
− | + | -->{{ #if: {{ #var: $ocg }} | |
− | + | | {{ #vardefine: $ocg_status | |
− | + | | {{ #switch: {{{ocg_status}}}<!-- temp --> | |
− | }}<!-- | + | | Not yet released | Not yet legal = {{{ocg_status}}} |
− | --> | + | | #default = |
− | | | + | {{ #vardefine: $current_ocg_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:OCG Forbidden & Limited Lists]] [[Format::Yu-Gi-Oh! Official Card Game]] [[Effective date::<{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} |
− | | | + | {{ #vardefine: $latest_ocg_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:OCG Forbidden & Limited Lists]] [[Format::Yu-Gi-Oh! Official Card Game]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} |
− | + | {{ #var: $status | {{ #var: $current_ocg_status }} }} | |
− | + | }}<!-- | |
− | + | -->{{ #vardefine: $ocg-limitation-history | {{Limitation history|{{PAGENAME}}|OCG|{{ #var: $ocg_debut_date}}|''Yu-Gi-Oh! Official Card Game''}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | // TCG/Speed Duel status |
− | + | -->{{ #if: {{ #var: $tcg }} | |
− | | | + | | {{ #vardefine: $tcg_status |
− | | | + | | {{ #switch: {{{tcg_status}}}<!-- temp --> |
− | + | | Not yet released | Not yet legal = {{{tcg_status}}} | |
− | + | | #default = | |
− | + | {{ #vardefine: $current_tcg_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:TCG Forbidden & Limited Lists]] [[Format::Advanced Format]] [[Effective date::<{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} | |
− | + | {{ #vardefine: $latest_tcg_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:TCG Forbidden & Limited Lists]] [[Format::Advanced Format]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} | |
− | + | {{ #var: $status | {{ #var: $current_tcg_status }} }} | |
− | + | }}<!-- | |
− | + | -->{{ #vardefine: $tcg-limitation-history | {{Limitation history|{{PAGENAME}}|Advanced Format|{{ #var: $tcg_debut_date}}|''Yu-Gi-Oh! Trading Card Game''}} }}<!-- | |
− | + | -->{{ #vardefine: $tcg-sd-limitation-history | {{Limitation history|{{PAGENAME}}|Speed Duel|{{ #var: $tcg_sd_debut_date}}|''Yu-Gi-Oh! Trading Card Game'' [[Speed Duel]]s}} }} | |
− | + | }}<!-- | |
− | + | // Speed Duel status | |
− | + | -->{{ #if: {{{tcg_speed_duel_status<includeonly>|</includeonly>}}}{{ #var: $skill }} | |
− | + | | {{ #vardefine: $tcg_sd_status | |
− | + | | {{ #if: {{{tcg_speed_duel_status<includeonly>|</includeonly>}}} | {{{tcg_speed_duel_status}}} | Legal }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | }}<!-- | ||
− | --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | {{ #if: {{{ | ||
− | |||
}} | }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | // Rush Duel statuses |
− | | | + | -->{{ #if: {{ #var: $rush_duel_card }} |
− | | | + | | {{ #vardefine: $rush_duel_status |
− | | | + | | {{ #switch: {{{rush_duel_status}}} |
− | | | + | | Not yet released = {{{rush_duel_status}}} |
− | + | | #default = | |
− | + | {{ #vardefine: $current_rush_duel_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:Yu-Gi-Oh! Rush Duel Forbidden & Limited Lists]] [[Effective date::<{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} | |
− | + | {{ #vardefine: $latest_rush_duel_status | {{ #ask: [[List contains::{{PAGENAME}}]] [[-Has subobject::{{ #ask: [[Category:Yu-Gi-Oh! Rush Duel Forbidden & Limited Lists]] |sort = Effective date |order = desc |link = none |limit = 1 |searchlabel =}}]] |?Status# = |mainlabel = - |default = Unlimited }} }} | |
+ | {{ #var: $status | {{ #var: $current_rush_duel_status }} }} | ||
+ | }}<!-- | ||
+ | -->{{ #vardefine: $rush-duel-limitation-history | {{Limitation history|{{PAGENAME}}|Yu-Gi-Oh! Rush Duel|{{ #var: $debut_date}}}} }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | + | // Rush Duel Legend Card | |
− | + | -->{{ #if: {{{rush_duel_status<includeonly>|</includeonly>}}}{{ #var: $rush_duel_card }} | |
− | + | | {{ #if: {{ #pos: {{{misc}}} | Legend Card }} | |
− | + | | {{ #vardefine: $rush_duel_legend_card | 1 }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | |
− | | | + | -->{{ #vardefine: $level-rank | {{ #if: {{ #arraysearch: $types | Xyz }} | Rank | Level }} }}<!-- |
− | | | + | -->{{ #vardefine: $stars | {{ #if: {{{level<includeonly>|</includeonly>}}} | {{{level}}} | {{{rank|}}} }} }}<!-- |
− | | | + | -->{{ #vardefine: $no_lore | {{ #ifeq: {{ lc: {{{lore}}} }} | none | {{ #if: {{ #var: $rush_duel_card }} || 1 }} | {{ #if: {{ #var: $token-counter }} | {{ #if: {{{lore|}}} || 1 }} }} }} }}<!-- |
− | | | + | -->{{ #vardefine: $is_mentioned | {{ #ask: [[Mentions::{{ #var: $pagename }}]] {{ #if: {{ #var: $rush_duel_card }} | [[Medium::Rush Duel]] | [[Concept:CG cards]] }} |?English name | format = plainlist | sep =   |
− | + | : | link = none | template = Link with quotes }} }}<!-- | |
− | | | + | -->{{ #vardefine: $has_support | {{ #ask: [[Support::{{ #var: $pagename }}]] {{ #if: {{ #var: $rush_duel_card }} | [[Medium::Rush Duel]] | [[Concept:CG cards]] }} |?English name | format = plainlist | sep =   |
− | + | : | link = none | template = Link with quotes }} }}<!-- | |
− | | | + | -->{{ #vardefine: $has_anti-support | {{ #ask: [[Anti-support::{{ #var: $pagename }}]] {{ #if: {{ #var: $rush_duel_card }} | [[Medium::Rush Duel]] | [[Concept:CG cards]] }} |?English name | format = plainlist | sep =   |
− | + | : | link = none | template = Link with quotes }} }}<!-- | |
− | | | + | TOC headers |
+ | -->{{ #vardefine: $search_categories | {{ #if: {{{mentions<includeonly>|</includeonly>}}}{{{supports|}}}{{{anti-supports|}}} | ||
+ | {{{archseries|}}}{{{supports_archetypes|}}}{{{anti-supports_archetypes|}}}{{{related_to_archseries|}}} | ||
+ | {{{counter|}}}{{{action|}}}{{{stat_change|}}}{{{m/s/t|}}}{{{summoning|}}}{{{attack|}}}{{{banished|}}}{{{life_points|}}} | ||
+ | {{{fm_for|}}}{{{sm_for|}}}{{{misc|}}}{{ #var: $is_mentioned }}{{ #var: $has_support }}{{ #var: $has_anti-support }} | 1 }} | ||
+ | }}{{ #vardefine: $other_languages | {{ #if: | ||
+ | {{{fr_name<includeonly>|</includeonly>}}}{{{fr_skill_activation|}}}{{{fr_pendulum_effect|}}}{{{fr_lore|}}} | ||
+ | {{{de_name|}}}{{{de_skill_activation|}}}{{{de_pendulum_effect|}}}{{{de_lore|}}} | ||
+ | {{{it_name|}}}{{{it_skill_activation|}}}{{{it_pendulum_effect|}}}{{{it_lore|}}} | ||
+ | {{{pt_name|}}}{{{pt_skill_activation|}}}{{{pt_pendulum_effect|}}}{{{pt_lore|}}} | ||
+ | {{{es_name|}}}{{{es_skill_activation|}}}{{{es_pendulum_effect|}}}{{{es_lore|}}} | ||
+ | {{{ja_name|}}}{{{ja_summoning_condition|}}}{{{ja_pendulum_effect|}}}{{{ja_requirement|}}}{{{ja_lore|}}} | ||
+ | {{{ko_name|}}}{{{ko_summoning_condition|}}}{{{ko_pendulum_effect|}}}{{{ko_requirement|}}}{{{ko_lore|}}} | ||
+ | {{{zh_name|}}}{{{zh_pendulum_effect|}}}{{{zh_lore|}}} | ||
+ | {{{tc_name|}}}{{{tc_pendulum_effect|}}}{{{tc_lore|}}} | ||
+ | {{{sc_name|}}}{{{sc_pendulum_effect|}}}{{{sc_lore|}}} | ||
+ | | 1 | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | -->{{ #vardefine: $other_pages_count | {{ #ask: [[Main card page::{{PAGENAME}}]] |format=count }} |
− | | | + | }}{{ #ifeq: {{ #var: $other_pages_count }} | 0 |
− | | | + | || {{ #vardefine: $other_pages_with_date_count | {{ #ask: [[Main card page::{{PAGENAME}}]] [[Debut date::+]] |format=count }} |
− | | | + | }}{{ #vardefine: $has_other_media_pages | 1 }} |
}}<!-- | }}<!-- | ||
− | -->{{ | + | above the VG checks so we can check for images without also catching artworks used for the artwork switcher |
− | | | + | -->{{ #ifeq: {{ #invoke: string | find |{{{image}}}|;}}<!-- a few cards have more than 1k chars in {{{image}}}, so #pos can't be used --> | 0 || {{ #vardefine: $has_multiple_artworks | 1 }} }}<!-- |
− | | | + | -->{{ #vardefine: $boss_duel_card | {{ #if: {{ #var: $has_multiple_artworks }} || {{ #pos: {{{image}}} | -BD- }} }} }}<!-- |
− | | | + | -->{{ #vardefine: $has_db_id | {{ #if: {{ #var: $non-game }}{{ #var: $counter }}{{ #var: $skill }}{{ #var: $boss_duel_card }} || {{ #var: $token }}{{ #var: $ocg-jp }}{{ #var: $tcg-en }}{{ #var: $fr_release }}{{ #var: $de_release }}{{ #var: $it_release }}{{ #var: $pt_release }}{{ #var: $sp_release }}{{ #var: $kr_release }} }} }}<!-- |
− | | | + | video game presences |
− | + | a few vg parameter variables for simplifying logic | |
+ | -->{{ #vardefine: $gx03_status | {{{gx03_status<includeonly>|</includeonly>}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | continuing on now that they're out of the way... |
− | + | -->{{ #if: {{{dar_lore<includeonly>|</includeonly>}}}{{ #if: {{ #var: $has_multiple_artworks }} || {{ #pos: {{{image}}} | DAR-EN-VG }} }} | {{ #vardefine: $vg-dar | 1 }}{{ #set: Medium = DAR }} | |
− | | | + | }}{{ #if: {{{gx03_name<includeonly>|</includeonly>}}}{{{gx03_sets|}}}{{ #var: $gx03_status }} | {{ #vardefine: $vg-gx03 | 1 }}{{ #set: Medium = GX03 }} |
− | | | + | }}{{ #if: {{{ntr_name<includeonly>|</includeonly>}}}{{{ntr_sets|}}} | {{ #vardefine: $vg-ntr | 1 }}{{ #set: Medium = NTR }} |
− | + | }}{{ #if: {{{ygo_lore<includeonly>|</includeonly>}}}{{{ygo_sets|}}} | {{ #vardefine: $vg-ygo | 1 }}{{ #set: Medium = YGO }} | |
− | {{ #if: {{{ | + | }}{{ #vardefine: $vg-sets | {{ #if: {{{gx03_sets|}}}{{{ntr_sets|}}}{{{ygo_sets|}}} | 1 }} |
− | + | }}{{ #if: {{ #var: $vg-dar }}{{ #var: $vg-gx03 }}{{ #var: $vg-ntr }}{{ #var: $vg-ydt1 }}{{ #var: $vg-ygo }} | {{ #vardefine: $vg | 1 }}{{ #set: Medium = Video game }} | |
}}<!-- | }}<!-- | ||
− | -->{{ # | + | ## Image checks/properties/variables start ## -->{{ #vardefine: $image-back |
− | | | + | | {{ #switch: {{ #var: $non-game }}<!-- default backing first --> |
− | + | | Checklist | Strategy | Tip | FAQ = StrategyCard-EN-Back | |
− | | | + | | #default = Back-{{ #if: {{ #var: $tcg }} |
− | + | | EN | |
− | + | | {{ #if: {{ #var: $rush_duel_card }} | |
− | + | | RushDuel-JP | |
+ | | {{ #if: {{ #var: $ocg-jp }}{{ #var: $tc_release }}{{ #var: $sc_release }} | ||
+ | | JP | ||
+ | | {{ #if: {{ #var: $kr_release }} | ||
+ | | KR | ||
+ | | EN | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
− | }} | + | }}.png |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | -->{{ | + | -->{{ #if: {{{image|}}} |
− | | check | + | | {{ #if: {{ #var: $has_multiple_artworks }}<!-- skip all checks for cards with an artwork switcher --> |
− | | | + | | [[Category:Card tables with multi-image syntax]] |
− | | | + | | {{ #if: <!-- check for embedded image syntax, external URLs, or images without a valid extension |
− | + | -->{{ #pos: {{{image}}} | [ }}{{ #pos: {{{image}}} | ] }}<!-- | |
− | : {{{ | + | -->{{ #pos: {{ lc: {{{image}}} }} | http }}{{ #pos: {{ lc: {{{image}}} }} | .com/ }}<!-- |
− | + | -->{{ #pos: {{ lc: {{{image}}} }} | .net/ }}{{ #pos: {{ lc: {{{image}}} }} | .org/ }}<!-- | |
− | + | -->{{ #switch: {{ #explode: {{ lc: {{{image}}} }} | . | -1 }} | png | jpg | jpeg | gif = | #default = 1 }} | |
− | : }} {{{ | + | | [[Category:CardTable2 bad image values]] |
+ | | {{ #vardefine: $image | {{PAGENAME:{{{image}}}}} }}{{ #set: Card image = {{ #var: $image }} }} | ||
+ | }}<!-- | ||
+ | -->{{ #ifeq: {{ #imgw: {{ #var: $image }} }} | 0 | [[Category:Card table transclusions using non-uploaded images]] }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{image}}} | -EN- }}{{ #pos: {{{image}}} | -JP- }} | ||
+ | || {{ #if: {{ #pos: {{{image}}} | -FR- }}{{ #pos: {{{image}}} | -DE- }}{{ #pos: {{{image}}} | -IT- }}{{ #pos: {{{image}}} | -PT- }}{{ #pos: {{{image}}} | -SP- }}{{ #pos: {{{image}}} | -KR- }} | ||
+ | | [[Category:((CardTable2)) transclusions with a non-English/Japanese image]] | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{image}}} | -VG. }} | [[Category:((CardTable2)) transclusions using video game images]] }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{image}}} | -OP. }} | [[Category:((CardTable2)) transclusions using OP images]] }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{image}}} | -OW. }} | [[Category:((CardTable2)) transclusions using OW images]] }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{image}}} | -Sample }} | [[Category:((CardTable2)) transclusions using sample images]] }}<!-- in the off-chance | ||
+ | -->{{ #if: {{ #ifeq: {{ #explode: {{{image}}} | - }} | Back | 1 }}{{ #pos: {{{image}}} | -Back }} | [[Category:((CardTable2)) transclusions using card backings]] }} | ||
+ | }} | ||
+ | }}<!-- ## Image checks/properties/variables end ## | ||
+ | -->{{ #vardefine: $monster_color | ||
+ | | {{ #switch: {{ #arrayindex: $types | 1 }} | ||
+ | | Normal | Effect | Fusion | Link | Ritual | Synchro | Token | Xyz = {{ #arrayindex: $types | 1 }} | ||
+ | | {{ #arrayindex: $types | 2 }} | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | Main card page |
− | | | + | -->{{ #if: {{ #pos: {{ #var: $pagename }} | (Rush Duel }}{{{main<includeonly>|</includeonly>}}} |
− | | | + | | {{ #switch: {{ lc: {{{main}}} }} |
− | | | + | | no | none | false = <!-- No main. --> |
+ | | {{ #if: {{{main<includeonly>|</includeonly>}}} | ||
+ | | {{ #vardefine: $main | {{ #replace: {{{main}}} | # }} }}{{ #vardefine: $main_text | {{ #show: {{{main}}} | ?English name | default = {{ #var: $url-name }} }} }} | ||
+ | | {{ #vardefine: $main | {{ #show: {{ #var: $url-name }} | ?Page name | default = {{ #var: $url-name }} }} }}{{ #vardefine: $main_text | {{ #show: {{ #var: $url-name }} | ?English name | default = {{ #var: $url-name }} }} }} | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $main }} | ||
+ | | {{Main|type=card page|"[[{{ #var: $main }}|{{ #var: $main_text }}]]"|t=1}}{{ #set: Main card page = {{ #var: $main }} }} | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | TOC |
− | | | + | -->{{ #if: {{ #var: $search_categories }}{{ #var: $other_languages }}{{ #var: $not-tcg-en }}{{ #var: $vg }}{{ #var: $rush_duel_card }} |
− | | | + | | <div role="navigation" id="toc" class="toc plainlinks hlist" style="margin-left: auto; margin-right: auto; white-space: nowrap;"> |
− | | | + | {{ #if: {{ #var: $tcg-en }} | |
+ | * [[#English sets|English sets]] }}{{ #if: {{ #var: $search_categories }} | | ||
+ | * [[#Search categories|Search categories]] }}{{ #if: {{ #var: $tcg-limitation-history }}{{ #var: $tcg-sd-limitation-history }}{{ #var: $ocg-limitation-history }}{{ #var: $rush-duel-limitation-history }} | | ||
+ | * [[#Limitation history|Limitation history]] }}{{ #if: {{ #var: $other_languages }} | | ||
+ | * [[#Other languages|Other languages]] }}{{ #if: {{ #var: $not-tcg-en }}{{ #var: $rush_duel_card }} | | ||
+ | * [[#{{ #var: $non-en-sets-heading }}|{{ #var: $non-en-sets-heading }}]] }}{{ #if: {{ #var: $has_other_media_pages }} | | ||
+ | * [[#In other media|In other media]] }}{{ #if: {{ #var: $vg }} | | ||
+ | * [[#Video games|Video games]] }}<noinclude> | ||
+ | * [[#template-documentation|Documentation]]</noinclude> | ||
+ | </div> | ||
}}<!-- | }}<!-- | ||
− | -->{{ | + | == Table start == |
− | + | -->{{Card table{{ #var: $is_sandbox }} | |
− | | | + | | bodyclass = {{ #if: {{{cardclass|}}} |
− | + | | {{{cardclass}}} | |
− | {{ #if: {{ | + | | {{ #switch: {{ #var: $token | {{ #var: $card_type | {{ #var: $monster_color }} }} }} |
− | + | | Spell | Trap | Skill | Strategy | FAQ | Tip = {{ lc: {{ #var: $card_type }} }} | |
− | + | | Command = spell | |
− | {{{ | + | | Counter |
− | + | | Token = token | |
− | + | | Ticket = yellow | |
− | }} | + | | Checklist = strategy |
− | + | | Normal | Effect | Fusion | Link | Ritual | Synchro | Xyz = {{ lc: {{ #var: $monster_color }} }} | |
− | + | | #default = {{ #if: {{ #var: $monster }} | |
− | + | | {{ #if: {{ #arraysearch: $types | ??? }} | |
− | + | | blank{{ #vardefine: $colorless | 1 }} | |
− | + | | {{ #if: {{ #var: $effect_monster }} | effect | normal }}{{ #vardefine: $assumed_color | 1 }} | |
− | + | }} | |
− | + | | blank{{ #vardefine: $colorless | 1 }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | }} | ||
+ | }}-card <!-- | ||
+ | -->{{ #if: {{ #var: $pendulum_monster }} | pendulum-card }} | ||
+ | | title = {{ #var: $name }}<!-- | ||
+ | -->{{ #if: {{ #var: $smw }} | ||
+ | | <!-- | ||
+ | -->{{ #set: Page name = {{ #var: $pagename }} }}<!-- | ||
+ | -->{{ #set: English name = {{ #var: $name }} }}<!-- | ||
+ | -->{{ #set: English name (linked) = [[{{ #var: $pagename }}|{{ #var: $name }}]] }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{{name|}}} | [[Category:Card table parameter tracking (name)]] }}<!-- | ||
+ | -->{{ #ifeq: {{{name}}} | {{ #var: $pagename }} | [[Category:Pages with an unnecessary name parameter]] }}<!-- | ||
+ | -->{{ #if: {{ #pos: {{{name}}} | sup> }} | [[Category:Pages with superscript in name parameter]] }}<!-- | ||
+ | -->{{ #if: {{{main|}}} | [[Category:Card table parameter tracking (main)]] }} | ||
+ | | above = {{ #if: {{{ja_name<includeonly>|</includeonly>}}}{{ #if: {{ #var: $ocg-jp }} | {{ #var: $main }} }} | ||
+ | | {{Japanese names{{ #var: $is_sandbox }} | ||
+ | | {{{ja_name}}} | ||
+ | | {{{romaji_name<includeonly>|</includeonly>}}} | ||
+ | | {{{trans_name<includeonly>|</includeonly>}}} | ||
+ | | {{{base_romaji_name<includeonly>|</includeonly>}}} | ||
+ | | {{{base_trans_name<includeonly>|</includeonly>}}} | ||
+ | | main = {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | | {{ #var: $main }} }} | ||
}} | }} | ||
}} | }} | ||
+ | | image = {{ #var: $image }} | ||
+ | | default_image = {{ #var: $image-back }} | ||
+ | | image_raw = {{ #if: {{ #var: $has_multiple_artworks }} | {{Artwork switcher{{ #var: $is_sandbox }}|{{{image}}}|{{{current_image}}}}} }} | ||
+ | | width = 300 | ||
+ | | below_image = {{ #if: {{{image2|}}} | <includeonly> | ||
+ | <div class="hlist image-switcher"> | ||
+ | * {{Image dimensions{{ #var: $is_sandbox }}|{{ #var: $image }}|Front}} | ||
+ | * {{Image dimensions{{ #var: $is_sandbox }}|{{{image2}}} |Back}} | ||
+ | </div></includeonly><!-- | ||
+ | -->{{ #if: {{ #var: $smw }} | {{ #set: Card backing image = {{{image2}}} }} }}<!-- | ||
+ | -->[[Category:CardTable2 parameter tracking (image2)]] | ||
+ | }} | ||
+ | | label1 = Other names | ||
+ | | class1 = plainlist | ||
+ | | data1 = {{ #if: {{{alt_name<includeonly>|</includeonly>}}} | {{ #arraymap: {{{alt_name}}} | * | $name | | ||
+ | * $name | ||
+ | | \n | ||
+ | }}<includeonly>[[Category:Card pages with an alt name]]</includeonly> | ||
}} | }} | ||
− | + | | label2 = Other names (Japanese) | |
− | + | | data2 = {{ #if: {{{ja_alt_name<includeonly>|</includeonly>}}} | |
− | + | | <span lang="ja">{{{ja_alt_name<includeonly>|</includeonly>}}}</span><!-- | |
− | + | -->{{ #if: {{{ja_alt_romaji<includeonly>|</includeonly>}}} | <br />''{{{ja_alt_romaji}}}'' }}<!-- | |
− | + | -->{{ #if: {{{ja_alt_trans<includeonly>|</includeonly>}}} | <br />{{{ja_alt_trans}}} }}<!-- | |
− | + | --><includeonly>[[Category:Card pages with an alt name]]</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | {{ #if: {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | | label3 = [[Card type]] | |
− | + | | data3 = [[{{ #var: $card_type_full }}|{{ #var: $card_type | Monster }}]] {{ #if: {{ #var: $monster }}{{ #var: $non-game }}{{ #var: $counter }}{{ #var: $skill }} | |
− | + | || {{ #switch: {{ #var: $card_type }} | |
− | + | | ??? | ? = [[File:UNKNOWN.svg|28px|alt=|class=noviewer]] | |
− | + | | #default = {{ #if: {{ #var: $rush_duel_card }} | |
− | + | | [[File:{{ #var: $card_type }}-DBR-JP.png|28px|alt=|class=noviewer]] | |
− | {{ #if: {{ #var: $ | + | | [[File:{{ uc: {{ #var: $card_type }} }}.svg|28px|alt=|class=noviewer]] |
− | + | }} | |
}} | }} | ||
− | + | }}<!-- | |
− | + | -->{{ #set: Card type = {{ #var: $card_type_full }} }}<!-- | |
− | + | -->{{ #set: Card type (short) = [[{{ #var: $card_type_full }}|{{ #var: $card_type | Monster }}]] }} | |
− | + | | label4 = [[Attribute]] | |
− | + | | data4 = {{ #if: {{{attribute<includeonly>|</includeonly>}}} | |
− | }} | + | | {{ #ifeq: {{{attribute}}} | LAUGH |
− | {{{ | + | | {{ #vardefineecho: $attribute | {{ uc: {{{attribute}}} }} }} |
− | + | | [[{{ #vardefineecho: $attribute | {{ uc: {{{attribute}}} }} }}]]{{ #set: Attribute = {{ #var: $attribute }} }} | |
− | < | + | }} <!-- |
− | + | -->{{ #switch: {{ #var: $attribute }} | |
− | }} | + | | ??? | ? = [[File:UNKNOWN.svg|28px|alt=|class=noviewer]] |
− | {{ | + | | #default = {{ #if: {{ #var: $rush_duel_card }} |
+ | | [[File:{{ #var: $attribute }}-DBR-JP.png|28px|alt=|class=noviewer]] | ||
+ | | [[File:{{ #var: $attribute }}.svg|28px|alt=|class=noviewer]] | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
− | + | | label5 = [[Type]]s | |
− | + | | data5 = {{ #if: {{{types<includeonly>|</includeonly>}}} | |
− | + | | {{ #if: {{ #var: $token }} | |
− | + | | {{ #if: {{ #var: $valid_type }}<!-- first part is a valid Type --> | |
− | + | | {{ #if: {{ #var: $type_link }} | |
− | + | | [[{{ #var: $type_link }}|{{ #var: $type }}]]{{ #set: Type = {{ #var: $type_link }} }} | |
+ | | {{ #var: $type }} | ||
+ | }} | ||
+ | | [[{{ #arrayindex: $types | 0 }} Monster|{{ #arrayindex: $types | 0 }}]]<!-- no property gets stored apparently --> | ||
+ | }} | ||
+ | | {{ #if: {{{character|}}} | ||
+ | | [[{{{character}}}|{{ #explode: {{ #arrayindex: $types | 0 }} | ( }}]]{{ #set: Character = {{{character}}} }} | ||
+ | | {{ #if: {{ #var: $type_link }} | ||
+ | | [[{{ #var: $type_link }}|{{ #var: $type }}]]{{ #set: Type = {{ #var: $type_link }} }} | ||
+ | | {{ #var: $type }} | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
− | + | }} <!-- | |
− | + | -->{{ #if: {{ #arrayindex: $types | 1 }} | |
− | {{ # | + | | / [[{{ #switch: {{ #arrayindex: $types | 1 }} |
− | < | + | | Token = Monster Token |
− | {{{ | + | | Skill = Skill Card |
+ | | Toon | Spirit | Union | Gemini | Flip | Tuner = {{ #arrayindex: $types | 1 }} monster | ||
+ | | #default = {{ #arrayindex: $types | 1 }} Monster | ||
+ | }}|{{ #arrayindex: $types | 1 }}]] | ||
+ | }} <!-- | ||
+ | -->{{ #if: {{ #arrayindex: $types | 2 }} | ||
+ | | / [[{{ #switch: {{ #arrayindex: $types | 2 }} | ||
+ | | Token = Monster Token | ||
+ | | Toon | Spirit | Union | Gemini | Flip | Tuner = {{ #arrayindex: $types | 2 }} monster | ||
+ | | #default = {{ #if: {{ #var: $skill }} | {{ #arrayindex: $types | 2 }} Card | {{ #arrayindex: $types | 2 }} Monster }} | ||
+ | }}|{{ #arrayindex: $types | 2 }}]]{{ #if: {{ #var: $skill }} | {{ #set: Property = {{ #arrayindex: $types | 2 }} Card }}{{ #set: Property (short) = [[{{ #arrayindex: $types | 2 }} Card|{{ #arrayindex: $types | 2 }}]] }} }} | ||
+ | }} <!-- | ||
+ | -->{{ #if: {{ #arrayindex: $types | 3 }} | ||
+ | | / [[{{ #arrayindex: $types | 3 }} Monster|{{ #arrayindex: $types | 3 }}]] | ||
+ | }} | ||
+ | | label6 = [[Property]] | ||
+ | | data6 = {{ #if: {{{property<includeonly>|</includeonly>}}} | ||
+ | | {{ #switch: {{{property}}} | ||
+ | | ??? | ? = {{{property}}}{{ #set: Property = {{{property}}} }}{{ #set: Property (short) = [[{{{property}}}]] }} | ||
+ | | #default = [[{{{property}}} {{ #var: $card_type_full }}|{{{property}}}]] [[File:{{{property}}}.svg|28px|alt=|class=noviewer]]<!-- | ||
+ | -->{{ #set: Property = {{{property}}} {{ #var: $card_type_full }} }}<!-- | ||
+ | -->{{ #set: Property (short) = [[{{{property}}} {{ #var: $card_type_full }}|{{{property}}}]] }} | ||
}} | }} | ||
}} | }} | ||
− | + | | label7 = [[{{ #var: $level-rank }}]] | |
− | + | | data7 = {{ #if: {{ #var: $stars }} | |
− | + | | [[{{ #var: $level-rank }} {{ #var: $stars }} Monster Cards|{{ #var: $stars }}]] <!-- | |
− | + | -->{{ #if: {{ #var: $ocg-tcg }}{{ #var: $vg }}{{ #var: $rush_duel_card }}{{ #var: $token }} | |
− | {{ # | + | | {{ #invoke: String |
− | + | | rep | |
− | }} | + | |[[File:{{ #ifeq: {{ #var: $level-rank }} | Rank | Rank | CG }} {{ #iferror: {{ #expr: {{ #var: $stars }} }} | Star Unknown | Star }}.svg|18px|class=noviewer]]<!-- |
− | + | -->| {{ #iferror: {{ #expr: {{ #var: $stars }} }} | 1 | {{ #var: $stars }} }} | |
− | + | }} | |
− | + | }}{{Star properties{{ #var: $is_sandbox }}|{{ #var: $stars }}|label={{ #var: $level-rank }}}} | |
− | + | }} | |
− | {{{ | + | | label8 = [[Link Arrow]]s |
− | + | | data8 = {{ #if: {{{link_arrows<includeonly>|</includeonly>}}} | |
+ | | <div style="display: flex; align-items: center;"><!-- | ||
+ | -->{{Link map{{ #var: $is_sandbox }}|{{{link_arrows}}}|alt=}} {{ #arraydefine: @linkArrows | {{{link_arrows}}} }}<!-- | ||
+ | --><div><!-- | ||
+ | -->{{ #arrayprint: @linkArrows | ||
+ | | ,   | ||
+ | | $linkArrow | ||
+ | | [[$linkArrow Link Arrow cards|$linkArrow]]{{ #set: Link Arrows = $linkArrow }} | ||
+ | }}</div></div> | ||
+ | }} | ||
+ | | label9 = [[Pendulum Scale]] | ||
+ | | data9 = {{ #if: {{{pendulum_scale<includeonly>|</includeonly>}}} | ||
+ | | [[File:Pendulum Scale.png|18px|class=noviewer]] <!-- | ||
+ | -->[[Pendulum Scale {{{pendulum_scale}}} Monster Cards|{{{pendulum_scale}}}]]<!-- | ||
+ | -->{{ #iferror: {{ #expr: {{{pendulum_scale}}} }} || {{ #set: Pendulum Scale = {{{pendulum_scale}}} }} }}{{ #set: Pendulum Scale string = {{{pendulum_scale}}} }} | ||
}} | }} | ||
− | + | | label10 = [[MAXIMUM ATK]] | |
− | + | | data10 = {{ #if: {{{maximum_atk<includeonly>|</includeonly>}}} | |
− | + | | {{{maximum_atk}}}<!-- should we create per-MAXIMUM ATK card lists like we have for ATK/DEF/etc.? -->{{ #set: MAXIMUM ATK = {{{maximum_atk}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | | label11 = [[ATK]] / {{ #if: {{{link_arrows|}}} | [[Link Rating|LINK]] | [[DEF]] }} | |
− | + | | data11 = {{ #if: {{{atk<includeonly>|</includeonly>}}}{{{def|}}}{{{link_arrows|}}} | |
− | + | | {{ #if: {{{atk<includeonly>|</includeonly>}}} | |
− | + | | [[{{{atk}}} ATK Monster Cards|{{{atk}}}]] | |
− | {{ #if: {{ # | + | }} <!-- |
− | + | -->{{ #if: {{{link_arrows|}}} | |
− | + | | / {{ #arraydefine: @linkArrows | {{{link_arrows}}} }}<!-- | |
− | + | -->{{ #vardefine: $linkRating | {{ #arraysize: @linkArrows }} }}<!-- | |
− | + | -->[[Link {{ #var: $linkRating }} Monster Cards|{{ #var: $linkRating }}]]<!-- | |
− | {{ | + | -->{{ #set: Link Rating = {{ #var: $linkRating }} }} |
− | + | | {{ #if: {{{def<includeonly>|</includeonly>}}} | |
− | {{{ | + | | / [[{{{def}}} DEF Monster Cards|{{{def}}}]] |
− | + | }} | |
+ | }}{{ATK DEF properties{{ #var: $is_sandbox }}|{{{atk|}}}|{{{def|}}}}} | ||
}} | }} | ||
− | + | | label12 = [[Password]] | |
− | + | | data12 = {{ #if: {{{password<includeonly>|</includeonly>}}} | |
− | + | | {{ #iferror: {{ #expr: {{{password<noinclude>|12345678</noinclude>}}} }} | |
− | + | | {{ #ifeq: {{ lc: {{{password}}} }} | none | |
− | + | | None[[Category:Cards printed without a password]]<!-- password = none --> | |
− | + | | <strong class="error">Invalid password.</strong>[[Category:Cards needing a password]]<!-- nonnumeric password not equal to "none"; needs checked --> | |
− | + | }} | |
− | + | | {{ #ifeq: {{ #len: {{{password<noinclude>|12345678</noinclude>}}} }} | 8 | |
− | + | | <noinclude>[[{{{password}}}]]</noinclude><includeonly>{{Preload|{{{password}}}|preload=Template:R from password/preload|param={{ #var: $pagename }}|created={{ #ifeq: {{target of|{{{password}}}}} | {{ #var: $pagename }} || [[Category:Password redirects pointing to the wrong page]] }}|redlink=[[Category:Cards needing a password redirect]]}}{{ #set: Password = {{{password}}} }}</includeonly><!-- password = <number> --> | |
− | {{ # | + | | <strong class="error">Invalid password.</strong>[[Category:Cards needing a password]]<!-- numeric password not 8 digits long; needs checked --> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
}} | }} | ||
− | + | | {{ #if: {{ #var: $limitation_text }} | None[[Category:Cards printed without a password]] }}<!-- limitation text and no password --> | |
− | + | }} | |
− | ; | + | | label13 = [[Limitation text]] |
+ | | data13 = {{ #var: $limitation_text }} | ||
+ | | label14 = {{ #if: {{{ritualcard<includeonly>|</includeonly>}}} | ||
+ | | [[Ritual Spell Card|Ritual]] required | ||
+ | | [[Ritual Monster]] required | ||
+ | }} | ||
+ | | data14 = {{ #if: {{{ritualcard<includeonly>|</includeonly>}}} | ||
+ | | "[[{{{ritualcard}}}]]" {{ #set: Ritual Spell Card required = {{{ritualcard}}} }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{{ritualmonster<includeonly>|</includeonly>}}} |   | ||
+ | <div class="hlist hcomma"> | ||
+ | <!-- | ||
+ | -->{{ #arraydefine: @ritual_monster | {{{ritualmonster}}} | * | unique }}<!-- | ||
+ | -->{{ #arrayprint: @ritual_monster || $x$ |   | ||
+ | * "[[$x$]]" {{ #set: Ritual Monster required = $x$ }} | ||
}} | }} | ||
− | + | </div> | |
− | + | }} | |
− | + | | label15 = [[Summon]]ed by the effect of | |
− | + | | data15 = {{ #if: {{{summoned_by<includeonly>|</includeonly>}}} |   | |
+ | <div class="hlist hcomma"> | ||
+ | {{ #arrayprint: @summoned_by || $x$ |   | ||
+ | * "[[$x$]]"{{ #set: Summoned by = $x$ }} | ||
}} | }} | ||
− | {{{ | + | </div> |
+ | }} | ||
+ | | label16 = Effect types | ||
+ | | class16 = hlist hcomma | ||
+ | | data16 = {{ #if: {{{effect_types<includeonly>|</includeonly>}}}{{{pendulum_effect_types|}}} | ||
+ | | {{ #if: {{{pendulum_effect_types<includeonly>|</includeonly>}}} | ||
+ | | <!-- | ||
+ | -->; Pendulum Effect {{CardTable2/effect{{ #var: $is_sandbox }}|{{{pendulum_effect_types}}}|y}}<!-- | ||
+ | -->{{ #if: {{{effect_types<includeonly>|</includeonly>}}} | ; Monster Effect }} | ||
+ | }}{{ #if: {{{effect_types<includeonly>|</includeonly>}}} | ||
+ | | {{CardTable2/effect{{ #var: $is_sandbox }}|{{{effect_types}}}|{{ #if: {{ #var: $rush_duel_card }} | RD | {{ #var: $card_type }} }} }} | ||
}} | }} | ||
}} | }} | ||
− | + | | label17 = [[Status]] | |
− | + | | data17 = {{ #if: {{ #var: $ocg_status }}{{ #var: $tcg_status }}{{ #var: $tcg_sd_status }}{{ #var: $rush_duel_status }} | |
− | }}{{ # | + | | <div style="margin: -0.25em;"><!-- |
− | + | //OCG STATUS | |
− | + | -->{{ #if: {{ #var: $ocg_status }} | |
− | + | | <div class="status-{{ #replace: {{ lc: {{ #var: $ocg_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $ocg_status }}]] (''[[Yu-Gi-Oh! Official Card Game|OCG]]'')</div> | |
− | + | }}<!-- | |
− | + | //UPCOMING OCG STATUS | |
− | {{ #if: {{ #var: $ | + | -->{{ #ifeq: {{ #var: $current_ocg_status }} | {{ #var: $latest_ocg_status }} |
− | + | ||<div class="status-{{ #replace: {{ lc: {{ #var: $latest_ocg_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $latest_ocg_status }}]] (''Upcoming [[Yu-Gi-Oh! Official Card Game|OCG]]'')</div> | |
− | }} | + | }}<!-- |
− | + | //TCG STATUS | |
− | < | + | -->{{ #if: {{ #var: $tcg_status }} |
− | + | | <div class="status-{{ #replace: {{ lc: {{ #var: $tcg_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $tcg_status }}]] (''[[Yu-Gi-Oh! Trading Card Game|TCG]]'')</div> | |
− | + | }}<!-- | |
− | + | //UPCOMING TCG STATUS | |
− | </ | + | -->{{ #ifeq: {{ #var: $current_tcg_status }} | {{ #var: $latest_tcg_status }} |
− | + | || <div class="status-{{ #replace: {{ lc: {{ #var: $latest_tcg_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $latest_tcg_status }}]] (''Upcoming [[Yu-Gi-Oh! Trading Card Game|TCG]]'')</div> | |
− | + | }}<!-- | |
− | < | + | //SPEED DUEL STATUS |
− | + | -->{{ #if: {{ #var: $tcg_sd_status }} | |
− | </ | + | | <div class="status-{{ #replace: {{ lc: {{ #var: $tcg_sd_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $tcg_sd_status }}]] (''[[Yu-Gi-Oh! Trading Card Game|TCG]]'' [[Speed Duel]])</div> |
− | + | }}<!-- | |
− | {{ #if: {{ #var: $ | + | //RUSH DUEL STATUS |
− | + | -->{{ #if: {{ #var: $rush_duel_status }} | |
− | {{ # | + | | {{ #if: {{ #var: $rush_duel_legend_card }} |
+ | | <div class="status-limited" style="background: linear-gradient(45deg, #c93, gold, #ffc, gold, #c93); text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[Legend Card]]</div> | ||
+ | | <div class="status-{{ #replace: {{ lc: {{ #var: $rush_duel_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $rush_duel_status }}]] (''[[Yu-Gi-Oh! Rush Duel|Rush Duel]]'')</div> | ||
}} | }} | ||
+ | }}<!-- | ||
+ | //UPCOMING RUSH DUEL STATUS | ||
+ | -->{{ #ifeq: {{ #var: $current_rush_duel_status }} | {{ #var: $latest_rush_duel_status }} | ||
+ | || <div class="status-{{ #replace: {{ lc: {{ #var: $latest_rush_duel_status }} }} || - }}" style="text-align: center; display: inline-block; margin: 0.25em; padding: 0.1em 0.5em; border: 2px solid #666; border-radius: 3px;">[[{{ #var: $latest_rush_duel_status }}]] (''Upcoming [[Yu-Gi-Oh! Rush Duel|Rush Duel]]'')</div> | ||
+ | }}</div> | ||
}} | }} | ||
− | + | | label18 = Source card | |
− | + | | data18 = {{ #if: {{{source_card<includeonly>|</includeonly>}}} | |
− | + | | "{{ #show: {{{source_card}}} |?English name (linked) }}" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | | data19 = {{ #if: {{ #if: {{ #var: $no_lore }} || {{{lore<includeonly>|</includeonly>}}} }}{{{pendulum_effect|}}}{{ #if: {{{requirement|}}} | {{{summoning_condition|}}} }} | |
− | + | | <div class="lore"><!-- | |
− | + | -->{{ #if: {{{requirement<includeonly>|</includeonly>}}} | |
− | {{ #if: {{{ | + | | {{ #if: {{{materials|}}} | {{{materials}}}{{ #if: {{{summoning_condition|}}} | <br /> }} }} |
− | + | {{{summoning_condition|}}} | |
− | {{ #if: {{ #var: $ | + | }}<!-- |
− | + | -->{{ #if: {{{skill_activation<includeonly>|</includeonly>}}} | | |
+ | ; Skill activation | ||
+ | : {{{skill_activation}}} | ||
+ | ; Effect | ||
+ | : | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{{pendulum_effect<includeonly>|</includeonly>}}} | | ||
+ | ; Pendulum Effect | ||
+ | : {{{pendulum_effect}}}{{ #set: Pendulum Effect = {{{pendulum_effect}}} }}<!-- | ||
+ | -->{{ #if: {{ #var: $no_lore }} || | ||
+ | ; Monster Effect | ||
+ | : | ||
}} | }} | ||
− | + | }}<!-- | |
− | < | + | -->{{ #if: {{{requirement<includeonly>|</includeonly>}}} | |
+ | ; [REQUIREMENT] | ||
+ | : {{{requirement}}}{{ #set: Requirement = {{{requirement}}} }}{{ #if: {{{effect_types|}}} || {{ #set: Effect type = Effect }} }} | ||
+ | ; [{{ #switch: {{ #explode: {{{effect_types}}} | , | -1 }} | Continuous = CONTINUOUS EFFECT | Multi-Choice = MULTI-CHOICE EFFECT | Summoning condition | Activation condition | #default = EFFECT }}] | ||
+ | : | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $no_lore }} | ||
+ | || {{{lore}}}{{ #set: Lore = {{{lore}}} }} | ||
}} | }} | ||
− | {{ #if: {{ #var: $ | + | </div> |
− | + | }} | |
− | + | | label20 = Use | |
+ | | data20 = {{ #if: {{{use<includeonly>|</includeonly>}}} | ||
+ | | {{{use}}}<includeonly>[[Category:Card table parameter tracking (use)]]</includeonly> | ||
+ | }} | ||
+ | | belowclass = hlist plainlinks | ||
+ | | below = {{ #if: {{ #var: $has_db_id }} | ||
+ | | {{ #ifeq: {{ lc: {{{database_id}}} }} | none | ||
+ | | {{ #if: {{ #var: $token }} || [[Category:Cards without a Yugioh-Card database ID]] }} | ||
+ | | {{ #if: {{{database_id<includeonly>|</includeonly>}}} | ||
+ | | {{ #iferror: {{ #expr: {{{database_id<noinclude>|0</noinclude>}}} }} | ||
+ | | [[Category:Pages with an invalid Yugioh-Card database ID]] | ||
+ | |   | ||
+ | * Yugioh-Card database #<noinclude>{{{database_id}}}</noinclude><includeonly>{{ #ifexist: {{{database_id}}} | {{{database_id}}}{{ #ifeq: {{target of|{{{database_id}}}}} | {{ #var: $pagename }} || [[Category:Database ID redirects pointing to the wrong page]] }} | <span class="plainlinks">[{{fullurl:{{{database_id}}}|action=edit&redlink=1&preload=Template:R_from_database_ID/preload&preloadparams%5B%5D={{urlencode:{{ #var: $pagename }}}} }} <span style="color: #ba0000; text-decoration: inherit;" title="{{{database_id}}} (page does not exist)">{{{database_id}}}</span>]</span>[[Category:Cards needing a database ID redirect]] }}</includeonly>{{ #set: Database ID = {{{database_id}}} }} {{ #if: {{ #var: $token }} || {{ #if: {{ #var: $ocg-jp }} |   | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|ja|lang=ja|rush_duel={{ #var: $rush_duel_card }}}} - {{database link{{ #var: $is_sandbox }}|faq|{{{database_id<noinclude>|4007</noinclude>}}}|rulings|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $tcg-en }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|en|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $fr_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|fr|lang=fr|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $de_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|de|lang=de|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $it_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|it|lang=it|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $pt_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|pt|lang=pt|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $sp_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|es|lang=es|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $ae_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|ae|lang=ae}} | ||
+ | }} {{ #if: {{ #var: $kr_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|ko|lang=ko|rush_duel={{ #var: $rush_duel_card }}}} | ||
+ | }} {{ #if: {{ #var: $sc_release }} | | ||
+ | ** {{database link{{ #var: $is_sandbox }}|{{{database_id<noinclude>|4007</noinclude>}}}|cn|lang=cn}} | ||
+ | }} {{ #if: {{ #var: $rush_duel_card }} || | ||
+ | * [https://db.ygorganization.com/card#{{{database_id<noinclude>|4007</noinclude>}}} YGOrganization database] }} | ||
+ | }} }} | ||
+ | | {{ #if: {{ #var: $token }} || [[Category:Card pages needing a Yugioh-Card database ID]] }} | ||
}} | }} | ||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | </table> | + | }}<!-- end of {{Card table}} --> |
+ | {{Card info links{{ #var: $is_sandbox }}|{{ #var: $main }}}}<!-- | ||
+ | # TCGplayer widget: | ||
+ | --><div id="tcgplayer" class="tcgplayer--hidden"></div><!-- | ||
+ | -->{{ #if: {{ #var: $tcg-en }} |   | ||
+ | <h2>English sets</h2> | ||
+ | {{ #if: {{ #var: $en_release }} |  | ||
+ | <h3>Worldwide</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $en_sets }}|region=en}} | ||
+ | }}{{ #if: {{ #var: $na_release }} |  | ||
+ | <h3>North America</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $na_sets }}|region=na}} | ||
+ | }}{{ #if: {{ #var: $eu_release }} |  | ||
+ | <h3>Europe</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $eu_sets }}|region=eu}} | ||
+ | }}{{ #if: {{ #var: $au_release }} |  | ||
+ | <h3>Australia</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $au_sets }}|region=oc}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $search_categories }} |   | ||
+ | <h2>Search categories</h2> | ||
+ | | [[Category:Cards with no search categories]] | ||
+ | }} | ||
+ | {{Search categories{{ #var: $is_sandbox }} | ||
+ | | monster = {{ #var: $monster }} | ||
+ | | atk = {{{atk|}}} | ||
+ | | def = {{{def|}}} | ||
+ | | monster_type = {{ #var: $non-effect_monster }} | ||
+ | | types = {{{types|}}} | ||
+ | | token = {{ #var: $token }} | ||
+ | | mentions = {{{mentions<includeonly>|</includeonly>}}} | ||
+ | | supports = {{{supports<includeonly>|</includeonly>}}} | ||
+ | | anti-supports = {{{anti-supports<includeonly>|</includeonly>}}} | ||
+ | | archseries = {{{archseries<includeonly>|</includeonly>}}} | ||
+ | | supports_archetypes = {{{supports_archetypes<includeonly>|</includeonly>}}} | ||
+ | | anti-supports_archetypes = {{{anti-supports_archetypes<includeonly>|</includeonly>}}} | ||
+ | | related_to_archseries = {{{related_to_archseries<includeonly>|</includeonly>}}} | ||
+ | | counter = {{{counter<includeonly>|</includeonly>}}} | ||
+ | | action = {{{action<includeonly>|</includeonly>}}} | ||
+ | | stat_change = {{{stat_change<includeonly>|</includeonly>}}} | ||
+ | | m/s/t = {{{m/s/t<includeonly>|</includeonly>}}} | ||
+ | | summoning = {{{summoning<includeonly>|</includeonly>}}} | ||
+ | | attack = {{{attack<includeonly>|</includeonly>}}} | ||
+ | | banished = {{{banished<includeonly>|</includeonly>}}} | ||
+ | | life_points = {{{life_points<includeonly>|</includeonly>}}} | ||
+ | | fm_for = {{{fm_for<includeonly>|</includeonly>}}} | ||
+ | | sm_for = {{{sm_for<includeonly>|</includeonly>}}} | ||
+ | | misc = {{{misc<includeonly>|</includeonly>}}} | ||
+ | }}{{ #if: {{ #var: $is_mentioned }} | | ||
+ | <div class="hlist"> | ||
+ | ; [[Mentions|Mentioned]] by | ||
+ | : {{ #var: $is_mentioned }} | ||
+ | </div> | ||
+ | }}{{ #if: {{ #var: $has_support }} | | ||
+ | <div class="hlist"> | ||
+ | ; [[Support]]ed by | ||
+ | : {{ #var: $has_support }} | ||
+ | </div> | ||
+ | }}{{ #if: {{ #var: $has_anti-support }} | | ||
+ | <div class="hlist"> | ||
+ | ; [[Anti-support]]ed by | ||
+ | : {{ #var: $has_anti-support }} | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $tcg-limitation-history }}{{ #var: $tcg-sd-limitation-history }}{{ #var: $ocg-limitation-history }}{{ #var: $rush-duel-limitation-history }} | | ||
+ | <h2>Limitation history</h2> | ||
+ | <div style="display: flex; flex-wrap: wrap; gap: 1em;"><!-- | ||
+ | -->{{ #if: {{ #var: $tcg-limitation-history }} | <div>{{ #var: $tcg-limitation-history }}</div> }}<!-- | ||
+ | -->{{ #if: {{ #var: $tcg-sd-limitation-history }} | <div>{{ #var: $tcg-sd-limitation-history }}</div> }}<!-- | ||
+ | -->{{ #if: {{ #var: $ocg-limitation-history }} | <div>{{ #var: $ocg-limitation-history }}</div> }}<!-- | ||
+ | -->{{ #if: {{ #var: $rush-duel-limitation-history }} | <div>{{ #var: $rush-duel-limitation-history }}</div> }} | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $other_languages }} |  | ||
+ | <h2>Other languages</h2> | ||
+ | {{Card localizations{{ #var: $is_sandbox }} | ||
+ | | no_lore = {{ #if: {{ #var: $rush_duel_card }} || {{ #var: $no_lore }} }} | ||
+ | | rush_duel_effect_type = {{ #explode: {{{effect_types}}} | , | -1 }} | ||
+ | | fr_name = {{{fr_name<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_name = {{{fr_trans_name<includeonly>|</includeonly>}}} | ||
+ | | fr_skill_activation = {{{fr_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_skill_activation = {{{fr_trans_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | fr_pendulum_effect = {{{fr_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_pendulum_effect = {{{fr_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | fr_materials = {{{fr_materials<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_materials = {{{fr_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | fr_summoning_condition = {{{fr_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_summoning_condition = {{{fr_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | fr_requirement = {{{fr_requirement<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_requirement = {{{fr_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | fr_lore = {{{fr_lore<includeonly>|</includeonly>}}} | ||
+ | | fr_translated_lore = {{{fr_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | de_name = {{{de_name<includeonly>|</includeonly>}}} | ||
+ | | de_translated_name = {{{de_trans_name<includeonly>|</includeonly>}}} | ||
+ | | de_skill_activation = {{{de_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | de_translated_skill_activation = {{{de_trans_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | de_pendulum_effect = {{{de_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | de_translated_pendulum_effect = {{{de_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | de_materials = {{{de_materials<includeonly>|</includeonly>}}} | ||
+ | | de_translated_materials = {{{de_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | de_summoning_condition = {{{de_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | de_translated_summoning_condition = {{{de_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | de_requirement = {{{de_requirement<includeonly>|</includeonly>}}} | ||
+ | | de_translated_requirement = {{{de_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | de_lore = {{{de_lore<includeonly>|</includeonly>}}} | ||
+ | | de_translated_lore = {{{de_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | it_name = {{{it_name<includeonly>|</includeonly>}}} | ||
+ | | it_translated_name = {{{it_trans_name<includeonly>|</includeonly>}}} | ||
+ | | it_skill_activation = {{{it_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | it_translated_skill_activation = {{{it_trans_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | it_pendulum_effect = {{{it_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | it_translated_pendulum_effect = {{{it_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | it_materials = {{{it_materials<includeonly>|</includeonly>}}} | ||
+ | | it_translated_materials = {{{it_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | it_summoning_condition = {{{it_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | it_translated_summoning_condition = {{{it_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | it_requirement = {{{it_requirement<includeonly>|</includeonly>}}} | ||
+ | | it_translated_requirement = {{{it_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | it_lore = {{{it_lore<includeonly>|</includeonly>}}} | ||
+ | | it_translated_lore = {{{it_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | pt_name = {{{pt_name<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_name = {{{pt_trans_name<includeonly>|</includeonly>}}} | ||
+ | | pt_skill_activation = {{{pt_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_skill_activation = {{{pt_trans_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | pt_pendulum_effect = {{{pt_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_pendulum_effect = {{{pt_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | pt_materials = {{{pt_materials<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_materials = {{{pt_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | pt_summoning_condition = {{{pt_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_summoning_condition = {{{pt_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | pt_requirement = {{{pt_requirement<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_requirement = {{{pt_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | pt_lore = {{{pt_lore<includeonly>|</includeonly>}}} | ||
+ | | pt_translated_lore = {{{pt_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | es_name = {{{es_name<includeonly>|</includeonly>}}} | ||
+ | | es_translated_name = {{{es_trans_name<includeonly>|</includeonly>}}} | ||
+ | | es_skill_activation = {{{es_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | es_translated_skill_activation = {{{es_trans_skill_activation<includeonly>|</includeonly>}}} | ||
+ | | es_pendulum_effect = {{{es_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | es_translated_pendulum_effect = {{{es_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | es_materials = {{{es_materials<includeonly>|</includeonly>}}} | ||
+ | | es_translated_materials = {{{es_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | es_summoning_condition = {{{es_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | es_translated_summoning_condition = {{{es_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | es_requirement = {{{es_requirement<includeonly>|</includeonly>}}} | ||
+ | | es_translated_requirement = {{{es_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | es_lore = {{{es_lore<includeonly>|</includeonly>}}} | ||
+ | | es_translated_lore = {{{es_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | ja_name = {{ #var: $ja_name }} | ||
+ | | ja_romanized_name = {{ #var: $romaji_name }} | ||
+ | | ja_translated_name = {{ #var: $ja_trans_name }} | ||
+ | | ja_pendulum_effect = {{{ja_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | ja_translated_pendulum_effect = {{{trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | ja_materials = {{{ja_materials<includeonly>|</includeonly>}}} | ||
+ | | ja_translated_materials = {{{ja_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | ja_summoning_condition = {{{ja_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | ja_translated_summoning_condition = {{{trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | ja_requirement = {{{ja_requirement<includeonly>|</includeonly>}}} | ||
+ | | ja_translated_requirement = {{{trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | ja_lore = {{{ja_lore<includeonly>|</includeonly>}}} | ||
+ | | ja_translated_lore = {{{trans_lore<includeonly>|</includeonly>}}} | ||
+ | | ko_name = {{{ko_name<includeonly>|</includeonly>}}} | ||
+ | | ko_romanized_name = {{{ko_rr_name<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_name = {{{ko_trans_name<includeonly>|</includeonly>}}} | ||
+ | | ko_pendulum_effect = {{{ko_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_pendulum_effect = {{{ko_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | ko_materials = {{{ko_materials<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_materials = {{{ko_trans_materials<includeonly>|</includeonly>}}} | ||
+ | | ko_summoning_condition = {{{ko_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_summoning_condition = {{{ko_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | ko_requirement = {{{ko_requirement<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_requirement = {{{ko_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | ko_lore = {{{ko_lore<includeonly>|</includeonly>}}} | ||
+ | | ko_translated_lore = {{{ko_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | zh_name = {{{zh_name<includeonly>|</includeonly>}}} | ||
+ | | zh_romanized_name = {{{zh_pinyin_name<includeonly>|</includeonly>}}} | ||
+ | | zh_translated_name = {{{zh_trans_name<includeonly>|</includeonly>}}} | ||
+ | | zh_pendulum_effect = {{{zh_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | zh_translated_pendulum_effect = {{{zh_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | zh_lore = {{{zh_lore<includeonly>|</includeonly>}}} | ||
+ | | zh_translated_lore = {{{zh_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | tc_name = {{{tc_name<includeonly>|</includeonly>}}} | ||
+ | | tc_romanized_name = {{{tc_pinyin_name<includeonly>|</includeonly>}}} | ||
+ | | tc_translated_name = {{{tc_trans_name<includeonly>|</includeonly>}}} | ||
+ | | tc_pendulum_effect = {{{tc_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | tc_translated_pendulum_effect = {{{tc_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | tc_lore = {{{tc_lore<includeonly>|</includeonly>}}} | ||
+ | | tc_translated_lore = {{{tc_trans_lore<includeonly>|</includeonly>}}} | ||
+ | | sc_name = {{{sc_name<includeonly>|</includeonly>}}} | ||
+ | | sc_romanized_name = {{{sc_pinyin_name<includeonly>|</includeonly>}}} | ||
+ | | sc_translated_name = {{{sc_trans_name<includeonly>|</includeonly>}}} | ||
+ | | sc_pendulum_effect = {{{sc_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | sc_translated_pendulum_effect = {{{sc_trans_pendulum_effect<includeonly>|</includeonly>}}} | ||
+ | | sc_summoning_condition = {{{sc_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | sc_translated_summoning_condition = {{{sc_trans_summoning_condition<includeonly>|</includeonly>}}} | ||
+ | | sc_requirement = {{{sc_requirement<includeonly>|</includeonly>}}} | ||
+ | | sc_translated_requirement = {{{sc_trans_requirement<includeonly>|</includeonly>}}} | ||
+ | | sc_lore = {{{sc_lore<includeonly>|</includeonly>}}} | ||
+ | | sc_translated_lore = {{{sc_trans_lore<includeonly>|</includeonly>}}} | ||
+ | }}{{ #ifeq: {{{trans_lore|¬}}} | ¬ || [[Category:Card table transclusions using trans_lore]] | ||
+ | }}{{ #if: {{{ko_name|}}} | {{ #if: {{{ko_rr_name|}}} || [[Category:Pages needing a Korean Revised Romanization name]] }} | ||
+ | }}{{ #if: {{{tc_name|}}} | {{ #if: {{{tc_pinyin_name|}}} || [[Category:Pages needing a Traditional Chinese pinyin name]] }} | ||
+ | }}{{ #if: {{{sc_name|}}} | {{ #if: {{{sc_pinyin_name|}}} || [[Category:Pages needing a Simplified Chinese pinyin name]] }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $not-tcg-en }}{{ #var: $rush_duel_card }} |  | ||
+ | <h2>{{ #var: $non-en-sets-heading }}</h2> | ||
+ | {{ #if: {{ #var: $fr_release }} | | ||
+ | <h3>French</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $fr_sets }}|region=fr}} | ||
+ | }}{{ #if: {{ #var: $fc_release }} |   | ||
+ | <h3>French-Canadian</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $fc_sets }}|region=fc}} | ||
+ | }}{{ #if: {{ #var: $de_release }} |   | ||
+ | <h3>German</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $de_sets }}|region=de}} | ||
+ | }}{{ #if: {{ #var: $it_release }} |   | ||
+ | <h3>Italian</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $it_sets }}|region=it}} | ||
+ | }}{{ #if: {{ #var: $pt_release }} |   | ||
+ | <h3>Portuguese</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $pt_sets }}|region=pt}} | ||
+ | }}{{ #if: {{ #var: $sp_release }} |   | ||
+ | <h3>Spanish</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $sp_sets }}|region=sp}} | ||
+ | }}{{ #if: {{ #var: $jp_release }} |   | ||
+ | <h3>Japanese</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $jp_sets }}|region=jp}} | ||
+ | }}{{ #if: {{ #var: $ja_release }} |   | ||
+ | <h3>Japanese Asian</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $ja_sets }}|region=ja}} | ||
+ | }}{{ #if: {{ #var: $ae_release }} |   | ||
+ | <h3>Asian-English</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $ae_sets }}|region=ae}} | ||
+ | }}{{ #if: {{ #var: $kr_release }} |   | ||
+ | <h3>Korean</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $kr_sets }}|region=kr}} | ||
+ | }}{{ #if: {{ #var: $tc_release }} |   | ||
+ | <h3>Traditional Chinese</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $tc_sets }}|region=tc}} | ||
+ | }}{{ #if: {{ #var: $sc_release }} |   | ||
+ | <h3>Simplified Chinese</h3> | ||
+ | {{Card table sets{{ #var: $is_sandbox }}|{{ #var: $sc_sets }}|region=sc}} | ||
}} | }} | ||
− | + | }}<!-- | |
− | + | -->{{ #if: {{ #var: $has_other_media_pages }} |   | |
− | + | <h2>In other media</h2> | |
− | + | <table class="wikitable sortable"> | |
− | + | <tr> | |
− | + | <th scope="col">Page</th> | |
− | + | <th scope="col">Medium</th> | |
− | + | <th scope="col">Debut date</th> | |
− | + | </tr> | |
− | + | <!-- | |
− | + | Sorting by "debut date" will filter out all cards without a debut date, which is not desirable here. | |
− | + | So, there are two queries. One to get cards with debut dates. One to get cards without. | |
− | | | + | We can't query for the absence of a property, so the second will get all results and the template will filter out ones with debut dates. |
− | + | -->{{ #ifeq: {{ #var: $other_pages_with_date_count }} | 0 | |
− | + | || {{ #ask: [[Main card page::{{PAGENAME}}]][[Debut date::+]] | |
− | + | |?Release.English name (linked) = Release | |
− | + | |?Medium | |
− | + | |?Debut date | |
− | + | |?Debut date#ISO = Debut date ISO | |
− | | | + | |mainlabel = Page |
− | + | |format = plain | |
− | + | |template = In other media/row | |
− | + | |named args = true | |
− | + | |sort = Debut date | |
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #ifexpr: {{ #var: $other_pages_count }} - {{ #var: $other_pages_with_date_count }} = 0 | ||
+ | || {{ #ask: [[Main card page::{{PAGENAME}}]] | ||
+ | |?Release.English name (linked) = Release | ||
+ | |?Medium | ||
+ | |?Debut date#ISO = Debut date ISO | ||
+ | |mainlabel = Page | ||
+ | |format = plain | ||
+ | |template = In other media/row | ||
+ | |named args = true | ||
+ | |userparam = no date only | ||
+ | }} | ||
}} | }} | ||
− | }} | + | </table> |
− | {{ #if: {{ #var: $vg }} | <div class="nomobile"><!-- hide all the VG stuff on mobile --> | + | }}<!-- |
− | + | -->{{ #if: {{ #var: $vg }} | <div class="nomobile"> <!-- hide all the VG stuff on mobile --> | |
− | + | <h2>Video games</h2> | |
<table class="wikitable sortable card-list"> | <table class="wikitable sortable card-list"> | ||
− | <tr><th scope="col">Video game</th><th scope="col">Date</th><th scope="col">#</th><th scope="col">Name</th><th scope="col">[[Deck Cost|Cost | + | <tr><th scope="col">Video game</th><th scope="col">Date</th><th scope="col">#</th><th scope="col">Name</th><th scope="col">[[Deck Cost|Cost]]</th><th scope="col">[[Status]]</th></tr><!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{ #if: {{ #var: $vg-ntr }} | | -->{{ #if: {{ #var: $vg-ntr }} | | ||
− | <tr><td>''[[Yu-Gi-Oh! Nightmare Troubadour|Nightmare Troubadour]]''</td><td title="July 21, 2005">2005-07-21</td><td>–</td><td>{{{ntr_name<includeonly>|</includeonly>}}} | + | <tr><td>''[[Yu-Gi-Oh! Nightmare Troubadour|Nightmare Troubadour]]''</td><td title="July 21, 2005">2005-07-21</td><td>–</td><td>{{{ntr_name<includeonly>|</includeonly>}}}{{ #set: NTR name = {{{ntr_name|}}} }}</td><td>–</td><td>Present</td></tr> }}<!-- |
-->{{ #if: {{ #var: $vg-ygo }} | | -->{{ #if: {{ #var: $vg-ygo }} | | ||
− | <tr><td>''[[Yu-Gi-Oh! Online|Online]]''</td><td title="November 4, 2005">2005-11-04 | + | <tr><td>''[[Yu-Gi-Oh! Online|Online]]''</td><td title="November 4, 2005">2005-11-04</td><td>–</td><td>–</td><td>–</td><td>Present</td></tr> }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{ #if: {{ #var: $vg-gx03 }} | | -->{{ #if: {{ #var: $vg-gx03 }} | | ||
− | <tr><td>''[[Yu-Gi-Oh! GX Spirit Caller|GX Spirit Caller]]''</td><td title="November 30, 2006">2006-11-30</td><td>–</td><td>{{{gx03_name<includeonly>|</includeonly>}}} | + | <tr><td>''[[Yu-Gi-Oh! GX Spirit Caller|GX Spirit Caller]]''</td><td title="November 30, 2006">2006-11-30</td><td>–</td><td>{{{gx03_name<includeonly>|</includeonly>}}}{{ #set: GX03 name = {{{gx03_name|}}} }}</td><td>–</td><td>[[{{ #var: $gx03_status | Unlimited }}]]{{ #set: GX03 Status = {{ #var: $gx03_status | Unlimited }} }}</td></tr> }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{ #if: {{ #var: $vg-dar }} | | -->{{ #if: {{ #var: $vg-dar }} | | ||
− | <tr><td>''[[Yu-Gi-Oh! Duel Arena|Duel Arena]]''</td><td title="June 26, 2014">2014-06-26 | + | <tr><td>''[[Yu-Gi-Oh! Duel Arena|Duel Arena]]''</td><td title="June 26, 2014">2014-06-26</td><td>–</td><td>–</td><td>–</td><td>Present</td></tr> }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</table> | </table> | ||
− | {{ #if: {{{ | + | {{ #if: {{{ntr_sets<includeonly>|</includeonly>}}}{{{ygo_lore|}}}{{{ygo_sets|}}}{{{gx03_sets|}}}{{{dar_lore|}}}{{ #var: $vg-sets }} | |
− | + | <h3>Lores and sets</h3> | |
<table class="wikitable sortable card-list"> | <table class="wikitable sortable card-list"> | ||
<tr><th scope="col">Video game</th><th scope="col">Lore</th><th scope="col">Sets</th></tr><!-- | <tr><th scope="col">Video game</th><th scope="col">Lore</th><th scope="col">Sets</th></tr><!-- | ||
− | -->{{ #if: {{{ | + | -->{{ #if: {{{ntr_sets<includeonly>|</includeonly>}}} | |
− | + | <tr><td>''[[Yu-Gi-Oh! Nightmare Troubadour|Nightmare Troubadour]]''</td><td></td><td>{{{ntr_sets<includeonly>|</includeonly>}}}</td></tr> }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <tr><td>''[[Yu-Gi-Oh! Nightmare Troubadour|Nightmare Troubadour]]''</td><td> | ||
-->{{ #if: {{{ygo_lore<includeonly>|</includeonly>}}}{{{ygo_sets|}}} | | -->{{ #if: {{{ygo_lore<includeonly>|</includeonly>}}}{{{ygo_sets|}}} | | ||
<tr><td>''[[Yu-Gi-Oh! Online|Online]]''</td><td>{{{ygo_lore<includeonly>|</includeonly>}}}</td><td>{{{ygo_sets<includeonly>|</includeonly>}}}</td></tr> }}<!-- | <tr><td>''[[Yu-Gi-Oh! Online|Online]]''</td><td>{{{ygo_lore<includeonly>|</includeonly>}}}</td><td>{{{ygo_sets<includeonly>|</includeonly>}}}</td></tr> }}<!-- | ||
− | -->{{ #if: {{{ | + | -->{{ #if: {{{gx03_sets<includeonly>|</includeonly>}}} | |
− | + | <tr><td>''[[Yu-Gi-Oh! GX Spirit Caller|GX Spirit Caller]]''</td><td></td><td>{{{gx03_sets<includeonly>|</includeonly>}}}</td></tr> }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | <tr><td>''[[Yu-Gi-Oh! GX Spirit Caller|GX Spirit Caller]]''</td><td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{ #if: {{{dar_lore<includeonly>|</includeonly>}}} | | -->{{ #if: {{{dar_lore<includeonly>|</includeonly>}}} | | ||
<tr><td>''[[Yu-Gi-Oh! Duel Arena|Duel Arena]]''</td><td>{{{dar_lore<includeonly>|</includeonly>}}}</td><td></td></tr> }} | <tr><td>''[[Yu-Gi-Oh! Duel Arena|Duel Arena]]''</td><td>{{{dar_lore<includeonly>|</includeonly>}}}</td><td></td></tr> }} | ||
</table> | </table> | ||
}} | }} | ||
− | </div>}}<includeonly>{{Card navigation}}{{ #if: {{ | + | </div>}}<includeonly>{{Card navigation{{ #var: $is_sandbox }}}}<!-- |
− | + | -->{{ #if: {{ #var: $smw }} | <!-- | |
− | + | -->{{ #arraydefine: @archseries | {{{archseries|}}} | * | unique, sort=asc }}<!-- | |
− | {{ | + | -->{{ #arraydefine: @supports_archetypes | {{{supports_archetypes|}}} | * | unique, sort=asc }}<!-- |
− | }}}} | + | -->{{ #arraydefine: @anti-supports_archetypes | {{{anti-supports_archetypes|}}} | * | unique, sort=asc }}<!-- |
− | }}{{ #if: {{ #var: $counter }} | {{Counters}} | + | -->{{ #arraydefine: @related_to_archseries | {{{related_to_archseries|}}} | * | unique, sort=asc }}<!-- |
− | }}{{ #if: {{ #var: $token }} | {{Tokens}} | + | -->{{ #arrayunion: @archetype-support | @supports_archetypes | @anti-supports_archetypes }}<!-- |
+ | -->{{ #arraydiff: @archetype-support | @archetype-support | @archseries }}<!-- | ||
+ | -->{{ #arraydiff: @related_to_archseries | @related_to_archseries | @archseries | @archetype-support }}<!-- | ||
+ | -->{{ #arraysort: @archetype-support | asc }}<!-- | ||
+ | -->{{ #arrayprint: @archseries || $archseries | | ||
+ | {{ {{ #if: {{ #var: $rush_duel_card }} | Archseries navbox (Rush Duel) | Archseries navbox }}{{ #var: $is_sandbox }}|$archseries | ||
+ | | member = {{ #arraysearch: @archseries | $archseries }} | ||
+ | | support = {{ #arraysearch: @supports_archetypes | $archseries }} | ||
+ | | anti-support = {{ #arraysearch: @anti-supports_archetypes | $archseries }} | ||
+ | }} | ||
+ | }}<!-- arrayprint | ||
+ | -->{{ #arrayprint: @archetype-support || $archetype | | ||
+ | {{ {{ #if: {{ #var: $rush_duel_card }} | Archseries navbox (Rush Duel) | Archseries navbox }}{{ #var: $is_sandbox }}|$archetype | ||
+ | | support = {{ #arraysearch: @supports_archetypes | $archetype }} | ||
+ | | anti-support = {{ #arraysearch: @anti-supports_archetypes | $archetype }} | ||
+ | | related = {{ #arraysearch: @related_to_archseries | $archseries }} | ||
+ | }} | ||
+ | }}<!-- arrayprint | ||
+ | -->{{ #arrayprint: @related_to_archseries || $archseries | | ||
+ | {{ {{ #if: {{ #var: $rush_duel_card }} | Archseries navbox (Rush Duel) | Archseries navbox }}{{ #var: $is_sandbox }}|$archseries|related=1}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $counter }} | {{Counters}} | ||
+ | }}{{ #if: {{ #var: $token }} | {{Tokens}} | ||
+ | }}{{ #if: {{ #var: $skill }} | {{Skill Cards}} | ||
}}<!-- | }}<!-- | ||
− | |||
end the actual template content - from here on out, it's all categories, interwikis, and SMW | end the actual template content - from here on out, it's all categories, interwikis, and SMW | ||
− | |||
--><!-- | --><!-- | ||
− | + | open sandbox check | |
− | + | -->{{ #if: {{ #var: $is_sandbox }} | [[Category:Sandbox pages]] |<!-- | |
− | + | categories | |
− | -->{{ # | + | -->{{ #if: {{{image|}}}{{{image2|}}} |
− | + | || [[Category:Cards that need an image]] | |
− | | | + | }}{{ #if: {{ #var: $non-game }} |
− | + | | [[Category:Unusable cards]]{{ #switch: {{ #var: $non-game }} | |
− | | | + | | Checklist = [[Category:Card checklist]] |
− | + | | Strategy = [[Category:Strategy cards]] | |
− | + | | Tip = [[Category:Tip cards]] | |
− | + | }} | |
+ | | {{ #if: {{ #var: $token-counter }} | ||
+ | | {{ #if: {{ #var: $token }} | [[Category:Tokens]] | ||
+ | }}{{ #if: {{ #var: $counter }} | [[Category:Counters]] | ||
}} | }} | ||
− | + | | {{ #if: {{ #var: $skill }} | |
− | + | | [[Category:Skill Cards]] | |
− | | | + | | {{ #if: {{ #var: $ocg-tcg }} |
− | | | + | | [[Category:Duel Monsters cards]] |
− | + | | {{ #if: {{ #var: $rush_duel_card }} | |
− | + | || [[Category:Miscellaneous video game cards]] | |
+ | }} | ||
}} | }} | ||
}} | }} | ||
+ | }}{{ #if: {{ #var: $tcg }} | ||
+ | | [[Category:TCG cards]] | ||
+ | }}{{ #if: {{ #var: $ocg }} | ||
+ | | [[Category:OCG cards]] | ||
+ | }}{{ #if: {{{tcg_speed_duel_status|}}} | ||
+ | | [[Category:TCG Speed Duel cards]] | ||
+ | }}{{ #if: {{ #var: $rush_duel_card }} | ||
+ | | [[Category:Rush Duel cards]] | ||
+ | }}{{ #if: {{ #var: $has_other_media_pages }}{{ #var: $rush_duel_card }} | ||
+ | || {{ #if: {{ #var: $ocg-tcg }} | [[Category:OCG/TCG cards without other appearances]] }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
− | + | -->{{ #if: {{ #var: $artwork_switcher-has_alternate_artwork }}{{ #var: $artwork_switcher-has_named_artwork }} | |
− | + | | {{ #if: {{ #var: $rush_duel_card }} | |
− | + | | [[Category:Rush Duel cards with alternate artworks]] | |
− | -->{{ #if: | + | | [[Category:OCG/TCG cards with alternate artworks]] |
− | |||
− | |||
− | |||
− | |||
− | | [[Category: | ||
− | |||
− | |||
}} | }} | ||
− | + | }}<!-- | |
− | + | -->{{ #if: {{ #var: $artwork_switcher-has_edited_artwork }} | |
− | + | | {{ #if: {{ #var: $rush_duel_card }} | |
− | + | | [[Category:Rush Duel cards with edited artworks]] | |
+ | | [[Category:OCG/TCG cards with edited artworks]] | ||
}} | }} | ||
− | }}{{ #if: {{ #var: $tcg- | + | }}<!-- |
− | | {{ #if: {{{fr_name|}}} || [[Category: | + | -->{{ #vardefine: $non-game_string | {{ #if: {{ #var: $non-game }} | Non-game cards | Cards }} }}<!-- |
− | }}{{ #if: {{{fr_lore|}}} || [[Category:Cards with a French release needing a French lore]] }} | + | -->{{ #if: {{ #var: $tcg-en }} |
+ | | {{ #if: {{ #var: $skill }} | {{ #if: {{{skill_activation|}}} || [[Category:Skill Cards with an English release needing an English Skill activation]] }} }} | ||
+ | }}{{ #if: {{ #var: $fr_release }} | ||
+ | | {{ #if: {{{fr_name|}}} || [[Category:{{ #var: $non-game_string }} with a French release needing a French name]] | ||
+ | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{fr_lore|}}} || [[Category:{{ #var: $non-game_string }} with a French release needing a French lore]] }} | ||
+ | }}{{ #if: {{ #var: $skill }} | {{ #if: {{{fr_skill_activation|}}} || [[Category:Skill Cards with a French release needing a French Skill activation]] }} }} | ||
+ | | {{ #if: {{{fr_name|}}} | [[Category:Cards with a French name but no listed French release]] }}{{ #if: {{{fr_lore|}}} | [[Category:Cards with a French lore but no listed French release]] }} | ||
}}{{ #if: {{ #var: $de_release }} | }}{{ #if: {{ #var: $de_release }} | ||
− | | {{ #if: {{{de_name|}}} || [[Category: | + | | {{ #if: {{{de_name|}}} || [[Category:{{ #var: $non-game_string }} with a German release needing a German name]] |
− | }}{{ #if: {{{de_lore|}}} || [[Category:Cards with a German release needing a German lore]] }} | + | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{de_lore|}}} || [[Category:{{ #var: $non-game_string }} with a German release needing a German lore]] }} |
+ | }}{{ #if: {{ #var: $skill }} | {{ #if: {{{de_skill_activation|}}} || [[Category:Skill Cards with a German release needing a German Skill activation]] }} }} | ||
+ | | {{ #if: {{{de_name|}}} | [[Category:Cards with a German name but no listed German release]] }}{{ #if: {{{de_lore|}}} | [[Category:Cards with a German lore but no listed German release]] }} | ||
}}{{ #if: {{ #var: $it_release }} | }}{{ #if: {{ #var: $it_release }} | ||
− | | {{ #if: {{{it_name|}}} || [[Category: | + | | {{ #if: {{{it_name|}}} || [[Category:{{ #var: $non-game_string }} with an Italian release needing an Italian name]] |
− | }}{{ #if: {{{it_lore|}}} || [[Category:Cards with an Italian release needing an Italian lore]] }} | + | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{it_lore|}}} || [[Category:{{ #var: $non-game_string }} with an Italian release needing an Italian lore]] }} |
+ | }}{{ #if: {{ #var: $skill }} | {{ #if: {{{it_skill_activation|}}} || [[Category:Skill Cards with an Italian release needing an Italian Skill activation]] }} }} | ||
+ | | {{ #if: {{{it_name|}}} | [[Category:Cards with an Italian name but no listed Italian release]] }}{{ #if: {{{it_lore|}}} | [[Category:Cards with an Italian lore but no listed Italian release]] }} | ||
+ | }}{{ #if: {{ #var: $pt_release }} | ||
+ | | {{ #if: {{{pt_name|}}} || [[Category:{{ #var: $non-game_string }} with a Portuguese release needing a Portuguese name]] | ||
+ | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{pt_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Portuguese release needing a Portuguese lore]] }} | ||
+ | }}{{ #if: {{ #var: $skill }} | {{ #if: {{{pt_skill_activation|}}} || [[Category:Skill Cards with a Portuguese release needing a Portuguese Skill activation]] }} }} | ||
+ | | {{ #if: {{{pt_name|}}} | [[Category:Cards with a Portuguese name but no listed Portuguese release]] }}{{ #if: {{{pt_lore|}}} | [[Category:Cards with a Portuguese lore but no listed Portuguese release]] }} | ||
+ | }}{{ #if: {{ #var: $sp_release }} | ||
+ | | {{ #if: {{{es_name|}}} || [[Category:{{ #var: $non-game_string }} with a Spanish release needing a Spanish name]] | ||
+ | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{es_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Spanish release needing a Spanish lore]] }} | ||
+ | }}{{ #if: {{ #var: $skill }} | {{ #if: {{{es_skill_activation|}}} || [[Category:Skill Cards with a Spanish release needing a Spanish Skill activation]] }} }} | ||
+ | | {{ #if: {{{es_name|}}} | [[Category:Cards with a Spanish name but no listed Spanish release]] }}{{ #if: {{{es_lore|}}} | [[Category:Cards with a Spanish lore but no listed Spanish release]] }} | ||
}}{{ #if: {{ #var: $ocg-jp }} | }}{{ #if: {{ #var: $ocg-jp }} | ||
− | | {{ #if: {{ | + | | {{ #if: {{ #var: $ja_name }} || [[Category:{{ #var: $non-game_string }} with a Japanese release needing a Japanese name]] |
− | }}{{ #if: {{{ja_lore|}}} || [[Category:Cards with a Japanese release | + | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{ja_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Japanese release needing a Japanese lore]] }} |
+ | }} | ||
+ | | {{ #if: {{ #var: $ja_name }} | [[Category:Cards with a Japanese name but no listed Japanese release]] }}{{ #if: {{{ja_lore|}}} | [[Category:Cards with a Japanese lore but no listed Japanese release]] }} | ||
}}{{ #if: {{ #var: $kr_release }} | }}{{ #if: {{ #var: $kr_release }} | ||
− | | {{ #if: {{{ko_name|}}} || [[Category: | + | | {{ #if: {{{ko_name|}}} || [[Category:{{ #var: $non-game_string }} with a Korean release needing a Korean name]] |
− | + | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{ko_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Korean release needing a Korean lore]] }} | |
− | }}{{ #if: {{ #var: $ | + | }} |
− | + | | {{ #if: {{{ko_name|}}} | [[Category:Cards with a Korean name but no listed Korean release]] }}{{ #if: {{{ko_lore|}}} | [[Category:Cards with a Korean lore but no listed Korean release]] }} | |
− | |||
− | |||
− | | {{ #if: {{{ | ||
− | |||
}}{{ #if: {{ #var: $tc_release }} | }}{{ #if: {{ #var: $tc_release }} | ||
− | | {{ #if: {{{ | + | | {{ #if: {{{tc_name|}}} || [[Category:{{ #var: $non-game_string }} with a Traditional Chinese release needing a Traditional Chinese name]] |
− | }}{{ #if: {{{ | + | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{tc_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Traditional Chinese release needing a Traditional Chinese lore]] }} |
+ | }} | ||
+ | | {{ #if: {{{tc_name|}}} | [[Category:Cards with a Traditional Chinese name but no listed Traditional Chinese release]] }}{{ #if: {{{tc_lore|}}} | [[Category:Cards with a Traditional Chinese lore but no listed Traditional Chinese release]] }} | ||
+ | }}{{ #if: {{ #var: $sc_release }} | ||
+ | | {{ #if: {{{sc_name|}}} || [[Category:{{ #var: $non-game_string }} with a Simplified Chinese release needing a Simplified Chinese name]] | ||
+ | }}{{ #if: {{ #var: $no_lore }} || {{ #if: {{{sc_lore|}}} || [[Category:{{ #var: $non-game_string }} with a Simplified Chinese release needing a Simplified Chinese lore]] }} | ||
+ | }} | ||
+ | | {{ #if: {{{sc_name|}}} | [[Category:Cards with a Simplified Chinese name but no listed Simplified Chinese release]] }}{{ #if: {{{sc_lore|}}} | [[Category:Cards with a Simplified Chinese lore but no listed Simplified Chinese release]] }} | ||
+ | }}{{ #if: {{ #var: $rush_duel_card }} | ||
+ | | {{ #if: {{ #var: $ocg-jp }} || [[Category:Rush Duel cards without a listed Japanese release]] | ||
+ | }}{{ #if: {{ #var: $kr_release }} || [[Category:Rush Duel cards without a listed Korean release]] | ||
+ | }} | ||
+ | | {{ #if: {{ #var: $ocg-tcg }} | ||
+ | | {{ #if: {{ #var: $ocg }} | ||
+ | | {{ #if: {{ #var: $ocg-jp }} || [[Category:OCG cards without a listed Japanese release]] | ||
+ | }}{{ #if: {{ #var: $kr_release }} || [[Category:OCG cards without a listed Korean release]] | ||
+ | }}{{ #if: {{ #var: $tc_release }} || [[Category:OCG cards without a listed Traditional Chinese release]] | ||
+ | }}{{ #if: {{ #var: $sc_release }} || [[Category:OCG cards without a listed Simplified Chinese release]] | ||
+ | }} | ||
+ | }}{{ #if: {{ #var: $tcg }} | ||
+ | | {{ #if: {{ #var: $tcg-en }} || [[Category:TCG cards without a listed English release]] | ||
+ | }}{{ #if: {{ #var: $fr_release }} || [[Category:TCG cards without a listed French release]] | ||
+ | }}{{ #if: {{ #var: $de_release }} || [[Category:TCG cards without a listed German release]] | ||
+ | }}{{ #if: {{ #var: $it_release }} || [[Category:TCG cards without a listed Italian release]] | ||
+ | }}{{ #if: {{ #var: $pt_release }} || [[Category:TCG cards without a listed Portuguese release]] | ||
+ | }}{{ #if: {{ #var: $sp_release }} || [[Category:TCG cards without a listed Spanish release]] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $type }} | {{ #if: {{ #var: $valid_type }} || [[Category:CardTable2 transclusions with interesting Types]] }} }}<!-- | ||
+ | -->{{ #if: {{ #arrayindex: $ability | 1 }} | [[Category:Monsters with multiple abilities]] }}<!-- | ||
+ | -->{{ #if: {{{level|}}} | ||
+ | | {{ #ifeq: {{ #var: $level-rank }} | Rank | [[Category:Xyz Monsters using (((level)))]] }} | ||
+ | }}{{ #if: {{{rank|}}} | ||
+ | | {{ #ifeq: {{ #var: $level-rank }} | Level | [[Category:Non-Xyz Monsters using (((rank)))]] }} | ||
}}<!-- | }}<!-- | ||
− | + | -->{{ #if: {{ #var: $vg }} | |
− | + | | [[Category:((CardTable2)) transclusions with video game parameters]]{{ #if: {{ #var: $ocg-tcg }} | |
− | + | || [[Category:Video game cards with no OCG/TCG counterpart]] | |
− | -->{{ | + | }} |
− | + | }}{{ #if: {{ #var: $ocg-tcg }} | |
− | + | | {{ #if: {{ #var: $non-game }}{{{password|}}}{{ #var: $limitation_text }}{{ #var: $skill }} | |
− | | [[ | + | || [[Category:Cards needing a password]] |
− | + | }} | |
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $effect_monster }}{{ #var: $card_type }}{{ #var: $rush_duel_card }} | ||
+ | | {{ #if: {{ #var: $non-game }}{{ #var: $counter }}{{ #var: $skill }}{{{effect_types|}}}{{{pendulum_effect_types|}}} | ||
+ | || [[Category:Cards needing effect_types]] | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{{requirement|}}} | ||
+ | | {{ #if: {{ #explode: {{{effect_types}}} | , | 2 }} | ||
+ | | [[Category:Rush Duel cards with too many effect_types]] | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $no_lore }} | {{ #if: {{ #var: $token-counter }} || [[Category:Cards printed without a lore]] }} }}<!-- | ||
+ | -->{{ #if: {{{ocg_status|}}}{{{tcg_status|}}}{{{tcg_speed_duel_status|}}} | ||
+ | | [[Category:Cards with a manual status]]<!-- | ||
+ | -->{{ #if: {{ #var: $non-game }} | ||
+ | | [[Category:((CardTable2)) transclusions with an unnecessary status parameter]] | ||
+ | }} | ||
+ | | {{ #ifeq: {{{ocg_status|¬}}}{{{tcg_status|¬}}}{{{tcg_speed_duel_status|¬}}} | ¬¬¬ | ||
+ | || [[Category:((CardTable2)) transclusions with an unnecessary status parameter]] | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $ocg }} | ||
+ | | {{ #if: {{ #var: $token-counter }}{{ #var: $limitation_text }} | ||
+ | | {{ #if: {{{ocg_status|}}} | ||
+ | | [[Category:((CardTable2)) transclusions with an unnecessary OCG status]]<!-- auto-assigned --> | ||
+ | }} | ||
+ | | {{ #if: {{ #var: $non-game }} | ||
+ | | {{ #ifeq: {{{ocg_status}}} | Legal | ||
+ | || {{ #if: {{{ocg_status|}}} | ||
+ | | [[Category:((CardTable2)) transclusions with an unnecessary OCG status]]<!-- "Legal" is the only valid status for nongame cards --> | ||
+ | }} | ||
+ | }} | ||
+ | | {{ #switch: {{{ocg_status|}}} | ||
+ | | Not yet released | Semi-Limited | Limited | Forbidden | Legal | Illegal | Not yet legal | Not legal | = | ||
+ | | #default = [[Category:((CardTable2)) transclusions with an unknown OCG status]]<!-- unrecognized value --> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | | {{ #if: {{{ocg_status|}}} | ||
+ | | {{ #ifeq: {{{ocg_status}}} | Not yet released | ||
+ | || [[Category:((CardTable2)) transclusions with an unnecessary OCG status]] | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #var: $tcg }} | ||
+ | | {{ #if: {{ #var: $token-counter }}{{ #var: $skill }}{{ #var: $limitation_text }} | ||
+ | | {{ #if: {{{tcg_status|}}} | ||
+ | | [[Category:((CardTable2)) transclusions with an unnecessary TCG status]]<!-- auto-assigned --> | ||
+ | }} | ||
+ | | {{ #if: {{ #var: $non-game }} | ||
+ | | {{ #ifeq: {{{tcg_status}}} | Legal | ||
+ | || {{ #if: {{{tcg_status|}}}{{{tcg_speed_duel_status|}}} | ||
+ | | [[Category:((CardTable2)) transclusions with an unnecessary TCG status]]<!-- "Legal" is the only valid status for nongame cards --> | ||
+ | }} | ||
}} | }} | ||
− | + | | {{ #switch: {{{tcg_status|}}} | |
− | + | | Not yet released | Semi-Limited | Limited | Forbidden | Legal | Illegal | Not yet legal | Not legal | = | |
+ | | #default = [[Category:((CardTable2)) transclusions with an unknown TCG status]]<!-- unrecognized value --> | ||
}} | }} | ||
}} | }} | ||
− | }} | + | }}<!-- |
− | + | -->{{ #switch: {{{tcg_speed_duel_status|}}} | |
− | + | | Not yet released | Unlimited | Limited 3 | Limited 2 | Limited 1 | Semi-Limited | Limited | Forbidden | Legal | Illegal | Not yet legal | Not legal | = | |
− | + | | #default = [[Category:((CardTable2)) transclusions with an unknown TCG status]]<!-- unrecognized value --> | |
− | + | }} | |
− | + | | {{ #if: {{{tcg_status|}}} | |
− | + | | {{ #ifeq: {{{tcg_status}}} | Not yet released | |
− | + | || [[Category:((CardTable2)) transclusions with an unnecessary TCG status]] | |
− | + | }} | |
− | + | }}<!-- | |
− | }} | + | -->{{ #if: {{{tcg_speed_duel_status|}}} |
− | + | | [[Category:((CardTable2)) transclusions with an unnecessary TCG status]] | |
− | + | }} | |
− | + | }}<!-- | |
− | + | -->{{ #if: {{ #var: $assumed_color }} | [[Category:Colors assumed without using the Type string]] }}<!-- | |
− | + | -->{{ #if: {{ #var: $colorless }} | [[Category:Card pages with no color class]] }}<!-- | |
− | + | -->{{ #ifeq: {{{cardclass|¬}}} | ¬ || [[Category:CardTable2 parameter tracking (cardclass)]] }}<!-- | |
− | }} | + | SMW |
− | + | -->{{ #if: {{ #var: $smw }} | |
− | + | | {{ #set: Page type = Card page }}{{ #if: {{ #var: $non-game }} | |
− | }} | + | || {{ #if: {{ #var: $ocg-tcg }} |
− | + | | {{ #if: {{ #var: $tcg }} | |
− | + | | {{ #set: Medium = TCG }}{{ #set: Release = Yu-Gi-Oh! Trading Card Game }}{{ #if: {{ #var: $ocg }} | |
− | + | | {{ #set: Medium = OCG }}{{ #set: Release = Yu-Gi-Oh! Official Card Game }} | |
− | + | | {{ #set: Medium = TCG-only }} | |
− | + | }} | |
− | + | | {{ #if: {{ #var: $ocg }} | |
− | + | | {{ #set: Medium = OCG }}{{ #set: Release = Yu-Gi-Oh! Official Card Game }}{{ #set: Medium = OCG-only }}<!-- can't see how to do this without repeating *something* --> | |
− | + | }}<!-- #var: $ocg --> | |
− | + | }}<!-- #var: $tcg --> | |
− | + | | {{ #if: {{ #var: $official_token }}<!-- gonna have to redo this properly --> | |
− | + | | {{ #set: Medium = OCG }}{{ #set: Medium = TCG }} | |
− | + | }}{{ #if: {{ #var: $rush_duel_card }} | {{ #set: Medium = Rush Duel }}{{ #set: Release = Yu-Gi-Oh! Rush Duel }} }} | |
− | + | }}<!-- #var: $ocg-tcg --> | |
− | + | }}<!-- #var: $non-game | |
− | + | -->{{ #set: Debut date = {{ #var: $debut_date }} }}<!-- | |
− | + | -->{{ #set: TCG debut date = {{ #var: $tcg_debut_date }} }}<!-- | |
− | + | -->{{ #set: TCG Speed Duel debut date = {{ #var: $tcg_sd_debut_date }} }}<!-- | |
− | + | -->{{ #set: OCG debut date = {{ #var: $ocg_debut_date }} }}<!-- | |
− | + | -->{{ #set: Types = {{{types|}}} }}<!-- store the unaltered type string | |
− | + | -->{{ #switch: {{ #arrayindex: $types | 1 }} | |
− | + | | Effect | Fusion | Ritual | Synchro | Xyz | Maximum | |
− | + | | Link = {{ #set: Primary type = {{ #arrayindex: $types | 1 }} Monster }}{{ #vardefine: $not-Normal | 1 }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | Effect | Fusion | Ritual | Synchro | | ||
− | | Link | ||
| Normal | | Normal | ||
− | | Pendulum | + | | Pendulum = {{ #set: Primary type = {{ #arrayindex: $types | 1 }} Monster }} |
− | | Spirit | + | | Toon | Spirit | Union | Gemini | Flip |
− | | Tuner | + | | Tuner = {{ #set: Secondary type = {{ #arrayindex: $types | 1 }} monster }}{{ #if: {{ #var: $not-Normal }} |<!-- Not a Normal Monster. -->| {{ #set: Primary type = {{ #if: {{ #var: $effect_monster }} | Effect | Normal }} Monster }} }} |
− | }}{{ #switch: {{ | + | }}{{ #switch: {{ #arrayindex: $types | 2 }} |
− | + | | Spirit | Flip | Tuner = {{ #set: Secondary type = {{ #arrayindex: $types | 2 }} monster }}{{ #if: {{ #var: $not-Normal }} |<!-- Not a Normal Monster. -->| {{ #set: Primary type = {{ #if: {{ #var: $effect_monster }} | Effect | Normal }} Monster }} }} | |
− | }}{{ #if: {{ #var: $ | + | }}{{ #if: {{ #var: $token }} |
− | | {{ #if: {{ #var: $effect_monster }}{{ | + | | {{ #set: Primary type = Monster Token }} |
− | + | }}{{ #if: {{ #var: $monster }} | |
+ | | {{ #if: {{ #var: $effect_monster }}{{ #arrayindex: $types | 1 }}{{ #ifeq: {{ #var: $attribute }} | DIVINE | 1 }} | ||
+ | || {{ #set: Primary type = Normal Monster }} | ||
}} | }} | ||
− | + | }}<!--Temporary solution | |
− | }}<!--Temporary solution | ||
-->{{ #if: {{ #var: $pendulum_monster }} | -->{{ #if: {{ #var: $pendulum_monster }} | ||
− | | | + | | {{ #set: Primary type = Pendulum Monster }}<!-- |
-->{{ #if: {{ #var: $non-effect_monster }} | -->{{ #if: {{ #var: $non-effect_monster }} | ||
| <!-- It isn't a Normal Monster. But can have an Effect: | | <!-- It isn't a Normal Monster. But can have an Effect: | ||
− | -->{{ #if: {{ #var: $effect_monster }} | | + | -->{{ #if: {{ #var: $effect_monster }} | {{ #set: Primary type = Effect Monster }} }} |
− | | | + | | {{ #set: Primary type = {{ #if: {{ #var: $effect_monster }} | Effect | Normal }} Monster }} |
}} | }} | ||
− | | {{ #if: {{ #var: $effect_monster }} | | + | | {{ #if: {{ #var: $effect_monster }} | {{ #set: Primary type = Effect Monster }} }} |
}}<!-- Define in which Deck it belongs (Extra/Main): | }}<!-- Define in which Deck it belongs (Extra/Main): | ||
− | -->{{ #if: {{ #var: $token-counter }} | + | -->{{ #if: {{ #var: $token-counter }}{{ #var: $skill }}{{ #var: $non-game }} |
− | | <!-- If it's a Token/Counter, don't store. --> | + | | <!-- If it's a Token/Counter/Skill/unusable card, don't store. --> |
− | | | + | | {{ #set: Belongs to = {{ #var: $extra/main_deck }} }} |
− | + | }}{{ #set: Card image name = {{Card image name|{{ #var: $pagename }}}} }}<!-- | |
− | + | -->{{ #arraydefine: @fusion_materials | {{{fusion_material|}}} | * | unique }}<!-- | |
+ | -->{{ #arrayprint: @fusion_materials || $material | {{ #set: Fusion Material = $material }} }}<!-- | ||
+ | -->{{ #arraydefine: @synchro_materials | {{{synchro_material|}}} | * | unique }}<!-- | ||
+ | -->{{ #arrayprint: @synchro_materials || $material | {{ #set: Synchro Material = $material }} }}<!-- | ||
+ | -->{{ #set: Materials = {{Delink|{{ #if: {{{material|}}} | {{{material}}} | {{{materials|}}} }} }} }}<!-- | ||
+ | -->{{ #set: Limitation text = {{ #var: $limitation_text }} }}<!-- | ||
+ | -->{{ #set: OCG status = {{ #var: $ocg_status }} }}<!-- | ||
+ | -->{{ #set: TCG status = {{ #var: $tcg_status }} }}<!-- | ||
+ | -->{{ #set: TCG Speed Duel status = {{ #var: $tcg_sd_status }} }}<!-- | ||
+ | -->{{ #set: Rush Duel status = {{ #var: $rush_duel_status }} }} | ||
+ | }}<!-- #var: $smw | ||
end SMW | end SMW | ||
− | |||
--><!-- | --><!-- | ||
− | + | close sandbox check | |
− | + | -->}}</includeonly><!-- | |
− | + | Split out to separate card tables | |
− | -- ><includeonly><!-- | + | --><includeonly>{{ #ifeq: {{{dar_lore|¬}}}{{ #if: {{ #var: $has_multiple_artworks }} | ¬ | {{ #if: {{ #pos: {{{image}}} | DAR-EN-VG }} || ¬ }} }} | ¬¬ |
− | -- >{{ #if: {{{ | + | || [[Category:((CardTable2)) transclusions with Duel Arena parameters]] |
− | | [[Category:((CardTable2)) transclusions with | + | }}{{ #ifeq: {{{gx03_name|¬}}}{{{gx03_sets|¬}}}{{{gx03_status|¬}}}{{{gx03_dp|¬}}} | ¬¬¬¬ |
− | + | || [[Category:((CardTable2)) transclusions with Spirit Caller parameters]] | |
− | + | }}{{ #ifeq: {{{ntr_name|¬}}}{{{ntr_sets|¬}}} | |
− | + | | ¬¬ | |
+ | || [[Category:((CardTable2)) transclusions with Nightmare Troubadour parameters]] | ||
+ | }}{{ #ifeq: {{{ygo_lore|¬}}}{{{ygo_sets|¬}}} | ||
+ | | ¬¬ | ||
+ | || [[Category:((CardTable2)) transclusions with Online parameters]] | ||
}}</includeonly><!-- | }}</includeonly><!-- | ||
− | + | check for unknown parameters | |
− | + | -->{{ #invoke: check for unknown parameters | check | |
− | + | | unknown = [[Category:((CardTable2)) transclusions using unknown parameters]] | |
− | + | | showblankpositional = 1 | |
− | -->{{ # | + | | preview = unknown <nowiki>{{CardTable2}}</nowiki> parameter "_VALUE_" |
− | + | | sandbox | cardclass | |
− | + | | main | name | fr_name | fr_trans_name | de_name | de_trans_name | it_name | it_trans_name | pt_name | pt_trans_name | es_name | es_trans_name | ja_name | romaji_name | trans_name | base_romaji_name | base_trans_name | ko_name | ko_rr_name | ko_trans_name | zh_name | zh_pinyin_name | zh_trans_name | tc_name | tc_pinyin_name | tc_trans_name | sc_name | sc_pinyin_name | sc_trans_name | |
− | + | | image | current_image | image2 | |
− | + | | alt_name | ja_alt_name | ja_alt_romaji | ja_alt_trans | |
− | + | | rush_duel | continuous_effect | |
− | + | | card_type | types | property | attribute | level | rank | link_arrows | atk | def | pendulum_scale | maximum_atk | password | limitation_text | |
− | + | | character | |
− | + | | ritualcard | ritualmonster | summoned_by | |
− | + | | source_card | |
− | + | | effect_types | pendulum_effect_types | |
− | + | | summoning_condition | fr_summoning_condition | fr_trans_summoning_condition | de_summoning_condition | de_trans_summoning_condition | it_summoning_condition | it_trans_summoning_condition | pt_summoning_condition | pt_trans_summoning_condition | es_summoning_condition | es_trans_summoning_condition | ja_summoning_condition | trans_summoning_condition | ko_summoning_condition | ko_trans_summoning_condition | sc_summoning_condition | sc_trans_summoning_condition | |
− | + | | skill_activation | fr_skill_activation | fr_trans_skill_activation | de_skill_activation | de_trans_skill_activation | it_skill_activation | it_trans_skill_activation | pt_skill_activation | pt_trans_skill_activation | es_skill_activation | es_trans_skill_activation | |
− | + | | fr_materials | de_materials | it_materials | pt_materials | es_materials | ja_materials | ko_materials | |
− | + | | trans_materials | fr_trans_materials | de_trans_materials | it_trans_materials | pt_trans_materials | es_trans_materials | ja_trans_materials | ko_trans_materials | |
− | + | | requirement | fr_requirement | fr_trans_requirement | de_requirement | de_trans_requirement | it_requirement | it_trans_requirement | pt_requirement | pt_trans_requirement | es_requirement | es_trans_requirement | ja_requirement | trans_requirement | ko_requirement | ko_trans_requirement | sc_requirement | sc_trans_requirement | |
− | + | | pendulum_effect | fr_pendulum_effect | fr_trans_pendulum_effect | de_pendulum_effect | de_trans_pendulum_effect | it_pendulum_effect | it_trans_pendulum_effect | pt_pendulum_effect | pt_trans_pendulum_effect | es_pendulum_effect | es_trans_pendulum_effect | ja_pendulum_effect | trans_pendulum_effect | ko_pendulum_effect | ko_trans_pendulum_effect | zh_pendulum_effect | zh_trans_pendulum_effect | tc_pendulum_effect | tc_trans_pendulum_effect | sc_pendulum_effect | sc_trans_pendulum_effect | |
− | + | | lore | fr_lore | fr_trans_lore | de_lore | de_trans_lore | it_lore | it_trans_lore | pt_lore | pt_trans_lore | es_lore | es_trans_lore | ja_lore | trans_lore | ko_lore | ko_trans_lore | zh_lore | zh_trans_lore | tc_lore | tc_trans_lore | sc_lore | sc_trans_lore | |
− | + | | use | |
− | + | | database_id | |
− | + | | ocg_status | tcg_status | tcg_speed_duel_status | rush_duel_status | |
− | + | | fusion_material | synchro_material | material | materials | |
− | + | | jp_sets | ja_sets | kr_sets | ae_sets | tc_sets | sc_sets | en_sets | na_sets | eu_sets | au_sets | fr_sets | fc_sets | de_sets | it_sets | pt_sets | sp_sets | |
− | + | | mentions | supports | anti-supports | archseries | supports_archetypes | anti-supports_archetypes | related_to_archseries | counter | action | stat_change | m/s/t | summoning | attack | banished | life_points | fm_for | sm_for | misc | |
− | + | | dar_lore | gx03_name | gx03_sets | gx03_status | ntr_name | ntr_sets | ygo_lore | ygo_sets | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |
Revision as of 20:39, 14 April 2024
Property "Main card page" (as page type) with input value "{{{main}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
- Japanese
- {{{ja_name}}}
- Base rōmaji
- {{{base_romaji_name}}}
- Base translated
- {{{base_trans_name}}}
- Furigana rōmaji
- {{{romaji_name}}}
- Furigana translated
- {{{trans_name}}}
Other names |
|
---|---|
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}}}]] |
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}}}]] |
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 |
|
Status | |
Source card | "" |
| |
Use | {{{use}}} |
- [[Card Gallery:{{{main}}}|Gallery]]
- [[Card Rulings:{{{main}}}|Rulings]]
- [[Card Errata:{{{main}}}|Errata]]
- [[Card Artworks:{{{main}}}|Artworks]]
- [[Card Tips:{{{main}}}|Tips]]
- [[Card Trivia:{{{main}}}|Trivia]]
- [[Card Appearances:{{{main}}}|Appearances]]
- [[Card Names:{{{main}}}|Names]]
- [[Card Lores:{{{main}}}|Lores]]
English sets
Worldwide
- No set name provided at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{en_sets}}}|{{{en_sets}}}]] |
North America
- No set name provided at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{na_sets}}}|{{{na_sets}}}]] |
Europe
- No set name provided at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{eu_sets}}}|{{{eu_sets}}}]] |
Australia
- No set name provided at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{au_sets}}}|{{{au_sets}}}]] |
Search categories
- Mentions
- "[[{{{mentions}}}|{{{mentions}}}]]"
- Supports
- [[{{{supports}}}|{{{supports}}}]]
- Anti-supports
- [[{{{anti-supports}}}|{{{anti-supports}}}]]
- Archetypes and series
- [[{{{archseries}}}|{{{archseries}}}]]
- Supports archetypes
- "[[{{{supports archetypes}}}|{{{supports archetypes}}}]]"
- Anti-supports archetypes
- "[[{{{anti-supports archetypes}}}|{{{anti-supports archetypes}}}]]"
- Related to archetypes and series
- [[{{{related to archseries}}}|{{{related to archseries}}}]]
- Counters
- [[{{{counter}}}|{{{counter}}}]]
- Actions
- [[{{{action}}}|{{{action}}}]]
- Stat changes
- [[{{{stat_change}}}|{{{stat_change}}}]]
- Summoning categories
- [[{{{summoning}}}|{{{summoning}}}]]
- Attack categories
- [[{{{attack}}}|{{{attack}}}]]
- Banished categories
- [[{{{banished}}}|{{{banished}}}]]
- LP
- [[{{{life_points}}}|{{{life_points}}}]]
- Fusion Material for
- "[[{{{fm for}}}|{{{fm for}}}]]"
- Synchro Material for
- "[[{{{sm for}}}|{{{sm for}}}]]"
- Miscellaneous
- [[{{{misc}}}|{{{misc}}}]]
Other languages
Language | Name | Card text |
---|---|---|
French | {{{fr_name}}} | {{{fr_materials}}}
{{{fr_summoning_condition}}}
|
{{{fr_trans_name}}} |
{{{fr_trans_summoning_condition}}}
|
|
German | {{{de_name}}} | {{{de_materials}}}
{{{de_summoning_condition}}}
|
{{{de_trans_name}}} |
{{{de_trans_summoning_condition}}}
|
|
Italian | {{{it_name}}} | {{{it_materials}}}
{{{it_summoning_condition}}}
|
{{{it_trans_name}}} |
{{{it_trans_summoning_condition}}}
|
|
Portuguese | {{{pt_name}}} | {{{pt_materials}}}
{{{pt_summoning_condition}}}
|
{{{pt_trans_name}}} |
{{{pt_trans_summoning_condition}}}
|
|
Spanish | {{{es_name}}} | {{{es_materials}}}
{{{es_summoning_condition}}}
|
{{{es_trans_name}}} |
{{{es_trans_summoning_condition}}}
|
|
Japanese | {{{ja_name}}} | {{{ja_materials}}}
{{{ja_summoning_condition}}}
|
{{{romaji_name}}} | ||
{{{trans_name}}} |
{{{trans_summoning_condition}}}
|
|
Korean | {{{ko_name}}} | {{{ko_materials}}}
{{{ko_summoning_condition}}}
|
{{{ko_rr_name}}} | ||
{{{ko_trans_name}}} |
{{{ko_trans_summoning_condition}}}
|
|
Chinese | {{{zh_name}}} |
|
{{{zh_pinyin_name}}}Property "Chinese pinyin name" (as page type) with input value "{{{zh_pinyin_name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. | ||
{{{zh_trans_name}}} |
|
|
Simplified Chinese | {{{sc_name}}} | {{{sc_summoning_condition}}}
|
{{{sc_pinyin_name}}}Property "Simplified Chinese pinyin name" (as page type) with input value "{{{sc_pinyin_name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. | ||
{{{sc_trans_name}}}Property "Translated Simplified Chinese name" (as page type) with input value "{{{sc_trans_name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
{{{sc_trans_summoning_condition}}}
|
|
Traditional Chinese | {{{tc_name}}} |
|
{{{tc_pinyin_name}}}Property "Traditional Chinese pinyin name" (as page type) with input value "{{{tc_pinyin_name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. | ||
{{{tc_trans_name}}}Property "Translated Traditional Chinese name" (as page type) with input value "{{{tc_trans_name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
|
Sets in other languages
French
- No set name provided at non-empty input line 1.
Release | Number | Set | French name | Rarity |
---|---|---|---|---|
[[{{{fr_sets}}}|{{{fr_sets}}}]] |
French-Canadian
- No set name provided at non-empty input line 1.
Release | Number | Set | French name | Rarity |
---|---|---|---|---|
[[{{{fc_sets}}}|{{{fc_sets}}}]] |
German
- No set name provided at non-empty input line 1.
Release | Number | Set | German name | Rarity |
---|---|---|---|---|
[[{{{de_sets}}}|{{{de_sets}}}]] |
Italian
- No set name provided at non-empty input line 1.
Release | Number | Set | Italian name | Rarity |
---|---|---|---|---|
[[{{{it_sets}}}|{{{it_sets}}}]] |
Portuguese
- No set name provided at non-empty input line 1.
Release | Number | Set | Portuguese name | Rarity |
---|---|---|---|---|
[[{{{pt_sets}}}|{{{pt_sets}}}]] |
Spanish
- No set name provided at non-empty input line 1.
Release | Number | Set | Spanish name | Rarity |
---|---|---|---|---|
[[{{{sp_sets}}}|{{{sp_sets}}}]] |
Japanese
- No set name provided at non-empty input line 1.
Release | Number | Set | Japanese name | Rarity |
---|---|---|---|---|
[[{{{jp_sets}}}|{{{jp_sets}}}]] |
Japanese Asian
- No set name provided at non-empty input line 1.
Release | Number | Set | Japanese name | Rarity |
---|---|---|---|---|
[[{{{ja_sets}}}|{{{ja_sets}}}]] |
Asian-English
- No set name provided at non-empty input line 1.
Release | Number | Set | Rarity |
---|---|---|---|
[[{{{ae_sets}}}|{{{ae_sets}}}]] |
Korean
- No set name provided at non-empty input line 1.
Release | Number | Set | Korean name | Rarity |
---|---|---|---|---|
[[{{{kr_sets}}}|{{{kr_sets}}}]] |
Traditional Chinese
- No set name provided at non-empty input line 1.
Release | Number | Set | Traditional Chinese name | Rarity |
---|---|---|---|---|
[[{{{tc_sets}}}|{{{tc_sets}}}]] |
Simplified Chinese
- No set name provided at non-empty input line 1.
Release | Number | Set | Simplified Chinese name | Rarity |
---|---|---|---|---|
[[{{{sc_sets}}}|{{{sc_sets}}}]] |
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}}} |
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
{{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
Display
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
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
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
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
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
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
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
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
{{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
Parameters still in use, but should be removed in the near future.
Video game parameters
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
.