Difference between revisions of "Template:Infobox set"
m |
Dinoguy1000 (talk | contribs) (...how did I do that >_> ) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 29: | Line 29: | ||
}}{{ #vardefine: $pagename_nodab | {{ #explode: {{ #var: $pagename }} | ( }} | }}{{ #vardefine: $pagename_nodab | {{ #explode: {{ #var: $pagename }} | ( }} | ||
}}{{ #vardefine: $pagename_left | ''{{ #var: $pagename_short }}'' | }}{{ #vardefine: $pagename_left | ''{{ #var: $pagename_short }}'' | ||
− | }}{{ #vardefine: $pagename_right | {{ #explode: {{ #var: $pagename_nodab }} | {{ #replace: {{ #var: $pagename_left }} | '' }} | 1 }} | + | }}{{ #vardefine: $pagename_right | {{ #explode: {{ #var: $pagename_nodab }} | {{ #replace: {{ #var: $pagename_left }} | '<noinclude/>' }} | 1 }} |
}}{{ #vardefine: $italic_title | }}{{ #vardefine: $italic_title | ||
| {{ #switch: {{ #var: $pagename }} | | {{ #switch: {{ #var: $pagename }} | ||
− | | {{ #replace: {{{name}}} {{ #var: $dabtext }} | '' }} = {{{name}}} {{ #var: $dabtext }} | + | | {{ #replace: {{{name}}} {{ #var: $dabtext }} | '<noinclude/>' }} = {{{name}}} {{ #var: $dabtext }} |
− | | {{ #replace: {{{name}}} {{ #var: $pagename_right }} {{ #var: $dabtext }} | '' }} = {{{name}}} {{ #var: $pagename_right }} {{ #var: $dabtext }} | + | | {{ #replace: {{{name}}} {{ #var: $pagename_right }} {{ #var: $dabtext }} | '<noinclude/>' }} = {{{name}}} {{ #var: $pagename_right }} {{ #var: $dabtext }} |
| #default = {{ #var: $pagename_left }} {{ #if: 1 | {{ #var: $pagename_right }} {{ #var: $dabtext }} }} | | #default = {{ #var: $pagename_left }} {{ #if: 1 | {{ #var: $pagename_right }} {{ #var: $dabtext }} }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
− | }}{{ #if: {{ #pos: {{ #var: $italic_title }} | '' }} | {{Italic title|{{ #var: $italic_title }}|t=1}} | + | }}{{ #if: {{ #pos: {{ #var: $italic_title }} | '<noinclude/>' }} | {{Italic title|{{ #var: $italic_title }}|t=1}} |
}}</includeonly><!-- | }}</includeonly><!-- | ||
== VARIABLES == | == VARIABLES == | ||
− | --> | + | -->{{ #vardefine: $fr_release_date | {{ #if: {{{fr_release_date<includeonly>|</includeonly>}}} | {{{fr_release_date}}} | {{{fr/de/it/sp_release_date|}}} }} |
− | |||
}}{{ #vardefine: $de_release_date | {{ #if: {{{de_release_date<includeonly>|</includeonly>}}} | {{{de_release_date}}} | {{{fr/de/it/sp_release_date|}}} }} | }}{{ #vardefine: $de_release_date | {{ #if: {{{de_release_date<includeonly>|</includeonly>}}} | {{{de_release_date}}} | {{{fr/de/it/sp_release_date|}}} }} | ||
}}{{ #vardefine: $it_release_date | {{ #if: {{{it_release_date<includeonly>|</includeonly>}}} | {{{it_release_date}}} | {{{fr/de/it/sp_release_date|}}} }} | }}{{ #vardefine: $it_release_date | {{ #if: {{{it_release_date<includeonly>|</includeonly>}}} | {{{it_release_date}}} | {{{fr/de/it/sp_release_date|}}} }} | ||
Line 63: | Line 62: | ||
}}{{ #vardefine: $ja_release | {{ #if: {{{ja_release_date<includeonly>|</includeonly>}}}{{{ja_prefix|}}} | 1 }} | }}{{ #vardefine: $ja_release | {{ #if: {{{ja_release_date<includeonly>|</includeonly>}}}{{{ja_prefix|}}} | 1 }} | ||
}}{{ #vardefine: $kr_release | {{ #if: {{{ko_database_id|}}}{{{kr_release_date<includeonly>|</includeonly>}}}{{{kr_prefix|}}} | 1 }} | }}{{ #vardefine: $kr_release | {{ #if: {{{ko_database_id|}}}{{{kr_release_date<includeonly>|</includeonly>}}}{{{kr_prefix|}}} | 1 }} | ||
− | }}{{ #vardefine: $ae_release | {{ #if: {{{ae_release_date<includeonly>|</includeonly>}}}{{{ae_prefix|}}} | 1 }} | + | }}{{ #vardefine: $ae_release | {{ #if: {{{ae_database_id|}}}{{{ae_release_date<includeonly>|</includeonly>}}}{{{ae_prefix|}}} | 1 }} |
}}{{ #vardefine: $zh_release | {{ #if: {{{zh_release_date<includeonly>|</includeonly>}}}{{{zh_prefix|}}}{{{tc_release_date|}}} | 1 }} | }}{{ #vardefine: $zh_release | {{ #if: {{{zh_release_date<includeonly>|</includeonly>}}}{{{zh_prefix|}}}{{{tc_release_date|}}} | 1 }} | ||
}}{{ #vardefine: $tc_release | {{ #if: {{{tc_release_date<includeonly>|</includeonly>}}}{{{tc_prefix|}}} | 1 }} | }}{{ #vardefine: $tc_release | {{ #if: {{{tc_release_date<includeonly>|</includeonly>}}}{{{tc_prefix|}}} | 1 }} | ||
Line 78: | Line 77: | ||
}}{{ #arraydefine: @ja_database_id | {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #ifeq: {{{ja_database_id}}} | none || {{ #if: {{{ja_database_id<includeonly>|</includeonly>}}} | {{{ja_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | }}{{ #arraydefine: @ja_database_id | {{ #if: {{ #var: $jp_release }}{{ #var: $ja_release }} | {{ #ifeq: {{{ja_database_id}}} | none || {{ #if: {{{ja_database_id<includeonly>|</includeonly>}}} | {{{ja_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | ||
}}{{ #arraydefine: @ko_database_id | {{ #if: {{ #var: $kr_release }} | {{ #ifeq: {{{ko_database_id}}} | none || {{ #if: {{{ko_database_id<includeonly>|</includeonly>}}} | {{{ko_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | }}{{ #arraydefine: @ko_database_id | {{ #if: {{ #var: $kr_release }} | {{ #ifeq: {{{ko_database_id}}} | none || {{ #if: {{{ko_database_id<includeonly>|</includeonly>}}} | {{{ko_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | ||
+ | }}{{ #arraydefine: @ae_database_id | {{ #if: {{ #var: $ae_release }} | {{ #ifeq: {{{ae_database_id}}} | none || {{ #if: {{{ae_database_id<includeonly>|</includeonly>}}} | {{{ae_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | ||
}}{{ #arraydefine: @sc_database_id | {{ #if: {{ #var: $sc_release }} | {{ #ifeq: {{{sc_database_id}}} | none || {{ #if: {{{sc_database_id<includeonly>|</includeonly>}}} | {{{sc_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | }}{{ #arraydefine: @sc_database_id | {{ #if: {{ #var: $sc_release }} | {{ #ifeq: {{{sc_database_id}}} | none || {{ #if: {{{sc_database_id<includeonly>|</includeonly>}}} | {{{sc_database_id}}} | {{{database_id|}}} }} }} }} | * | unique | ||
}} | }} | ||
Line 85: | Line 85: | ||
-->{{Infobox | -->{{Infobox | ||
− | | above = {{ #if: {{{name|}}} | {{{name}}} | {{ #explode: {{ #explode: {{ #explode: {{ #var: $ | + | | above = {{ #if: {{{name|}}} | {{{name}}} | {{ #explode: {{ #explode: {{ #explode: {{ #var: $pagename_nodab }} | promotional }} | participation }} | prize }} }} |
− | | image = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #vardefine: $width | {{ #ifexpr: {{ #vardefineecho: $width_n | {{ #imgw: {{{image}}} }} }} < 257 | {{ #var: $width_n }} | 257 }} }}{{ #iferror: {{ #ifexpr: {{{width}}} < 257 | {{{width}}} | {{ #var: $width }} }} | {{ #var: $width }} }}px|{{ #if: {{{caption<includeonly>|</includeonly>}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $ | + | | image = {{ #if: {{{image<includeonly>|</includeonly>}}} | [[File:{{PAGENAME:{{{image}}}}}|{{ #vardefine: $width | {{ #ifexpr: {{ #vardefineecho: $width_n | {{ #imgw: {{{image}}} }} }} < 257 | {{ #var: $width_n }} | 257 }} }}{{ #iferror: {{ #ifexpr: {{{width}}} < 257 | {{{width}}} | {{ #var: $width }} }} | {{ #var: $width }} }}px|{{ #if: {{{caption<includeonly>|</includeonly>}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename_nodab }} }} }}]][[Set image::{{{image}}}| ]] }} |
− | | abovestyle = {{ #if: {{ #var: $italicize_title }}{{ #pos: {{{name}}} | '' }} || font-style: italic; }} | + | | abovestyle = {{ #if: {{ #var: $italicize_title }}{{ #pos: {{{name}}} | '<noinclude/>' }} || font-style: italic; }} |
| bodyclass = infobox-yugipedia plainlist | | bodyclass = infobox-yugipedia plainlist | ||
Line 196: | Line 196: | ||
-->{{ #arrayindex: @es_database_id | 0 }}<!-- | -->{{ #arrayindex: @es_database_id | 0 }}<!-- | ||
-->{{ #arrayindex: @ko_database_id | 0 }}<!-- | -->{{ #arrayindex: @ko_database_id | 0 }}<!-- | ||
+ | -->{{ #arrayindex: @ae_database_id | 0 }}<!-- | ||
-->{{ #arrayindex: @sc_database_id | 0 }} | -->{{ #arrayindex: @sc_database_id | 0 }} | ||
| {{Infobox | | {{Infobox | ||
Line 204: | Line 205: | ||
| label2 = Medium | | label2 = Medium | ||
| data2 = {{ #if: {{{medium|}}} | | data2 = {{ #if: {{{medium|}}} | ||
− | | {{{medium}}} [[Medium::{{ #replace: {{unlink|{{{medium}}}}} | '' }}| ]]{{ #switch: {{ #replace: {{unlink|{{{medium}}}}} | '' }} | OCG | TCG = [[Medium::Official| ]]{{ #if: {{ #var: $tcg_release }}{{ #var: $ocg_release }} | [[Category:((Infobox set)) transclusions with unnecessary medium]] }} }} | + | | {{{medium}}} [[Medium::{{ #replace: {{unlink|{{{medium}}}}} | '<noinclude/>' }}| ]]{{ #switch: {{ #replace: {{unlink|{{{medium}}}}} | '<noinclude/>' }} | OCG | TCG = [[Medium::Official| ]]{{ #if: {{ #var: $tcg_release }}{{ #var: $ocg_release }} | [[Category:((Infobox set)) transclusions with unnecessary medium]] }} }} |
| {{ #if: {{ #var: $vg_release }} | | {{ #if: {{ #var: $vg_release }} | ||
| Video game [[Medium::Video game| ]] | | Video game [[Medium::Video game| ]] | ||
Line 226: | Line 227: | ||
| label6 = Parent set | | label6 = Parent set | ||
| data6 = {{ #if: {{{parent_set<includeonly>|</includeonly>}}} | | data6 = {{ #if: {{{parent_set<includeonly>|</includeonly>}}} | ||
− | | {{Autolink|{{{parent_set}}}}}[[Parent set::{{unlink|{{{parent_set}}}}}| ]] | + | | {{Autolink|{{{parent_set}}}}}[[Parent set::{{ #replace: {{unlink|{{{parent_set}}}}} | '<noinclude/>' }}| ]] |
}} | }} | ||
Line 249: | Line 250: | ||
}}{{ #vardefine: $sc_prefix | {{ #if: {{{sc_prefix<includeonly>|</includeonly>}}} | {{{sc_prefix}}} | {{ #if: {{ #var: $sc_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-SC{{ #var: $ocg_postfix }} }} }} }} | }}{{ #vardefine: $sc_prefix | {{ #if: {{{sc_prefix<includeonly>|</includeonly>}}} | {{{sc_prefix}}} | {{ #if: {{ #var: $sc_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-SC{{ #var: $ocg_postfix }} }} }} }} | ||
}}{{ #vardefine: $kr_prefix | {{ #if: {{{kr_prefix<includeonly>|</includeonly>}}} | {{{kr_prefix}}} | {{ #if: {{ #var: $kr_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-KR{{ #var: $ocg_postfix }} }} }} }} | }}{{ #vardefine: $kr_prefix | {{ #if: {{{kr_prefix<includeonly>|</includeonly>}}} | {{{kr_prefix}}} | {{ #if: {{ #var: $kr_release }} | {{ #if: {{ #var: $ocg_prefix }} | {{ #var: $ocg_prefix }}-KR{{ #var: $ocg_postfix }} }} }} }} | ||
− | }}{{ #if: {{ #var: $en_prefix }} | + | }}{{ #if: {{ #var: $en_prefix }} | {{ #arraymap: {{ #var: $en_prefix }} | * | $prefix | * $prefix[[English set and region prefix::$prefix| ]][[English set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="English">en</abbr>) |
− | + | }}{{ #if: {{{na_prefix<includeonly>|</includeonly>}}} | {{ #arraymap: {{{na_prefix}}} | * | $prefix | * $prefix[[North American English set and region prefix::$prefix| ]][[North American English set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="English - North America">en-na</abbr>) | |
− | }}{{ #if: {{{na_prefix<includeonly>|</includeonly>}}} | + | }}{{ #if: {{{eu_prefix<includeonly>|</includeonly>}}} | {{ #arraymap: {{{eu_prefix}}} | * | $prefix | * $prefix[[European English set and region prefix::$prefix| ]][[European English set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="English - Europe">en-eu</abbr>) |
− | + | }}{{ #if: {{{oc_prefix<includeonly>|</includeonly>}}} | {{ #arraymap: {{{oc_prefix}}} | * | $prefix | * $prefix[[Oceanic English set and region prefix::$prefix| ]][[Oceanic English set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="English - Oceania">en-oc</abbr>) | |
− | }}{{ #if: {{{eu_prefix<includeonly>|</includeonly>}}} | + | }}{{ #if: {{ #var: $fr_prefix }} | {{ #arraymap: {{ #var: $fr_prefix }} | * | $prefix | * $prefix[[French set and region prefix::$prefix| ]][[French set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="French">fr</abbr>) |
− | + | }}{{ #if: {{{fc_prefix<includeonly>|</includeonly>}}} | {{ #arraymap: {{{fc_prefix}}} | * | $prefix | * $prefix[[French-Canadian set and region prefix::$prefix| ]][[French-Canadian set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="French - Canada">fr-ca</abbr>) | |
− | }}{{ #if: {{{oc_prefix<includeonly>|</includeonly>}}} | + | }}{{ #if: {{ #var: $de_prefix }} | {{ #arraymap: {{ #var: $de_prefix }} | * | $prefix | * $prefix[[German set and region prefix::$prefix| ]][[German set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="German">de</abbr>) |
− | + | }}{{ #if: {{ #var: $it_prefix }} | {{ #arraymap: {{ #var: $it_prefix }} | * | $prefix | * $prefix[[Italian set and region prefix::$prefix| ]][[Italian set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Italian">it</abbr>) | |
− | }}{{ #if: {{ #var: $fr_prefix }} | + | }}{{ #if: {{ #var: $pt_prefix }} | {{ #arraymap: {{ #var: $pt_prefix }} | * | $prefix | * $prefix[[Portuguese set and region prefix::$prefix| ]][[Portuguese set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Portuguese">pt</abbr>) |
− | + | }}{{ #if: {{ #var: $sp_prefix }} | {{ #arraymap: {{ #var: $sp_prefix }} | * | $prefix | * $prefix[[Spanish set and region prefix::$prefix| ]][[Spanish set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Spanish">sp</abbr>) | |
− | }}{{ #if: {{{fc_prefix<includeonly>|</includeonly>}}} | + | }}{{ #if: {{ #var: $jp_prefix }} | {{ #arraymap: {{ #var: $jp_prefix }} | * | $prefix | * $prefix[[Japanese set and region prefix::$prefix| ]][[Japanese set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Japanese">jp</abbr>) |
− | + | }}{{ #if: {{ #var: $ja_prefix }} | {{ #arraymap: {{ #var: $ja_prefix }} | * | $prefix | * $prefix[[Japanese-Asian set and region prefix::$prefix| ]][[Japanese-Asian set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Japanese-Asian">ja</abbr>) | |
− | }}{{ #if: {{ #var: $de_prefix }} | + | }}{{ #if: {{ #var: $ae_prefix }} | {{ #arraymap: {{ #var: $ae_prefix }} | * | $prefix | * $prefix[[Asian-English set and region prefix::$prefix| ]][[Asian-English set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Asian-English">ae</abbr>) |
− | + | }}{{ #if: {{ #var: $tc_prefix }} | {{ #arraymap: {{ #var: $tc_prefix }} | * | $prefix | * $prefix[[Traditional Chinese set and region prefix::$prefix| ]][[Traditional Chinese set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Traditional Chinese">tc</abbr>) | |
− | }}{{ #if: {{ #var: $it_prefix }} | + | }}{{ #if: {{ #var: $sc_prefix }} | {{ #arraymap: {{ #var: $sc_prefix }} | * | $prefix | * $prefix[[Simplified Chinese set and region prefix::$prefix| ]][[Simplified Chinese set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Simplified Chinese">sc</abbr>) |
− | + | }}{{ #if: {{ #var: $kr_prefix }} | {{ #arraymap: {{ #var: $kr_prefix }} | * | $prefix | * $prefix[[Korean set and region prefix::$prefix| ]][[Korean set prefix::{{ #explode: $prefix | - }}| ]] | \n }} (<abbr title="Korean">kr</abbr>) | |
− | }}{{ #if: {{ #var: $pt_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $sp_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $jp_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $ja_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $ae_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $tc_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $sc_prefix }} | ||
− | |||
− | }}{{ #if: {{ #var: $kr_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: $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 }} | ||
| * {{ #var: $tcg_prefix }}[[TCG set prefix::{{ #var: $tcg_prefix }}| ]] (<abbr title="Trading Card Game">''TCG''</abbr>) | | * {{ #var: $tcg_prefix }}[[TCG set prefix::{{ #var: $tcg_prefix }}| ]] (<abbr title="Trading Card Game">''TCG''</abbr>) | ||
Line 288: | Line 273: | ||
}} | }} | ||
}}{{ #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 }}{{ #var: $jp_prefix }}{{ #var: $ja_prefix }}{{ #var: $ae_prefix }}{{ #var: $kr_prefix }}{{ #var: $tc_prefix }}{{ #var: $sc_prefix }} || {{ #var: $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 }}{{ #var: $jp_prefix }}{{ #var: $ja_prefix }}{{ #var: $ae_prefix }}{{ #var: $kr_prefix }}{{ #var: $tc_prefix }}{{ #var: $sc_prefix }} || {{ #var: $prefix }} | ||
− | }} | + | }}<includeonly>{{ #arraydefine: @prefixes | {{{prefix|}}}*{{{ocg_prefix|}}}*{{{tcg_prefix|}}}*{{{en_prefix|}}}*{{{na_prefix|}}}*{{{eu_prefix|}}}*{{{oc_prefix|}}}*{{{fr_prefix|}}}*{{{fc_prefix|}}}*{{{de_prefix|}}}*{{{it_prefix|}}}*{{{pt_prefix|}}}*{{{sp_prefix|}}}*{{{jp_prefix|}}}*{{{ja_prefix|}}}*{{{ae_prefix|}}}*{{{kr_prefix|}}}*{{{tc_prefix|}}}*{{{sc_prefix|}}}*{{{zh_prefix|}}} | * | unique |
+ | }}{{ #arraydefine: @prefixes | {{ #arrayprint: @prefixes | , | $prefix | {{ #explode: $prefix | - }}{{ #if: {{ #pos: $prefix | RD/ }} | , {{ #explode: {{ #explode: $prefix | RD/ | 1 }} | - }} }} }} | , | unique | ||
+ | }}{{ #arraydefine: @prefixes | {{ #arrayprint: @prefixes | , | $prefix | {{ #ifexist: $prefix | {{ #ifeq: {{target of|$prefix}} | {{ #var: $pagename }} || [[$prefix]][[Category:Set prefix redirects pointing to the wrong page]]<!-- this will incorrectly categorize set prefix dabpages as well, but for now I want to see everything that exists and isn't a redirect to the current page --> }} | <span class="plainlinks">[{{fullurl:$prefix|action=edit&redlink=1&preload={{urlencode:Template:R from set prefix/preload}}&preloadparams%5B%5D={{urlencode:{{ #var: $pagename }}}} }} <span style="color: #ba0000; text-decoration: inherit;" title="$prefix (page does not exist)">$prefix</span>]</span>[[Category:Sets needing a set prefix redirect]] }} }} | , | unique | ||
+ | }}{{ #ifeq: {{ #arraysize: @prefixes }} | 0 || <div class="sysop-show">'''These prefixes need redirects created or otherwise checked:''' {{ #arrayprint: @prefixes }}</div> | ||
+ | }} | ||
+ | </includeonly> | ||
| label8 = Order number | | label8 = Order number | ||
| data8 = {{{order_number<includeonly>|</includeonly>}}} | | data8 = {{{order_number<includeonly>|</includeonly>}}} | ||
− | | | + | | label9 = Number of cards |
| data9 = {{{size<includeonly>|</includeonly>}}} | | data9 = {{{size<includeonly>|</includeonly>}}} | ||
Line 327: | Line 317: | ||
-->{{ #if: {{ #arrayindex: @ko_database_id | 0 }} |   | -->{{ #if: {{ #arrayindex: @ko_database_id | 0 }} |   | ||
* {{ #arrayprint: @ko_database_id |  /  | $ko_db_id | {{Database link|set|$ko_db_id|$ko_db_id|rush_duel={{ #pos: {{{medium}}} | Rush Duel }}|lang=ko}}[[Korean database ID::$ko_db_id| ]] }} (<abbr title="Korean">ko</abbr>) | * {{ #arrayprint: @ko_database_id |  /  | $ko_db_id | {{Database link|set|$ko_db_id|$ko_db_id|rush_duel={{ #pos: {{{medium}}} | Rush Duel }}|lang=ko}}[[Korean database ID::$ko_db_id| ]] }} (<abbr title="Korean">ko</abbr>) | ||
+ | }}<!-- | ||
+ | -->{{ #if: {{ #arrayindex: @ae_database_id | 0 }} |   | ||
+ | * {{ #arrayprint: @ae_database_id |  /  | $ae_db_id | {{Database link|set|$ae_db_id|$ae_db_id|rush_duel={{ #pos: {{{medium}}} | Rush Duel }}|lang=ae}}[[Asian-English database ID::$ae_db_id| ]] }} (<abbr title="Asian-English">ae</abbr>) | ||
}}<!-- | }}<!-- | ||
-->{{ #if: {{ #arrayindex: @sc_database_id | 0 }} |   | -->{{ #if: {{ #arrayindex: @sc_database_id | 0 }} |   | ||
Line 344: | Line 337: | ||
| label3 = [[Sneak Peek Participation Cards|Sneak Peek]] | | label3 = [[Sneak Peek Participation Cards|Sneak Peek]] | ||
− | | data3 = {{ #if: {{{sneak_peek<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{sneak_peek<noinclude>|yes</noinclude>}}} }} | yes | true = [[{{ #var: $ | + | | data3 = {{ #if: {{{sneak_peek<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{sneak_peek<noinclude>|yes</noinclude>}}} }} | yes | true = [[{{ #var: $pagename_nodab }} Sneak Peek Participation Card|''{{ #var: $pagename_nodab }}'' Sneak Peek]] | #default = {{autolink|{{{sneak_peek}}}}} }} }} |
| label4 = [[Premiere!]] | | label4 = [[Premiere!]] | ||
− | | data4 = {{ #if: {{{premiere<includeonly>|</includeonly>}}} | [[{{ #var: $ | + | | data4 = {{ #if: {{{premiere<includeonly>|</includeonly>}}} | [[{{ #var: $pagename_nodab }} Premiere! promotional card|''{{ #var: $pagename_nodab }}'' Premiere!]] }} |
| label5 = [[2-pack set]] | | label5 = [[2-pack set]] | ||
− | | data5 = {{ #if: {{{2-pack_set<includeonly>|</includeonly>}}} | [[{{ #var: $ | + | | data5 = {{ #if: {{{2-pack_set<includeonly>|</includeonly>}}} | [[{{ #var: $pagename_nodab }} 2-Pack Set|''{{ #var: $pagename_nodab }}'' 2-Pack Set]] }} |
| label6 = [[Vendor Edition]] | | label6 = [[Vendor Edition]] | ||
− | | data6 = {{ #if: {{{vendor_edition<includeonly>|</includeonly>}}} | ''[[{{ #var: $ | + | | data6 = {{ #if: {{{vendor_edition<includeonly>|</includeonly>}}} | ''[[{{ #var: $pagename_nodab }}: Vendor Edition]]'' }} |
| label7 = [[Special Edition]] | | label7 = [[Special Edition]] | ||
− | | data7 = {{ #if: {{{special_edition<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{special_edition<noinclude>|yes</noinclude>}}} }} | yes | true = ''[[{{ #var: $ | + | | data7 = {{ #if: {{{special_edition<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{special_edition<noinclude>|yes</noinclude>}}} }} | yes | true = ''[[{{ #var: $pagename_nodab }}: Special Edition]]'' | #default = {{autolink|{{{special_edition}}}}} }} }} |
| label8 = [[Deluxe Edition]] | | label8 = [[Deluxe Edition]] | ||
− | | data8 = {{ #if: {{{deluxe_edition<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{deluxe_edition<noinclude>|yes</noinclude>}}} }} | yes | true = ''[[{{ #var: $ | + | | data8 = {{ #if: {{{deluxe_edition<includeonly>|</includeonly>}}} | {{ #switch: {{ lc: {{{deluxe_edition<noinclude>|yes</noinclude>}}} }} | yes | true = ''[[{{ #var: $pagename_nodab }}: Deluxe Edition]]'' | #default = {{autolink|{{{deluxe_edition}}}}} }} }} |
| label9 = Other | | label9 = Other | ||
Line 383: | Line 376: | ||
| label2 = Japanese | | label2 = Japanese | ||
− | | data2 = | + | | data2 = {{{jp_release_date<includeonly>|</includeonly>}}} |
− | |||
| label3 = Japanese-Asian | | label3 = Japanese-Asian | ||
− | | data3 = | + | | data3 = {{{ja_release_date<includeonly>|</includeonly>}}} |
− | |||
| label4 = Asian-English | | label4 = Asian-English | ||
− | | data4 = | + | | data4 = {{{ae_release_date<includeonly>|</includeonly>}}} |
| label5 = English (<abbr title="Worldwide">world</abbr>) | | label5 = English (<abbr title="Worldwide">world</abbr>) | ||
− | | data5 | + | | data5 = {{{en_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label6 = English (<abbr title="North America">na</abbr>) | | label6 = English (<abbr title="North America">na</abbr>) | ||
− | | data6 | + | | data6 = {{{na_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label7 = English (<abbr title="Europe">eu</abbr>) | | label7 = English (<abbr title="Europe">eu</abbr>) | ||
− | | data7 | + | | data7 = {{{eu_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label8 = English (<abbr title="Oceania">oc</abbr>) | | label8 = English (<abbr title="Oceania">oc</abbr>) | ||
− | | data8 | + | | data8 = {{{oc_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label9 = Traditional Chinese | | label9 = Traditional Chinese | ||
− | | data9 = {{ #if: {{{tc_release_date | + | | data9 = {{ #if: {{{tc_release_date<includeonly>|</includeonly>}}} |
− | + | | {{{tc_release_date}}} | |
+ | | {{{zh_release_date|}}} | ||
+ | }} | ||
| label10 = Simplified Chinese | | label10 = Simplified Chinese | ||
− | | data10 = | + | | data10 = {{{sc_release_date<includeonly>|</includeonly>}}} |
− | |||
| label11 = French, German,<br />Italian, Spanish | | label11 = French, German,<br />Italian, Spanish | ||
− | | data11 = {{ | + | | data11 = {{ #if: {{{fr/de/it/sp_release_date<includeonly>|</includeonly>}}} |
− | | | + | | <noinclude><span style="word-break: break-word;">{{{fr/de/it/sp_release_date}}}</span></noinclude><includeonly>{{{fr/de/it/sp_release_date|}}}</includeonly> |
}} | }} | ||
| label12 = French | | label12 = French | ||
− | | data12 | + | | data12 = {{{fr_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label13 = French (<abbr title="Canada">ca</abbr>) | | label13 = French (<abbr title="Canada">ca</abbr>) | ||
− | | data13 = | + | | data13 = {{{fc_release_date<includeonly>|</includeonly>}}} |
| label14 = German | | label14 = German | ||
− | | data14 | + | | data14 = {{{de_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label15 = Italian | | label15 = Italian | ||
− | | data15 | + | | data15 = {{{it_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label16 = Korean | | label16 = Korean | ||
− | | data16 = | + | | data16 = {{{kr_release_date<includeonly>|</includeonly>}}} |
− | |||
| label17 = Portuguese | | label17 = Portuguese | ||
− | | data17 | + | | data17 = {{{pt_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label18 = Spanish | | label18 = Spanish | ||
− | | data18 | + | | data18 = {{{sp_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
| label19 = Spanish (<abbr title="Latin America">lat-am</abbr>) | | label19 = Spanish (<abbr title="Latin America">lat-am</abbr>) | ||
− | | data19 | + | | data19 = {{{sp-lat_release_date<includeonly>|</includeonly>}}} |
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Line 503: | Line 464: | ||
| label2 = Manga | | label2 = Manga | ||
| data2 = {{ #if: {{{appears_in_manga<includeonly>|</includeonly>}}} | | data2 = {{ #if: {{{appears_in_manga<includeonly>|</includeonly>}}} | ||
− | | <div style="font-style: italic;">{{value list|{{{appears_in_manga}}}| | + | | <div style="font-style: italic;">{{value list|{{{appears_in_manga}}}|Release}}</div> |
}} | }} | ||
| label3 = Anime | | label3 = Anime | ||
| data3 = {{ #if: {{{appears_in_anime<includeonly>|</includeonly>}}} | | data3 = {{ #if: {{{appears_in_anime<includeonly>|</includeonly>}}} | ||
− | | <div style="font-style: italic;">{{value list|{{{appears_in_anime}}}| | + | | <div style="font-style: italic;">{{value list|{{{appears_in_anime}}}|Release}}</div> |
}} | }} | ||
| label4 = Books | | label4 = Books | ||
| data4 = {{ #if: {{{appears_in_books<includeonly>|</includeonly>}}} | | data4 = {{ #if: {{{appears_in_books<includeonly>|</includeonly>}}} | ||
− | | <div style="font-style: italic;">{{value list|{{{appears_in_books}}}| | + | | <div style="font-style: italic;">{{value list|{{{appears_in_books}}}|Release}}</div> |
}} | }} | ||
| label5 = Video games | | label5 = Video games | ||
| data5 = {{ #if: {{{appears_in_video_games<includeonly>|</includeonly>}}} | | data5 = {{ #if: {{{appears_in_video_games<includeonly>|</includeonly>}}} | ||
− | | <div style="font-style: italic;<noinclude>word-break: break-word;</noinclude>">{{value list|{{{appears_in_video_games}}}| | + | | <div style="font-style: italic;<noinclude>word-break: break-word;</noinclude>">{{value list|{{{appears_in_video_games}}}|Release}}</div> |
}} | }} | ||
}} | }} | ||
Line 542: | Line 503: | ||
</div><br style="clear: left;" />{{ | </div><br style="clear: left;" />{{ | ||
#if: {{{curr|}}} | #if: {{{curr|}}} | ||
− | | {{ #if: {{ #pos: {{{curr}}} | ''' }}{{ #ifexpr: ({{ #pos: {{{curr}}}* | * }} = 0) | 1 }} | {{{curr}}} | '''{{{curr}}}''' }} | + | | {{ #if: {{ #pos: {{{curr}}} | '<noinclude/>'<noinclude/>' }}{{ #ifexpr: ({{ #pos: {{{curr}}}* | * }} = 0) | 1 }} | {{{curr}}} | '''{{{curr}}}''' }} |
− | | '''''{{ #if: {{{en_name|}}} | {{{en_name}}} | {{ #var: $ | + | | '''''{{ #if: {{{en_name|}}} | {{{en_name}}} | {{ #var: $pagename_nodab }} }}''''' |
}}<br /> | }}<br /> | ||
<div class="nav-next"> | <div class="nav-next"> | ||
Line 566: | Line 527: | ||
Properties and categories below here | Properties and categories below here | ||
− | --><!-- | + | == Properties == |
+ | |||
+ | -->[[Japanese release date::{{ #explode: {{{jp_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[Japanese-Asian release date::{{ #explode: {{{ja_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[Asian-English release date::{{ #explode: {{{ae_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[Simplified Chinese release date::{{ #explode: {{{sc_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[Traditional Chinese release date::{{ #explode: {{ #if: {{{tc_release_date|}}} | {{{tc_release_date}}} | {{{zh_release_date|}}} }} | <ref }}| ]]<!-- | ||
+ | -->[[Korean release date::{{ #explode: {{{kr_release_date|}}} | <ref }}| ]]<!-- | ||
+ | |||
+ | -->[[Worldwide English release date::{{ #explode: {{{en_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[North American English release date::{{ #explode: {{{na_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[European English release date::{{ #explode: {{{eu_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[Oceanic English release date::{{ #explode: {{{oc_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[French release date::{{ #explode: {{ #var: $fr_release_date }} | <ref }}| ]]<!-- | ||
+ | -->[[French-Canadian release date::{{ #explode: {{{fc_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[German release date::{{ #explode: {{ #var: $de_release_date }} | <ref }}| ]]<!-- | ||
+ | -->[[Italian release date::{{ #explode: {{ #var: $it_release_date }} | <ref }}| ]]<!-- | ||
+ | -->[[Portuguese release date::{{ #explode: {{{pt_release_date|}}} | <ref }}| ]]<!-- | ||
+ | -->[[European Spanish release date::{{ #explode: {{ #var: $sp_release_date }} | <ref }}| ]]<!-- | ||
+ | -->[[Latin American Spanish release date::{{ #explode: {{{sp-lat_release_date|}}} | <ref }}| ]]<!-- | ||
Store the earlier of the two Spanish release dates. | Store the earlier of the two Spanish release dates. | ||
Line 576: | Line 556: | ||
}}| ]] | }}| ]] | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
-->{{ #if: {{{e_release_date|}}} | [[English (E) release date::{{{e_release_date}}}| ]] }}<!-- | -->{{ #if: {{{e_release_date|}}} | [[English (E) release date::{{{e_release_date}}}| ]] }}<!-- | ||
Line 662: | Line 640: | ||
| [[Category:Sets without a Korean database ID]] | | [[Category:Sets without a Korean database ID]] | ||
| {{ #if: {{ #var: $ko_release }} | [[Category:Set pages needing a Korean database ID]] }} | | {{ #if: {{ #var: $ko_release }} | [[Category:Set pages needing a Korean database ID]] }} | ||
+ | }} | ||
+ | }}{{ #if: {{ #arrayindex: @ae_database_id | 0 }} | ||
+ | || {{ #ifeq: {{{ae_database_id}}} | none | ||
+ | | [[Category:Sets without an Asian-English database ID]] | ||
+ | | {{ #if: {{ #var: $ae_release }} | [[Category:Set pages needing an Asian-English database ID]] }} | ||
}} | }} | ||
}}{{ #if: {{ #arrayindex: @sc_database_id | 0 }} | }}{{ #if: {{ #arrayindex: @sc_database_id | 0 }} | ||
Line 683: | Line 666: | ||
| order_number | size | cover_card | release_date | | order_number | size | cover_card | release_date | ||
| parent_set | main_set | sneak_peek | premiere | 2-pack_set | vendor_edition | special_edition | deluxe_edition | other_sets | | parent_set | main_set | sneak_peek | premiere | 2-pack_set | vendor_edition | special_edition | deluxe_edition | other_sets | ||
− | | database_id | en_database_id | fr_database_id | de_database_id | it_database_id | pt_database_id | es_database_id | ja_database_id | ko_database_id | sc_database_id | + | | database_id | en_database_id | fr_database_id | de_database_id | it_database_id | pt_database_id | es_database_id | ja_database_id | ko_database_id | ae_database_id | sc_database_id |
| en_release_date | na_release_date | eu_release_date | e_release_date | oc_release_date | a_release_date | fc_release_date | fr/de/it/sp_release_date | fr_release_date | de_release_date | it_release_date | pt_release_date | sp_release_date | sp-lat_release_date | es-lat_release_date | jp_release_date | ja_release_date | kr_release_date | ae_release_date | zh_release_date | tc_release_date | sc_release_date | | en_release_date | na_release_date | eu_release_date | e_release_date | oc_release_date | a_release_date | fc_release_date | fr/de/it/sp_release_date | fr_release_date | de_release_date | it_release_date | pt_release_date | sp_release_date | sp-lat_release_date | es-lat_release_date | jp_release_date | ja_release_date | kr_release_date | ae_release_date | zh_release_date | tc_release_date | sc_release_date | ||
| isbn | ean | upc | | isbn | ean | upc |
Latest revision as of 17:40, 8 April 2024
[[File:|0px|{{{caption}}}]] | |||||||||
Names | |||||||||
---|---|---|---|---|---|---|---|---|---|
English |
| ||||||||
French | {{{fr_name}}} | ||||||||
German | {{{de_name}}} | ||||||||
Italian | {{{it_name}}} | ||||||||
Portuguese | {{{pt_name}}} | ||||||||
Spanish | {{{es_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 | |||||||||
Traditional Chinese | {{{tc_name}}} | ||||||||
Simplified Chinese | {{{sc_name}}} | ||||||||
Hanzi | {{{tc_name}}} | ||||||||
Bopomofo | {{{tc_name}}} | ||||||||
Pinyin | {{{pinyin_name}}} | ||||||||
Jyutping | {{{jyutping_name}}} | ||||||||
Translated | {{{zh_trans_name}}} | ||||||||
Set information | |||||||||
Medium | OCG/TCG | ||||||||
Type |
| ||||||||
Part of series | [[{{{series}}}|{{{series}}}]] | ||||||||
Parent set | [[{{{parent_set}}}]] | ||||||||
Prefix |
| ||||||||
Order number | {{{order_number}}} | ||||||||
Number of cards | {{{size}}} | ||||||||
Cover card |
| ||||||||
Release date | {{{release_date}}} | ||||||||
Yugioh-Card database ID |
| ||||||||
Related sets | |||||||||
Main set | [[{{{main_set}}}]] | ||||||||
Sneak Peek | ' Sneak Peek | ||||||||
Premiere! | ' Premiere! | ||||||||
2-pack set | ' 2-Pack Set | ||||||||
Vendor Edition | Vendor Edition | ||||||||
Special Edition | Special Edition | ||||||||
Deluxe Edition | Deluxe Edition | ||||||||
Other | [[{{{other_sets}}}]] | ||||||||
Release dates | |||||||||
Japanese | {{{jp_release_date}}} | ||||||||
Japanese-Asian | {{{ja_release_date}}} | ||||||||
Asian-English | {{{ae_release_date}}} | ||||||||
English (world) | {{{en_release_date}}} | ||||||||
English (na) | {{{na_release_date}}} | ||||||||
English (eu) | {{{eu_release_date}}} | ||||||||
English (oc) | {{{oc_release_date}}} | ||||||||
Traditional Chinese | {{{tc_release_date}}} | ||||||||
Simplified Chinese | {{{sc_release_date}}} | ||||||||
French, German, Italian, Spanish | {{{fr/de/it/sp_release_date}}} | ||||||||
French | {{{fr_release_date}}} | ||||||||
French (ca) | {{{fc_release_date}}} | ||||||||
German | {{{de_release_date}}} | ||||||||
Italian | {{{it_release_date}}} | ||||||||
Korean | {{{kr_release_date}}} | ||||||||
Portuguese | {{{pt_release_date}}} | ||||||||
Spanish | {{{sp_release_date}}} | ||||||||
Spanish (lat-am) | {{{sp-lat_release_date}}} | ||||||||
Identifiers | |||||||||
ISBN | {{{isbn}}} | ||||||||
EAN | {{{ean}}} | ||||||||
UPC | {{{upc}}} | ||||||||
Appearances | |||||||||
Manga |
| ||||||||
Anime |
| ||||||||
Books |
| ||||||||
Video games |
| ||||||||
''''' |