Difference between revisions of "Template:Infobox set"

From Yugipedia
Jump to: navigation, search
(revert last three edits. Putting that content inside the #if condition stops it displaying.)
(lots of new variables; only show names if there's a release in that language; show the TCG/OCG prefix even if a more specific release isn't yet shown; finish implementing support for Japanese-Asian releases; etc.)
Line 27: Line 27:
 
     }}
 
     }}
 
   }}{{ #if: {{ #pos: {{ #var: $italic_title }} | '' }} | {{Italic title|{{ #var: $italic_title }}|t=1}}
 
   }}{{ #if: {{ #pos: {{ #var: $italic_title }} | '' }} | {{Italic title|{{ #var: $italic_title }}|t=1}}
}}</includeonly>{{ #vardefine: $pagename | {{ #explode: {{ #var: $pagename | {{Normalized pagename|{{PAGENAME}}}} }} | ( }}
+
}}</includeonly><!--
}}{{Infobox
+
 
 +
== VARIABLES ==
 +
 
 +
-->{{ #vardefine: $pagename | {{ #explode: {{ #var: $pagename | {{Normalized pagename|{{PAGENAME}}}} }} | ( }}
 +
}}{{ #vardefine: $sp_release_date | {{ #if: {{{sp_release_date<includeonly>|</includeonly>}}} | {{{sp_release_date}}} | {{{es_release_date|}}} }}
 +
}}{{ #vardefine: $sp_sneak_peek | {{ #if: {{{sp_sneak_peek<includeonly>|</includeonly>}}} | {{{sp_sneak_peek|}}} | {{{es_sneak_peek|}}} }}
 +
}}{{ #vardefine: $sp-lat_release_date | {{ #if: {{{sp-lat_release_date<includeonly>|</includeonly>}}} | {{{sp-lat_release_date}}} | {{{es-lat_release_date|}}} }}
 +
}}{{ #vardefine: $sp-lat_sneak_peek | {{ #if: {{{sp-lat_sneak_peek<includeonly>|</includeonly>}}} | {{{sp-lat_sneak_peek}}} | {{{es-lat_sneak_peek|}}} }}
 +
}}{{ #vardefine: $fr/de/it/sp_release_date | {{ #if: {{{fr/de/it/sp_release_date<includeonly>|</includeonly>}}} | {{{fr/de/it/sp_release_date}}} | {{{fr/de/it/es_release_date|}}} }}
 +
}}{{ #vardefine: $fr/de/it/sp_sneak_peek | {{ #if: {{{fr/de/it/sp_sneak_peek<includeonly>|</includeonly>}}} | {{{fr/de/it/sp_sneak_peek}}} | {{{fr/de/it/es_sneak_peek|}}} }}
 +
}}{{ #vardefine: $jp_release_date | {{ #if: {{{jp_release_date<includeonly>|</includeonly>}}} | {{{jp_release_date}}} | {{{ja_release_date|}}} }}
 +
}}{{ #vardefine: $ja_release_date | {{ #if: {{{jp_release_date<includeonly>|</includeonly>}}} | {{{ja_release_date<includeonly>|</includeonly>}}} }}
 +
}}{{ #vardefine: $kr_release_date | {{ #if: {{{kr_release_date<includeonly>|</includeonly>}}} | {{{kr_release_date}}} | {{{ko_release_date|}}} }}
 +
}}{{ #vardefine: $en_release | {{ #if: {{{en_database_id<includeonly>|</includeonly>}}}{{{en_release_date|}}}{{{en_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $na_release | {{ #if: {{{na_release_date<includeonly>|</includeonly>}}}{{{na_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $eu_release | {{ #if: {{{eu_release_date<includeonly>|</includeonly>}}}{{{eu_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $oc_release | {{ #if: {{{oc_release_date<includeonly>|</includeonly>}}}{{{oc_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $fr/de/it/es_release | {{ #if: {{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }} | 1 }}
 +
}}{{ #vardefine: $fc_release | {{ #if: {{{fc_release_date<includeonly>|</includeonly>}}} | 1 }}
 +
}}{{ #vardefine: $fr_release | {{ #if: {{ #var: $fr/de/it/es_release }}{{{fr_database_id|}}}{{{fr_release_date|}}}{{{fr_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $de_release | {{ #if: {{ #var: $fr/de/it/es_release }}{{{de_database_id|}}}{{{de_release_date|}}}{{{de_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $it_release | {{ #if: {{ #var: $fr/de/it/es_release }}{{{it_database_id|}}}{{{it_release_date|}}}{{{it_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $pt_release | {{ #if: {{{pt_release_date<includeonly>|</includeonly>}}}{{{pt_sneak_peek|}}} | 1 }}
 +
}}{{ #vardefine: $sp-lat_release | {{ #if: {{ #var: $sp-lat_release_date }}{{ #var: $sp-lat_sneak_peek }} | 1 }}
 +
}}{{ #vardefine: $sp_release | {{ #if: {{ #var: $fr/de/it/es_release }}{{ #var: $sp-lat_release }}{{{es_database_id|}}}{{ #var: $sp_release_date }}{{ #var: $sp_sneak_peek }} | 1 }}
 +
}}{{ #vardefine: $tcg_release | {{ #if: {{ #var: $en_release }}{{ #var: $na_release }}{{ #var: $eu_release }}{{ #var: $oc_release }}{{ #var: $fr_release }}{{ #var: $fc_release }}{{ #var: $de_release }}{{ #var: $it_release }}{{ #var: $pt_release }}{{ #var: $sp_release }} | 1 }}
 +
}}{{ #vardefine: $jp_release | {{ #if: {{{ja_database_id|}}}{{ #var: $jp_release_date }} | 1 }}
 +
}}{{ #vardefine: $ja_release | {{ #if: {{ #var: $ja_release_date }} | 1 }}
 +
}}{{ #vardefine: $kr_release | {{ #if: {{ #var: $kr_release_date }} | 1 }}
 +
}}{{ #vardefine: $ae_release | {{ #if: {{{ae_release_date<includeonly>|</includeonly>}}} | 1 }}
 +
}}{{ #vardefine: $zh_release | {{ #if: {{{zh_release_date<includeonly>|</includeonly>}}} | 1 }}
 +
}}{{ #vardefine: $tc_release | {{ #if: {{{tc_release_date<includeonly>|</includeonly>}}} | 1 }}
 +
}}{{ #vardefine: $ocg_release | {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }}{{ #var: $kr_release }}{{ #var: $ae_release }}{{ #var: $zh_release }}{{ #var: $tc_release }} | 1 }}
 +
}}<!--
 +
 
 +
== INFOBOX ==
 +
 
 +
-->{{Infobox
 
| above        = {{ #if: {{{name|}}} | {{{name}}} | {{ #explode: {{ #explode: {{ #explode: {{ #var: $pagename }} | promotional }} | participation }} | prize }} }}
 
| above        = {{ #if: {{{name|}}} | {{{name}}} | {{ #explode: {{ #explode: {{ #explode: {{ #var: $pagename }} | promotional }} | participation }} | prize }} }}
 
| image        = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #iferror: {{ #ifexpr: {{{width}}} < 229 | {{{width}}} | 229 }} | 229 }}px|{{ #if: {{{caption<includeonly>|</includeonly>}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} }}]] }}
 
| image        = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #iferror: {{ #ifexpr: {{{width}}} < 229 | {{{width}}} | 229 }} | 229 }}px|{{ #if: {{{caption<includeonly>|</includeonly>}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} }}]] }}
Line 55: Line 92:
  
 
   | label3      = French
 
   | label3      = French
   | data3        = {{ #if: {{{fr_name<includeonly>|</includeonly>}}} | ''<span lang="fr">{{{fr_name}}}</span>''[[French name::{{{fr_name}}}| ]] }}
+
   | data3        = {{ #if: {{ #var: $fr_release }}{{ #var: $fc_release }} | {{ #if: {{{fr_name<includeonly>|</includeonly>}}} | ''<span lang="fr">{{{fr_name}}}</span>''[[French name::{{{fr_name}}}| ]] }} }}
  
 
   | label4      = German
 
   | label4      = German
   | data4        = {{ #if: {{{de_name<includeonly>|</includeonly>}}} | ''<span lang="de">{{{de_name}}}</span>''[[German name::{{{de_name}}}| ]] }}
+
   | data4        = {{ #if: {{ #var: $de_release }} | {{ #if: {{{de_name<includeonly>|</includeonly>}}} | ''<span lang="de">{{{de_name}}}</span>''[[German name::{{{de_name}}}| ]] }} }}
  
 
   | label5      = Italian
 
   | label5      = Italian
   | data5        = {{ #if: {{{it_name<includeonly>|</includeonly>}}} | ''<span lang="it">{{{it_name}}}</span>''[[Italian name::{{{it_name}}}| ]] }}
+
   | data5        = {{ #if: {{ #var: $it_release }} | {{ #if: {{{it_name<includeonly>|</includeonly>}}} | ''<span lang="it">{{{it_name}}}</span>''[[Italian name::{{{it_name}}}| ]] }} }}
  
 
   | label6      = Portuguese
 
   | label6      = Portuguese
   | data6        = {{ #if: {{{pt_name<includeonly>|</includeonly>}}} | ''<span lang="pt">{{{pt_name}}}</span>''[[Portuguese name::{{{pt_name}}}| ]] }}
+
   | data6        = {{ #if: {{ #var: $pt_release }} | {{ #if: {{{pt_name<includeonly>|</includeonly>}}} | ''<span lang="pt">{{{pt_name}}}</span>''[[Portuguese name::{{{pt_name}}}| ]] }} }}
  
 
   | label7      = Spanish
 
   | label7      = Spanish
   | data7        = {{ #if: {{{es_name<includeonly>|</includeonly>}}} | ''<span lang="es">{{{es_name}}}</span>''[[Spanish name::{{{es_name}}}| ]] }}
+
   | data7        = {{ #if: {{ #var: $sp_release }}{{ #var: $sp-lat_release }} | {{ #if: {{{es_name<includeonly>|</includeonly>}}} | ''<span lang="es">{{{es_name}}}</span>''[[Spanish name::{{{es_name}}}| ]] }} }}
  
   | data8        = {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | Japanese }}
+
   | data8        = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{{ja_name<includeonly>|</includeonly>}}} | Japanese }} }}
 
   | rowclass8    = infobox-subheading
 
   | rowclass8    = infobox-subheading
  
 
   | label9      = {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | Kanji and furigana | Japanese }}
 
   | label9      = {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | Kanji and furigana | Japanese }}
   | data9        = {{ #if: {{{ja_name|}}} | <span lang="ja">{{{ja_name}}}</span>{{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | [[Ruby Japanese name::{{{ja_name}}}| ]][[Ruby text::{{{ja_name}}}| ]] | [[Japanese name::{{{ja_name}}}| ]] }} }}
+
   | data9        = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{{ja_name|}}} | <span lang="ja">{{{ja_name}}}</span>{{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | [[Ruby Japanese name::{{{ja_name}}}| ]][[Ruby text::{{{ja_name}}}| ]] | [[Japanese name::{{{ja_name}}}| ]] }} }} }}
  
 
   | label10      = Kanji
 
   | label10      = Kanji
   | data10      = {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ja-Jpan">{{Ruby/split|{{{ja_name}}}}}</span>[[Japanese name::{{Ruby/split|{{{ja_name}}}}}| ]] }}
+
   | data10      = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ja-Jpan">{{Ruby/split|{{{ja_name}}}}}</span>[[Japanese name::{{Ruby/split|{{{ja_name}}}}}| ]] }} }}
  
 
   | label11      = Furigana
 
   | label11      = Furigana
   | data11      = {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ja-Hrkt">{{Ruby/split|{{{ja_name}}}|top}}</span> }}
+
   | data11      = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{Ruby/detect|{{{ja_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ja-Hrkt">{{Ruby/split|{{{ja_name}}}|top}}</span> }} }}
  
 
   | label12      = Rōmaji
 
   | label12      = Rōmaji
   | data12      = {{ #if: {{{romaji_name<includeonly>|</includeonly>}}} | ''<span lang="ja-Latn-hepburn">{{{romaji_name}}}</span>''[[Romaji name::{{{romaji_name}}}| ]] }}
+
   | data12      = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{{romaji_name<includeonly>|</includeonly>}}} | ''<span lang="ja-Latn-hepburn">{{{romaji_name}}}</span>''[[Romaji name::{{{romaji_name}}}| ]] }} }}
  
 
   | label13      = Translated
 
   | label13      = Translated
   | data13      = {{ #if: {{{ja_trans_name<includeonly>|</includeonly>}}} | ''{{{ja_trans_name}}}''[[Japanese translated name::{{{ja_trans_name}}}| ]] }}
+
   | data13      = {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #if: {{{ja_trans_name<includeonly>|</includeonly>}}} | ''{{{ja_trans_name}}}''[[Japanese translated name::{{{ja_trans_name}}}| ]] }} }}
  
   | data14      = {{ #if: {{{ko_name<includeonly>|</includeonly>}}} | Korean }}
+
   | data14      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{{ko_name<includeonly>|</includeonly>}}} | Korean }} }}
 
   | rowclass14  = infobox-subheading   
 
   | rowclass14  = infobox-subheading   
  
 
   | label15      = Korean
 
   | label15      = Korean
   | data15      = {{ #if: {{{ko_name<includeonly>|</includeonly>}}} | <span lang="ko">{{{ko_name}}}</span>[[Korean name::{{{ko_name}}}| ]] }}
+
   | data15      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{{ko_name<includeonly>|</includeonly>}}} | <span lang="ko">{{{ko_name}}}</span>[[Korean name::{{{ko_name}}}| ]] }} }}
  
 
   | label16      = Base text
 
   | label16      = Base text
   | data16      = {{ #if: {{Ruby/detect|{{{ko_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ko">{{Ruby/split|{{{ko_name}}}|lang=ko}}</span> }}
+
   | data16      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{Ruby/detect|{{{ko_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ko">{{Ruby/split|{{{ko_name}}}|lang=ko}}</span> }} }}
  
 
   | label17      = Hangul
 
   | label17      = Hangul
   | data17      = {{ #if: {{Ruby/detect|{{{ko_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ko-Hang">{{Ruby/split|{{{ko_name}}}|top|lang=ko}}</span> }}
+
   | data17      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{Ruby/detect|{{{ko_name}}}<noinclude><ruby/></noinclude>}} | <span lang="ko-Hang">{{Ruby/split|{{{ko_name}}}|top|lang=ko}}</span> }} }}
  
 
   | label18      = Hanja
 
   | label18      = Hanja
   | data18      = {{ #if: {{{hanja_name<includeonly>|</includeonly>}}} | <span lang="ko-Hani">{{{hanja_name}}}</span>[[Hanja name::{{{hanja_name}}}| ]] }}
+
   | data18      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{{hanja_name<includeonly>|</includeonly>}}} | <span lang="ko-Hani">{{{hanja_name}}}</span>[[Hanja name::{{{hanja_name}}}| ]] }} }}
  
 
   | label19      = Revised Romanization
 
   | label19      = Revised Romanization
   | data19      = {{ #if: {{{ko_rr_name<includeonly>|</includeonly>}}} | ''<span lang="ko-Latn">{{{ko_rr_name}}}</span>''[[Korean Revised Romanization name::{{{ko_rr_name}}}| ]] }}
+
   | data19      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{{ko_rr_name<includeonly>|</includeonly>}}} | ''<span lang="ko-Latn">{{{ko_rr_name}}}</span>''[[Korean Revised Romanization name::{{{ko_rr_name}}}| ]] }} }}
  
 
   | label20      = Translated
 
   | label20      = Translated
   | data20      = {{ #if: {{{ko_trans_name<includeonly>|</includeonly>}}} | ''{{{ko_trans_name}}}''[[Korean translated name::{{{ko_trans_name}}}| ]] }}
+
   | data20      = {{ #if: {{ #var: $kr_release }} | {{ #if: {{{ko_trans_name<includeonly>|</includeonly>}}} | ''{{{ko_trans_name}}}''[[Korean translated name::{{{ko_trans_name}}}| ]] }} }}
  
   | data21      = {{ #if: {{{zh_name<includeonly>|</includeonly>}}} | Chinese }}
+
   | data21      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{{zh_name<includeonly>|</includeonly>}}} | Chinese }} }}
 
   | rowclass21  = infobox-subheading
 
   | rowclass21  = infobox-subheading
  
 
   | label22      = Chinese
 
   | label22      = Chinese
   | data22      = {{ #if: {{{zh_name<includeonly>|</includeonly>}}} | <span lang="zh">{{{zh_name}}}</span>[[Chinese name::{{{zh_name}}}| ]] }}
+
   | data22      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{{zh_name<includeonly>|</includeonly>}}} | <span lang="zh">{{{zh_name}}}</span>[[Chinese name::{{{zh_name}}}| ]] }} }}
  
 
   | label23      = Hanzi
 
   | label23      = Hanzi
   | data23      = {{ #if: {{Ruby/detect|{{{zh_name}}}<noinclude><ruby/></noinclude>}} | <span lang="zh">{{Ruby/split|{{{zh_name}}}|lang=zh}}</span> }}
+
   | data23      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{Ruby/detect|{{{zh_name}}}<noinclude><ruby/></noinclude>}} | <span lang="zh">{{Ruby/split|{{{zh_name}}}|lang=zh}}</span> }} }}
  
 
   | label24      = Bopomofo<!-- keep an eye on this, or something -->
 
   | label24      = Bopomofo<!-- keep an eye on this, or something -->
   | data24      = {{ #if: {{Ruby/detect|{{{zh_name}}}<noinclude><ruby/></noinclude>}} | <span lang="zh-Bopo">{{Ruby/split|{{{zh_name}}}|top|lang=zh}}</span> }}
+
   | data24      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{Ruby/detect|{{{zh_name}}}<noinclude><ruby/></noinclude>}} | <span lang="zh-Bopo">{{Ruby/split|{{{zh_name}}}|top|lang=zh}}</span> }} }}
  
 
   | label25      = Pinyin<!-- do we want any other romanizations too (e.g. Wade–Giles or Yale)? -->
 
   | label25      = Pinyin<!-- do we want any other romanizations too (e.g. Wade–Giles or Yale)? -->
   | data25      = {{ #if: {{{pinyin_name<includeonly>|</includeonly>}}} | ''<span lang="zh-Latn-pinyin">{{{pinyin_name}}}</span>''[[Chinese Pinyin name::{{{pinyin_name}}}| ]] }}
+
   | data25      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{{pinyin_name<includeonly>|</includeonly>}}} | ''<span lang="zh-Latn-pinyin">{{{pinyin_name}}}</span>''[[Chinese Pinyin name::{{{pinyin_name}}}| ]] }} }}
  
 
   | label26      = Jyutping
 
   | label26      = Jyutping
   | data26      = {{ #if: {{{jyutping_name<includeonly>|</includeonly>}}} | ''<span lang="zh-Latn-jyutping">{{{jyutping_name}}}</span>''[[Chinese Jyutping name::{{{jyutping_name}}}| ]] }}
+
   | data26      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{{jyutping_name<includeonly>|</includeonly>}}} | ''<span lang="zh-Latn-jyutping">{{{jyutping_name}}}</span>''[[Chinese Jyutping name::{{{jyutping_name}}}| ]] }} }}
  
 
   | label27      = Translated
 
   | label27      = Translated
   | data27      = {{ #if: {{{zh_trans_name<includeonly>|</includeonly>}}} | ''{{{zh_trans_name}}}''[[Chinese translated name::{{{zh_trans_name}}}| ]] }}
+
   | data27      = {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{{zh_trans_name<includeonly>|</includeonly>}}} | ''{{{zh_trans_name}}}''[[Chinese translated name::{{{zh_trans_name}}}| ]] }} }}
 
}}
 
}}
  
Line 138: Line 175:
  
 
   | label2      = Medium
 
   | label2      = Medium
   | data2        = {{
+
   | data2        = {{ #if: {{{medium|}}}
    #if: {{{medium|}}}
+
     | {{{medium}}} [[Medium::{{{medium}}}| ]]{{ #switch: {{unlink|{{{medium}}}}} | OCG | TCG = [[Category:((Infobox set)) transclusions with unnecessary medium]] }}
     | {{{medium}}} [[Medium::{{{medium}}}| ]]
+
     | {{ #if: {{ #pos: {{ #var: $dabtext }} | BP }}{{ #pos: {{ #var: $dabtext }} | G5 }}{{{appears_in_video_games|}}}
     | {{
 
      #if: {{ #pos: {{ #var: $dabtext }} | BP }}{{ #pos: {{ #var: $dabtext }} | G5 }}{{{appears_in_video_games|}}}
 
 
       | Video game [[Medium::Video game| ]]
 
       | Video game [[Medium::Video game| ]]
       | ''[[Yu-Gi-Oh! Official Card Game|OCG]]''/''[[Yu-Gi-Oh! Trading Card Game|TCG]]''<!-- maybe conditionally display these depending on what releases the set actually has --> [[Medium::Official| ]]
+
       | {{ #if: {{ #var: $ocg_release }} | ''[[Yu-Gi-Oh! Official Card Game|OCG]]''{{ #if: {{ #var: $tcg_release }} | / }} }}{{ #if: {{ #var: $tcg_release }} | ''[[Yu-Gi-Oh! Trading Card Game|TCG]]'' }} [[Medium::Official| ]]{{ #if: {{ #var: $ocg_release }} | [[Medium::OCG| ]] }}{{ #if: {{ #var: $tcg_release }} | [[Medium::TCG| ]] }}
 
     }}
 
     }}
 
   }}
 
   }}
Line 168: Line 203:
 
   }}{{ #vardefine: $ocg_postfix | {{ #if: {{{ocg_postfix|}}} | {{{ocg_postfix}}} | {{ #var: $postfix }} }}
 
   }}{{ #vardefine: $ocg_postfix | {{ #if: {{{ocg_postfix|}}} | {{{ocg_postfix}}} | {{ #var: $postfix }} }}
 
   }}{{ #vardefine: $tcg_postfix | {{ #if: {{{tcg_postfix|}}} | {{{tcg_postfix}}} | {{ #var: $postfix }} }}
 
   }}{{ #vardefine: $tcg_postfix | {{ #if: {{{tcg_postfix|}}} | {{{tcg_postfix}}} | {{ #var: $postfix }} }}
   }}{{ #vardefine: $en_prefix | {{ #if: {{{en_prefix<includeonly>|</includeonly>}}} | {{{en_prefix}}} | {{ #if: {{{en_database_id|}}}{{{en_release_date|}}}{{{na_release_date|}}}{{{eu_release_date|}}} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-EN{{ #var: $tcg_postfix }} }} }} }}
+
   }}{{ #vardefine: $en_prefix | {{ #if: {{{en_prefix<includeonly>|</includeonly>}}} | {{{en_prefix}}} | {{ #if: {{ #var: $en_release }}{{ #var: $eu_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-EN{{ #var: $tcg_postfix }} }} }} }}
   }}{{ #vardefine: $fr_prefix | {{ #if: {{{fr_prefix<includeonly>|</includeonly>}}} | {{{fr_prefix}}} | {{ #if: {{{fr_database_id|}}}{{{fr_release_date|}}}{{{fr/de/it/es_release_date|}}}{{{fr_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}} | {{ #var: $tcg_prefix }}-FR{{ #var: $tcg_postfix }} }} }}
+
   }}{{ #vardefine: $fr_prefix | {{ #if: {{{fr_prefix<includeonly>|</includeonly>}}} | {{{fr_prefix}}} | {{ #if: {{ #var: $fr_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-FR{{ #var: $tcg_postfix }} }} }} }}
   }}{{ #vardefine: $de_prefix | {{ #if: {{{de_prefix<includeonly>|</includeonly>}}} | {{{de_prefix}}} | {{ #if: {{{de_database_id|}}}{{{de_release_date|}}}{{{fr/de/it/es_release_date|}}}{{{de_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}} | {{ #var: $tcg_prefix }}-DE{{ #var: $tcg_postfix }} }} }}
+
   }}{{ #vardefine: $de_prefix | {{ #if: {{{de_prefix<includeonly>|</includeonly>}}} | {{{de_prefix}}} | {{ #if: {{ #var: $de_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-DE{{ #var: $tcg_postfix }} }} }} }}
   }}{{ #vardefine: $it_prefix | {{ #if: {{{it_prefix<includeonly>|</includeonly>}}} | {{{it_prefix}}} | {{ #if: {{{it_database_id|}}}{{{it_release_date|}}}{{{fr/de/it/es_release_date|}}}{{{it_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}} | {{ #var: $tcg_prefix }}-IT{{ #var: $tcg_postfix }} }} }}
+
   }}{{ #vardefine: $it_prefix | {{ #if: {{{it_prefix<includeonly>|</includeonly>}}} | {{{it_prefix}}} | {{ #if: {{ #var: $it_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-IT{{ #var: $tcg_postfix }} }} }} }}
   }}{{ #vardefine: $pt_prefix | {{ #if: {{{pt_prefix<includeonly>|</includeonly>}}} | {{{pt_prefix}}} | {{ #if: {{{pt_release_date|}}}{{{pt_sneak_peek|}}} | {{ #var: $tcg_prefix }}-PT{{ #var: $tcg_postfix }} }} }}
+
   }}{{ #vardefine: $pt_prefix | {{ #if: {{{pt_prefix<includeonly>|</includeonly>}}} | {{{pt_prefix}}} | {{ #if: {{ #var: $pt_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-PT{{ #var: $tcg_postfix }} }} }} }}
   }}{{ #vardefine: $sp_prefix | {{ #if: {{{es_prefix<includeonly>|</includeonly>}}} | {{{es_prefix}}} | {{ #if: {{{es_database_id|}}}{{{es_release_date|}}}{{{es-lat_release_date|}}}{{{fr/de/it/es_release_date|}}}{{{es_sneak_peek|}}}{{{es-lat_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}} | {{ #var: $tcg_prefix }}-SP{{ #var: $tcg_postfix }} }} }}
+
   }}{{ #vardefine: $sp_prefix | {{ #if: {{{es_prefix<includeonly>|</includeonly>}}} | {{{es_prefix}}} | {{ #if: {{ #var: $sp_release }} | {{ #if: {{ #var: $tcg_prefix }} | {{ #var: $tcg_prefix }}-SP{{ #var: $tcg_postfix }} }} }} }}
 
   }}{{ #vardefine: $jp_prefix | {{ #if: {{{jp_prefix<includeonly>|</includeonly>}}} | {{{jp_prefix}}} | {{{ja_prefix|}}} }}<!-- back-compat -->
 
   }}{{ #vardefine: $jp_prefix | {{ #if: {{{jp_prefix<includeonly>|</includeonly>}}} | {{{jp_prefix}}} | {{{ja_prefix|}}} }}<!-- back-compat -->
   }}{{ #vardefine: $jp_prefix | {{ #var: $jp_prefix | {{ #if: {{{ja_database_id|}}}{{{jp_release_date|}}}{{{ja_release_date|}}} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-JP{{ #var: $ocg_postfix }} }} }} }}
+
   }}{{ #vardefine: $jp_prefix | {{ #var: $jp_prefix | {{ #if: {{ #var: $jp_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-JP{{ #var: $ocg_postfix }} }} }} }}
 
   }}{{ #vardefine: $ja_prefix | {{ #if: {{{jp_prefix<includeonly>|</includeonly>}}} | {{{ja_prefix<includeonly>|</includeonly>}}} }}<!-- back-compat -->
 
   }}{{ #vardefine: $ja_prefix | {{ #if: {{{jp_prefix<includeonly>|</includeonly>}}} | {{{ja_prefix<includeonly>|</includeonly>}}} }}<!-- back-compat -->
   }}{{ #vardefine: $ja_prefix | {{ #var: $ja_prefix | {{ #if: {{{jp_release_date|}}} | {{ #if: {{{ja_release_date|}}} | {{ #var: $ocg_prefix }}-JA{{ #var: $ocg_postfix }} }} }} }}
+
   }}{{ #vardefine: $ja_prefix | {{ #var: $ja_prefix | {{ #if: {{ #var: $ja_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-JA{{ #var: $ocg_postfix }} }} }} }}
   }}{{ #vardefine: $ae_prefix | {{ #if: {{{ae_prefix<includeonly>|</includeonly>}}} | {{{ae_prefix}}} | {{ #if: {{{ae_release_date|}}} | {{ #var: $ocg_prefix }}-AE{{ #var: $ocg_postfix }} }} }}
+
   }}{{ #vardefine: $ae_prefix | {{ #if: {{{ae_prefix<includeonly>|</includeonly>}}} | {{{ae_prefix}}} | {{ #if: {{ #var: $ae_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-AE{{ #var: $ocg_postfix }} }} }} }}
 
   }}{{ #vardefine: $kr_prefix | {{ #if: {{{kr_prefix<includeonly>|</includeonly>}}} | {{{kr_prefix}}} | {{{ko_prefix|}}} }}<!-- back-compat -->
 
   }}{{ #vardefine: $kr_prefix | {{ #if: {{{kr_prefix<includeonly>|</includeonly>}}} | {{{kr_prefix}}} | {{{ko_prefix|}}} }}<!-- back-compat -->
   }}{{ #vardefine: $kr_prefix | {{ #var: $kr_prefix | {{ #if: {{{kr_release_date|}}}{{{ko_release_date|}}} | {{ #var: $ocg_prefix }}-KR{{ #var: $ocg_postfix }} }} }}
+
   }}{{ #vardefine: $kr_prefix | {{ #var: $kr_prefix | {{ #if: {{ #var: $kr_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-KR{{ #var: $ocg_postfix }} }} }} }}
 
   }}{{ #vardefine: $tc_prefix | {{ #if: {{{tc_prefix<includeonly>|</includeonly>}}} | {{{tc_prefix}}} | {{{zh_prefix|}}} }}<!-- back-compat -->
 
   }}{{ #vardefine: $tc_prefix | {{ #if: {{{tc_prefix<includeonly>|</includeonly>}}} | {{{tc_prefix}}} | {{{zh_prefix|}}} }}<!-- back-compat -->
   }}{{ #vardefine: $tc_prefix | {{ #var: $tc_prefix | {{ #if: {{{tc_release_date|}}}{{{zh_release_date|}}} | {{ #var: $ocg_prefix }}-TC{{ #var: $ocg_postfix }} }} }}
+
   }}{{ #vardefine: $tc_prefix | {{ #var: $tc_prefix | {{ #if: {{ #var: $tc_release }}{{ #var: $zh_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-TC{{ #var: $ocg_postfix }} }} }} }}
 
   }}{{ #if: {{ #var: $en_prefix }}
 
   }}{{ #if: {{ #var: $en_prefix }}
 
     | * {{ #var: $en_prefix }}[[English set and region prefix::{{ #var: $en_prefix }}| ]][[English set prefix::{{ #explode: {{ #var: $en_prefix }} | - }}| ]] (<abbr title="English">en</abbr>)
 
     | * {{ #var: $en_prefix }}[[English set and region prefix::{{ #var: $en_prefix }}| ]][[English set prefix::{{ #explode: {{ #var: $en_prefix }} | - }}| ]] (<abbr title="English">en</abbr>)
Line 194: Line 229:
 
     | * {{ #var: $fr_prefix }}[[French set and region prefix::{{ #var: $fr_prefix }}| ]][[French set prefix::{{ #explode: {{ #var: $fr_prefix }} | - }}| ]] (<abbr title="French">fr</abbr>)
 
     | * {{ #var: $fr_prefix }}[[French set and region prefix::{{ #var: $fr_prefix }}| ]][[French set prefix::{{ #explode: {{ #var: $fr_prefix }} | - }}| ]] (<abbr title="French">fr</abbr>)
 
   }}{{ #if: {{{fc_prefix<includeonly>|</includeonly>}}}
 
   }}{{ #if: {{{fc_prefix<includeonly>|</includeonly>}}}
     | *{{{fc_prefix}}}[[French-Canadian set and region prefix::{{{fc_prefix}}}| ]][[French-Canadian set prefix::{{ #explode: {{{fc_prefix}}} | - }}| ]] (<abbr title="French - Canada">fr-ca</abbr>)
+
     | * {{{fc_prefix}}}[[French-Canadian set and region prefix::{{{fc_prefix}}}| ]][[French-Canadian set prefix::{{ #explode: {{{fc_prefix}}} | - }}| ]] (<abbr title="French - Canada">fr-ca</abbr>)
 
   }}{{ #if: {{ #var: $de_prefix }}
 
   }}{{ #if: {{ #var: $de_prefix }}
 
     | * {{ #var: $de_prefix }}[[German set and region prefix::{{ #var: $de_prefix }}| ]][[German set prefix::{{ #explode: {{ #var: $de_prefix }} | - }}| ]] (<abbr title="German">de</abbr>)
 
     | * {{ #var: $de_prefix }}[[German set and region prefix::{{ #var: $de_prefix }}| ]][[German set prefix::{{ #explode: {{ #var: $de_prefix }} | - }}| ]] (<abbr title="German">de</abbr>)
Line 213: Line 248:
 
   }}{{ #if: {{ #var: $tc_prefix }}
 
   }}{{ #if: {{ #var: $tc_prefix }}
 
     | * {{ #var: $tc_prefix }}[[Chinese set and region prefix::{{ #var: $tc_prefix }}| ]][[Chinese set prefix::{{ #explode: {{ #var: $tc_prefix }} | - }}| ]] (<abbr title="Chinese">tc</abbr>)
 
     | * {{ #var: $tc_prefix }}[[Chinese set and region prefix::{{ #var: $tc_prefix }}| ]][[Chinese set prefix::{{ #explode: {{ #var: $tc_prefix }} | - }}| ]] (<abbr title="Chinese">tc</abbr>)
   }}{{ #if: {{ #var: $ocg_prefix }} | [[OCG set prefix::{{ #var: $ocg_prefix }}| ]]
+
   }}{{ #if: {{ #var: #en_prefix }}{{{na_prefix|}}}{{{eu_prefix|}}}{{{oc_prefix|}}}{{ #var: $fr_prefix }}{{{fc_prefix|}}}{{ #var: $de_prefix }}{{ #var: $it_prefix }}{{ #var: $pt_prefix }}{{ #var: $sp_prefix }} || {{ #if: {{ #var: $tcg_prefix }}
   }}{{ #if: {{ #var: $tcg_prefix }} | [[TCG set prefix::{{ #var: $tcg_prefix }}| ]]
+
      | * {{ #var: $tcg_prefix }}[[TCG set prefix::{{ #var: $tcg_prefix }}| ]] (<abbr title="Trading Card Game">''TCG''</abbr>)
 +
    }}
 +
   }}{{ #if: {{ #var: $jp_prefix }}{{ #var: $ja_prefix }}{{ #var: $ae_prefix }}{{ #var: $kr_prefix }}{{ #var: $tc_prefix }} || {{ #if: {{ #var: $ocg_prefix }}
 +
      | * {{ #var: $ocg_prefix }}[[OCG set prefix::{{ #var: $ocg_prefix }}| ]] (<abbr title="Official Card Game">''OCG''</abbr>)
 +
    }}
 
   }}
 
   }}
  
Line 315: Line 354:
  
 
   | header1      = {{ #if: <!--
 
   | header1      = {{ #if: <!--
     -->{{{ja_release_date<includeonly>|</includeonly>}}}{{{ae_release_date|}}}<!--
+
     -->{{ #var: $jp_release_date }}{{ #var: $ja_release_date }}{{{ae_release_date|}}}<!--
     -->{{{ko_release_date|}}}{{{zh_release_date|}}}{{{fc_release_date|}}}<!--
+
     -->{{ #var: $kr_release_date }}{{{zh_release_date|}}}{{{fc_release_date|}}}<!--
 
     -->{{{en_release_date|}}}{{{en_sneak_peek|}}}{{{na_release_date|}}}{{{na_sneak_peek|}}}<!--
 
     -->{{{en_release_date|}}}{{{en_sneak_peek|}}}{{{na_release_date|}}}{{{na_sneak_peek|}}}<!--
 
     -->{{{eu_release_date|}}}{{{eu_sneak_peek|}}}{{{oc_release_date|}}}{{{oc_sneak_peek|}}}<!--
 
     -->{{{eu_release_date|}}}{{{eu_sneak_peek|}}}{{{oc_release_date|}}}{{{oc_sneak_peek|}}}<!--
 
     -->{{{fr_release_date|}}}{{{fr_sneak_peek|}}}{{{de_release_date|}}}{{{de_sneak_peek|}}}<!--
 
     -->{{{fr_release_date|}}}{{{fr_sneak_peek|}}}{{{de_release_date|}}}{{{de_sneak_peek|}}}<!--
 
     -->{{{it_release_date|}}}{{{it_sneak_peek|}}}{{{pt_release_date|}}}{{{pt_sneak_peek|}}}<!--
 
     -->{{{it_release_date|}}}{{{it_sneak_peek|}}}{{{pt_release_date|}}}{{{pt_sneak_peek|}}}<!--
     -->{{{es_release_date|}}}{{{es_sneak_peek|}}}{{{es-lat_release_date|}}}{{{es-lat_sneak_peek|}}}<!--
+
     -->{{ #var: $sp_release_date }}{{ #var: $sp_sneak_peek }}{{ #var: $sp-lat_release_date }}{{ #var: $sp-lat_sneak_peek }}<!--
     -->{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}}<!--
+
     -->{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }}<!--
 
     -->| Release dates }}
 
     -->| Release dates }}
  
 
   | label2      = Japanese
 
   | label2      = Japanese
   | data2        =  
+
   | data2        = {{ #if: {{ #var: $jp_release_date }} |
{{ #if: {{{ja_release_date<includeonly>|</includeonly>}}} |
+
* {{ #var: $jp_release_date }}[[Japanese release date::{{ #var: $jp_release_date }}| ]] }}
* {{{ja_release_date}}}[[Japanese release date::{{{ja_release_date}}}| ]] }}
 
  
   | label3      = Asian-English
+
   | label3      = Japanese-Asian
   | data3        = {{ #if: {{{ae_release_date<includeonly>|</includeonly>}}} | {{{ae_release_date}}}[[Asian-English release date::{{{ae_release_date}}}| ]] }}
+
   | data3        = {{ #if: {{ #var: $ja_release_date }} |  
 +
* {{ #var: $ja_release_date }}[[Japanese-Asian release date::{{ #var: $ja_release_date }}| ]] }}
  
   | label4      = English&nbsp;(<abbr title="Worldwide">world</abbr>)
+
   | label4       = Asian-English
   | data4       = {{Infobox set/release date
+
  | data4        = {{ #if: {{{ae_release_date<includeonly>|</includeonly>}}} | {{{ae_release_date}}}[[Asian-English release date::{{{ae_release_date}}}| ]] }}
 +
 
 +
  | label5       = English&nbsp;(<abbr title="Worldwide">world</abbr>)
 +
   | data5       = {{Infobox set/release date
 
     | sneak_peek  = {{{en_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{en_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{en_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{en_release_date<includeonly>|</includeonly>}}}|
Line 340: Line 382:
 
     }}
 
     }}
  
   | label5       = English&nbsp;(<abbr title="North America">na</abbr>)
+
   | label6       = English&nbsp;(<abbr title="North America">na</abbr>)
   | data5       = {{Infobox set/release date
+
   | data6       = {{Infobox set/release date
 
     | sneak_peek  = {{{na_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{na_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{na_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{na_release_date<includeonly>|</includeonly>}}}|
Line 347: Line 389:
 
     }}
 
     }}
  
   | label6       = English&nbsp;(<abbr title="Europe">eu</abbr>)
+
   | label7       = English&nbsp;(<abbr title="Europe">eu</abbr>)
   | data6       = {{Infobox set/release date
+
   | data7       = {{Infobox set/release date
 
     | sneak_peek  = {{{eu_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{eu_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{eu_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{eu_release_date<includeonly>|</includeonly>}}}|
Line 354: Line 396:
 
     }}
 
     }}
  
   | label7       = English&nbsp;(<abbr title="Oceania">oc</abbr>)
+
   | label8       = English&nbsp;(<abbr title="Oceania">oc</abbr>)
   | data7       = {{Infobox set/release date
+
   | data8       = {{Infobox set/release date
 
     | sneak_peek  = {{{oc_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{oc_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{oc_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{oc_release_date<includeonly>|</includeonly>}}}|
Line 361: Line 403:
 
     }}
 
     }}
  
   | label8       = Chinese
+
   | label9       = Chinese
   | data8       = {{ #if: {{{zh_release_date<includeonly>|</includeonly>}}}|
+
   | data9       = {{ #if: {{{zh_release_date<includeonly>|</includeonly>}}}|
 
*{{{zh_release_date}}}[[Chinese release date::{{{zh_release_date}}}| ]] }}
 
*{{{zh_release_date}}}[[Chinese release date::{{{zh_release_date}}}| ]] }}
  
   | label9      = French, German, Italian, Spanish
+
   | label10      = French, German, Italian, Spanish
   | data9        = {{Infobox set/group release date
+
   | data10      = {{Infobox set/group release date
     | sneak_peek  = {{{fr/de/it/es_sneak_peek<includeonly>|</includeonly>}}}|
+
     | sneak_peek  = {{ #var: $fr/de/it/sp_sneak_peek }}|
     | retail_date = {{{fr/de/it/es_release_date<includeonly>|</includeonly>}}}|
+
     | retail_date = {{ #var: $fr/de/it/sp_release_date }}|
 
     }}
 
     }}
  
   | label10     = French
+
   | label11     = French
   | data10       = {{Infobox set/release date
+
   | data11       = {{Infobox set/release date
 
     | sneak_peek  = {{{fr_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{fr_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{fr_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{fr_release_date<includeonly>|</includeonly>}}}|
Line 378: Line 420:
 
     }}
 
     }}
  
   | label11     = French&nbsp;(<abbr title="Canada">ca</abbr>)
+
   | label12     = French&nbsp;(<abbr title="Canada">ca</abbr>)
   | data11       = {{ #if: {{{fc_release_date<includeonly>|</includeonly>}}} | {{{fc_release_date}}}[[French-Canadian release date::{{{fc_release_date}}}| ]] }}
+
   | data12       = {{ #if: {{{fc_release_date<includeonly>|</includeonly>}}} | {{{fc_release_date}}}[[French-Canadian release date::{{{fc_release_date}}}| ]] }}
  
   | label12     = German
+
   | label13     = German
   | data12       = {{Infobox set/release date
+
   | data13       = {{Infobox set/release date
 
     | sneak_peek  = {{{de_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{de_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{de_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{de_release_date<includeonly>|</includeonly>}}}|
Line 388: Line 430:
 
     }}
 
     }}
  
   | label13     = Italian
+
   | label14     = Italian
   | data13       = {{Infobox set/release date
+
   | data14       = {{Infobox set/release date
 
     | sneak_peek  = {{{it_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{it_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{it_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{it_release_date<includeonly>|</includeonly>}}}|
Line 395: Line 437:
 
     }}
 
     }}
  
   | label14     = Korean
+
   | label15     = Korean
   | data14       =  
+
   | data15       = {{ #if: {{ #var: $kr_release_date }} |
{{ #if: {{{ko_release_date<includeonly>|</includeonly>}}}|
+
* {{ #var: $kr_release_date }}[[Korean release date::{{ #var: $kr_release_date }}| ]] }}
*{{{ko_release_date}}}[[Korean release date::{{{ko_release_date}}}| ]] }}
 
  
   | label15     = Portuguese
+
   | label16     = Portuguese
   | data15       = {{Infobox set/release date
+
   | data16       = {{Infobox set/release date
 
     | sneak_peek  = {{{pt_sneak_peek<includeonly>|</includeonly>}}}|
 
     | sneak_peek  = {{{pt_sneak_peek<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{pt_release_date<includeonly>|</includeonly>}}}|
 
     | retail_date = {{{pt_release_date<includeonly>|</includeonly>}}}|
Line 407: Line 448:
 
     }}
 
     }}
  
   | label16     = Spanish
+
   | label17     = Spanish
   | data16       = {{Infobox set/release date
+
   | data17       = {{Infobox set/release date
     | sneak_peek  = {{{es_sneak_peek<includeonly>|</includeonly>}}}|
+
     | sneak_peek  = {{ #var: $sp_sneak_peek }}|
     | retail_date = {{{es_release_date<includeonly>|</includeonly>}}}|
+
     | retail_date = {{ #var: $sp_release_date }}|
 
     | language    = Spanish|
 
     | language    = Spanish|
 
     }}
 
     }}
  
   | label17     = Spanish&nbsp;(<abbr title="Latin America">lat-am</abbr>)
+
   | label18     = Spanish&nbsp;(<abbr title="Latin America">lat-am</abbr>)
   | data17       = {{Infobox set/release date
+
   | data18       = {{Infobox set/release date
     | sneak_peek  = {{{es-lat_sneak_peek<includeonly>|</includeonly>}}}|
+
     | sneak_peek  = {{ #var: $sp-lat_sneak_peek }}|
     | retail_date = {{{es-lat_release_date<includeonly>|</includeonly>}}}|
+
     | retail_date = {{ #var: $sp-lat_release_date }}|
 
     | language    = Latin American Spanish|
 
     | language    = Latin American Spanish|
 
     }}
 
     }}
Line 514: Line 555:
  
 
-->{{
 
-->{{
   #if: {{{es_release_date|}}}{{{fr/de/it/es_release_date|}}}{{{es-lat_release_date|}}}
+
   #if: {{ #var: $sp_release_date }}{{ #var: $fr/de/it/sp_release_date }}{{ #var: $sp-lat_release_date }}
 
   | [[Spanish release date::{{
 
   | [[Spanish release date::{{
     #switch: {{ #if: {{{es_release_date|}}}{{{fr/de/it/es_release_date|}}} | 1 | 0 }}{{ #if: {{{es-lat_release_date|}}} | 1 | 0 }}
+
     #switch: {{ #if: {{ #var: $sp_release_date }}{{ #var: $fr/de/it/sp_release_date }} | 1 | 0 }}{{ #if: {{ #var: $sp-lat_release_date }} | 1 | 0 }}
     | 01 = {{{es-lat_release_date}}}
+
     | 01 = {{ #var: $sp-lat_release_date }}
     | 10 = {{{es_release_date|{{{fr/de/it/es_release_date}}} }}}
+
     | 10 = {{ #var: $sp_release_date | {{ #var: $fr/de/it/sp_release_date }} }}
 
     | 11 = {{
 
     | 11 = {{
       #ifexpr: {{ #time: U | {{{es_release_date|{{{fr/de/it/es_release_date}}} }}} }} < {{ #time: U | {{{es-lat_release_date}}} }}
+
       #ifexpr: {{ #time: U | {{ #var: $sp_release_date | {{ #var: $fr/de/it/sp_release_date }} }} }} < {{ #time: U | {{ #var: $sp-lat_release_date }} }}
       | {{{es_release_date|{{{fr/de/it/es_release_date}}} }}}
+
       | {{ #var: $sp_release_date | {{ #var: $fr/de/it/sp_release_date }} }}
       | {{{es-lat_release_date}}}
+
       | {{ #var: $sp-lat_release_date }}
 
     }}
 
     }}
 
   }}| ]]
 
   }}| ]]
 
}}{{
 
}}{{
   #if: {{{es_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}}{{{es-lat_sneak_peek|}}}
+
   #if: {{ #var: $sp_sneak_peek }}{{ #var: $fr/de/it/sp_sneak_peek }}{{ #var: $sp-lat_sneak_peek }}
 
   | [[Spanish Sneak Peek date::{{
 
   | [[Spanish Sneak Peek date::{{
     #switch: {{ #if: {{{es_sneak_peek|}}}{{{fr/de/it/es_sneak_peek|}}} | 1 | 0 }}{{ #if: {{{es-lat_sneak_peek|}}} | 1 | 0 }}
+
     #switch: {{ #if: {{ #var: $sp_sneak_peek }}{{ #var: $fr/de/it/sp_sneak_peek }} | 1 | 0 }}{{ #if: {{ #var: $sp-lat_sneak_peek }} | 1 | 0 }}
     | 01 = {{{es-lat_sneak_peek}}}
+
     | 01 = {{ #var: $sp-lat_sneak_peek }}
     | 10 = {{{es_sneak_peek|{{{fr/de/it/es_sneak_peek}}} }}}
+
     | 10 = {{ #var: $sp_sneak_peek | {{ #var: $fr/de/it/sp_sneak_peek }} }}
 
     | 11 = {{
 
     | 11 = {{
       #ifexpr: {{ #time: U | {{{es_sneak_peek|{{{fr/de/it/es_sneak_peek}}} }}} }} < {{ #time: U | {{{es-lat_sneak_peek}}} }}
+
       #ifexpr: {{ #time: U | {{ #var: $sp_sneak_peek | {{ #var: $fr/de/it/sp_sneak_peek }} }} }} < {{ #time: U | {{ #var: $sp-lat_sneak_peek }} }}
       | {{{es_sneak_peek|{{{fr/de/it/es_sneak_peek}}} }}}
+
       | {{ #var: $sp_sneak_peek | {{ #var: $fr/de/it/sp_sneak_peek }} }}
       | {{{es-lat_sneak_peek}}}
+
       | {{ #var: $sp-lat_sneak_peek }}
 
     }}
 
     }}
 
   }}| ]]
 
   }}| ]]
Line 584: Line 625:
 
-->{{ #if: {{{medium|}}}
 
-->{{ #if: {{{medium|}}}
 
|| {{ #if: {{{ja_database_id|}}}
 
|| {{ #if: {{{ja_database_id|}}}
   || {{ #if: {{{ja_release_date|}}}
+
   || {{ #if: {{ #var: $jp_release_date }}{{ #var: $ja_release_date }}
 
     | [[Category:Set pages needing a Japanese database ID]]
 
     | [[Category:Set pages needing a Japanese database ID]]
 
     }}
 
     }}
Line 594: Line 635:
 
   }}{{ #if: {{{fr_database_id|}}}
 
   }}{{ #if: {{{fr_database_id|}}}
 
   || {{ #if: {{{fc_release_date|}}}{{{fr_release_date|}}}{{{fr_sneak_peek|}}}<!--
 
   || {{ #if: {{{fc_release_date|}}}{{{fr_release_date|}}}{{{fr_sneak_peek|}}}<!--
           -->{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}}
+
           -->{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }}
 
     | [[Category:Set pages needing a French database ID]]
 
     | [[Category:Set pages needing a French database ID]]
 
     }}
 
     }}
 
   }}{{ #if: {{{de_database_id|}}}
 
   }}{{ #if: {{{de_database_id|}}}
 
   || {{ #if: {{{de_release_date|}}}{{{de_sneak_peek|}}}<!--
 
   || {{ #if: {{{de_release_date|}}}{{{de_sneak_peek|}}}<!--
           -->{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}}
+
           -->{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }}
 
     | [[Category:Set pages needing a German database ID]]
 
     | [[Category:Set pages needing a German database ID]]
 
     }}
 
     }}
 
   }}{{ #if: {{{it_database_id|}}}
 
   }}{{ #if: {{{it_database_id|}}}
 
   || {{ #if: {{{it_release_date|}}}{{{it_sneak_peek|}}}<!--
 
   || {{ #if: {{{it_release_date|}}}{{{it_sneak_peek|}}}<!--
           -->{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}}
+
           -->{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }}
 
     | [[Category:Set pages needing an Italian database ID]]
 
     | [[Category:Set pages needing an Italian database ID]]
 
     }}
 
     }}
 
   }}{{ #if: {{{es_database_id|}}}
 
   }}{{ #if: {{{es_database_id|}}}
   || {{ #if: {{{es_release_date|}}}{{{es_sneak_peek|}}}{{{es-lat_release_date|}}}{{{es-lat_sneak_peek|}}}<!--
+
   || {{ #if: {{ #var: $sp_release_date }}{{ #var: $sp_sneak_peek }}{{ #var: $sp-lat_release_date }}{{ #var: $sp-lat_sneak_peek }}<!--
           -->{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}}
+
           -->{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }}
 
     | [[Category:Set pages needing a Spanish database ID]]
 
     | [[Category:Set pages needing a Spanish database ID]]
 
     }}
 
     }}
 
   }}
 
   }}
 
}}<!--{{ #if: {{NAMESPACE}}
 
}}<!--{{ #if: {{NAMESPACE}}
   || {{
+
   || {{ #if: {{ #var: $jp_release_date }} | [[Category:Japanese sets]]
    #if: {{{ja_release_date|}}} | [[Category:Japanese sets]]
+
}}{{ #if: {{ #var: $ja_release_date }} | [[Category:Japanese-Asian sets]]
}}{{
+
}}{{ #if: {{{ae_release_date|}}} | [[Category:Asian-English sets]]
  #if: {{{ae_release_date|}}} | [[Category:Asian-English sets]]
+
}}{{ #if: {{ #var: $kr_release_date }} | [[Category:Korean sets]]
}}{{
+
}}{{ #if: {{{zh_release_date|}}} | [[Category:Chinese sets]]
  #if: {{{ko_release_date|}}} | [[Category:Korean sets]]
+
}}{{ #if: {{{fc_release_date|}}} | [[Category:French-Canadian sets]]
}}{{
+
}}{{ #if: {{{en_release_date|}}}{{{en_sneak_peek|}}} | [[Category:Worldwide English sets]]
  #if: {{{zh_release_date|}}} | [[Category:Chinese sets]]
+
}}{{ #if: {{{na_release_date|}}}{{{na_sneak_peek|}}} | [[Category:North American English sets]]
}}{{
+
}}{{ #if: {{{eu_release_date|}}}{{{eu_sneak_peek|}}} | [[Category:European English sets]]
  #if: {{{fc_release_date|}}} | [[Category:French-Canadian sets]]
+
}}{{ #if: {{{oc_release_date|}}}{{{oc_sneak_peek|}}} | [[Category:Oceanic English sets]]
}}{{
+
}}{{ #if: {{{fr_release_date|}}}{{{fr_sneak_peek|}}}{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }} | [[Category:French sets]]
  #if: {{{en_release_date|}}}{{{en_sneak_peek|}}} | [[Category:Worldwide English sets]]
+
}}{{ #if: {{{de_release_date|}}}{{{de_sneak_peek|}}}{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }} | [[Category:German sets]]
}}{{
+
}}{{ #if: {{{it_release_date|}}}{{{it_sneak_peek|}}}{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }} | [[Category:Italian sets]]
  #if: {{{na_release_date|}}}{{{na_sneak_peek|}}} | [[Category:North American English sets]]
+
}}{{ #if: {{{pt_release_date|}}}{{{pt_sneak_peek|}}} | [[Category:Portuguese sets]]
}}{{
+
}}{{ #if: {{ #var: $sp_release_date }}{{ #var: $sp_sneak_peek }}{{ #var: $fr/de/it/sp_release_date }}{{ #var: $fr/de/it/sp_sneak_peek }} | [[Category:Spanish sets]]
  #if: {{{eu_release_date|}}}{{{eu_sneak_peek|}}} | [[Category:European English sets]]
+
}}{{ #if: {{ #var: $sp-lat_release_date }}{{ #var: $sp-lat_sneak_peek }} | [[Category:Latin American sets]]
}}{{
 
  #if: {{{oc_release_date|}}}{{{oc_sneak_peek|}}} | [[Category:Oceanic English sets]]
 
}}{{
 
  #if: {{{fr_release_date|}}}{{{fr_sneak_peek|}}}{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}} | [[Category:French sets]]
 
}}{{
 
  #if: {{{de_release_date|}}}{{{de_sneak_peek|}}}{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}} | [[Category:German sets]]
 
}}{{
 
  #if: {{{it_release_date|}}}{{{it_sneak_peek|}}}{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}} | [[Category:Italian sets]]
 
}}{{
 
  #if: {{{pt_release_date|}}}{{{pt_sneak_peek|}}} | [[Category:Portuguese sets]]
 
}}{{
 
  #if: {{{es_release_date|}}}{{{es_sneak_peek|}}}{{{fr/de/it/es_release_date|}}}{{{fr/de/it/es_sneak_peek|}}} | [[Category:Spanish sets]]
 
}}{{
 
  #if: {{{es-lat_release_date|}}}{{{es-lat_sneak_peek|}}} | [[Category:Latin American sets]]
 
 
}}
 
}}
 
}}--><!--
 
}}--><!--
Line 649: Line 676:
 
== Interwikis ==
 
== Interwikis ==
  
-->{{
+
-->{{ #if: {{{fr_name|}}} | [[fr:{{{fr_name}}}]]
  #if: {{{fr_name|}}} | [[fr:{{{fr_name}}}]]
+
}}{{ #if: {{{de_name|}}} | [[de:{{{de_name}}}]]
}}{{
+
}}{{ #if: {{{it_name|}}} | [[it:{{{it_name}}}]]
  #if: {{{de_name|}}} | [[de:{{{de_name}}}]]
+
}}{{ #if: {{{es_name|}}} | [[es:{{{es_name}}}]]
}}{{
 
  #if: {{{it_name|}}} | [[it:{{{it_name}}}]]
 
}}{{
 
  #if: {{{es_name|}}} | [[es:{{{es_name}}}]]
 
 
}}<noinclude>
 
}}<noinclude>
  

Revision as of 02:35, 21 March 2016

Infobox set
[[File:|229px|{{{caption}}}]]
Names
English
  • {{{en_name}}}
  • {{{en_name_2}}}
French{{{fr_name}}}
German{{{de_name}}}
Italian{{{it_name}}}
Portuguese{{{pt_name}}}
Spanish{{{es_name}}}
Japanese
Kanji{{{ja_name}}}
Furigana{{{ja_name}}}
Rōmaji{{{romaji_name}}}
Translated{{{ja_trans_name}}}
Korean
Korean{{{ko_name}}}
Base text{{{ko_name}}}
Hangul{{{ko_name}}}
Hanja{{{hanja_name}}}
Revised Romanization{{{ko_rr_name}}}
Translated{{{ko_trans_name}}}
Chinese
Chinese{{{zh_name}}}
Hanzi{{{zh_name}}}
Bopomofo{{{zh_name}}}
Pinyin{{{pinyin_name}}}
Jyutping{{{jyutping_name}}}
Translated{{{zh_trans_name}}}
Set information
MediumOCG/TCG
Type{{{type}}}
Part of series[[{{{series}}}]]
Prefix
  • {{{en_prefix}}} (en)
  • {{{na_prefix}}} (en-na)
  • {{{eu_prefix}}} (en-eu)
  • {{{oc_prefix}}} (en-oc)
  • {{{fr_prefix}}} (fr)
  • {{{fc_prefix}}} (fr-ca)
  • {{{de_prefix}}} (de)
  • {{{it_prefix}}} (it)
  • {{{pt_prefix}}} (pt)
  • {{{es_prefix}}} (sp)
  • {{{jp_prefix}}} (jp)
  • {{{ja_prefix}}} (ja)
  • {{{ae_prefix}}} (ae)
  • {{{kr_prefix}}} (kr)
  • {{{tc_prefix}}} (tc)
Order number{{{order_number}}}
Number of cards{{{size}}}
Cover card
  • {{{cover_card}}}
Release date{{{release_date}}}
Sneak Peek card{{{sneak_peek_card}}}
Yugioh-Card database ID
Related sets
Main set[[{{{main_set}}}]]
Sneak PeekInfobox set Sneak Peek Participation Card
2-pack setInfobox set 2-Pack Set
Vendor EditionInfobox set: Vendor Edition
Special EditionInfobox set: Special Edition
Deluxe EditionInfobox set: Deluxe Edition
Other[[{{{other_sets}}}]]
Release dates
Japanese
  • {{{jp_release_date}}}
Japanese-Asian
  • {{{ja_release_date}}}
Asian-English{{{ae_release_date}}}
English (world)
  • {{{en_sneak_peek}}} (Sneak Peek)
  • {{{en_release_date}}}
English (na)
  • {{{na_sneak_peek}}} (Sneak Peek)
  • {{{na_release_date}}}
English (eu)
  • {{{eu_sneak_peek}}} (Sneak Peek)
  • {{{eu_release_date}}}
English (oc)
  • {{{oc_sneak_peek}}} (Sneak Peek)
  • {{{oc_release_date}}}
Chinese
  • {{{zh_release_date}}}
French, German, Italian, Spanish
  • {{{fr/de/it/sp_sneak_peek}}} (Sneak Peek)
  • {{{fr/de/it/sp_release_date}}}
French
  • {{{fr_sneak_peek}}} (Sneak Peek)
  • {{{fr_release_date}}}
French (ca){{{fc_release_date}}}
German
  • {{{de_sneak_peek}}} (Sneak Peek)
  • {{{de_release_date}}}
Italian
  • {{{it_sneak_peek}}} (Sneak Peek)
  • {{{it_release_date}}}
Korean
  • {{{kr_release_date}}}
Portuguese
  • {{{pt_sneak_peek}}} (Sneak Peek)
  • {{{pt_release_date}}}
Spanish
  • {{{sp_release_date}}}
Spanish (lat-am)
  • {{{sp-lat_sneak_peek}}} (Sneak Peek)
  • {{{sp-lat_release_date}}}
Identifiers
ISBN[[Special:BookSources/{{{isbn}}}|{{{isbn}}}]]
EAN{{{ean}}}
UPC{{{upc}}}
Appearances
Manga
{{{appears_in_manga}}}
Anime
{{{appears_in_anime}}}
Books
{{{appears_in_books}}}
Video games
{{{appears_in_video_games}}}

Infobox set

See Forum:Set page redesign for more information.