Difference between revisions of "Template:Set navigation"

From Yugipedia
Jump to: navigation, search
(rm a few newlines)
(these are regions, not languages)
Line 19: Line 19:
 
     | [[Set Card Ratios:{{ #var: $list-url-name }} {{ #if: {{{ratios|}}} | ({{{ratios}}}) }}|Ratios]]
 
     | [[Set Card Ratios:{{ #var: $list-url-name }} {{ #if: {{{ratios|}}} | ({{{ratios}}}) }}|Ratios]]
 
   }}{{ #if: {{ #pos: {{{lists<noinclude>|,</noinclude>}}} | , }}
 
   }}{{ #if: {{ #pos: {{{lists<noinclude>|,</noinclude>}}} | , }}
     || ; [[Set Card Lists:{{ #var: $list-url-name }} {{ #if: {{{lists|}}} | ({{ #ifexpr: {{ #len: {{{lists}}} }} > 2 | {{lang|{{{lists}}}|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|{{{lists}}}}} | JP | JA | KR | AE | TC = OCG | TCG }}-{{{lists}}} }}) }}|List]]
+
     || ; [[Set Card Lists:{{ #var: $list-url-name }} {{ #if: {{{lists|}}} | ({{ #ifexpr: {{ #len: {{{lists}}} }} > 2 | {{region|{{{lists}}}|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|{{{lists}}}}} | JP | JA | KR | AE | TC = OCG | TCG }}-{{{lists}}} }}) }}|List]]
 
   }}{{ #if: {{ #pos: {{{1e_galleries<noinclude>|,</noinclude>}}}{{{ue_galleries}}}{{{le_galleries}}} | , }}
 
   }}{{ #if: {{ #pos: {{{1e_galleries<noinclude>|,</noinclude>}}}{{{ue_galleries}}}{{{le_galleries}}} | , }}
 
     || {{ #if: {{ #var: $galleries }} | ; Galleries }}{{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}
 
     || {{ #if: {{ #var: $galleries }} | ; Galleries }}{{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{1e_galleries}}} }} > 2 | {{lang|{{{1e_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{ue_galleries|}}}{{{le_galleries|}}} | -1E }} | {{ #switch: {{ln|{{{1e_galleries}}}}} | KR | AE | TC = OCG | TCG }}-{{{1e_galleries}}}-1E }})|{{ #if: {{ #var: $galleries }} | 1st Edition | Gallery }}]]
+
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{1e_galleries}}} }} > 2 | {{region|{{{1e_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{ue_galleries|}}}{{{le_galleries|}}} | -1E }} | {{ #switch: {{ln|{{{1e_galleries}}}}} | KR | AE | TC = OCG | TCG }}-{{{1e_galleries}}}-1E }})|{{ #if: {{ #var: $galleries }} | 1st Edition | Gallery }}]]
 
     }}{{ #if: {{{ue_galleries<includeonly>|</includeonly>}}}
 
     }}{{ #if: {{{ue_galleries<includeonly>|</includeonly>}}}
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{ue_galleries}}} }} > 2 | {{lang|{{{ue_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{1e_galleries|}}}{{{le_galleries|}}} | {{ #switch: {{{ue_galleries}}} | Japanese | JP | Japanese-Asian | JA | Chinese | TC = | #default = -UE }} }} | {{ #switch: {{ln|{{{ue_galleries}}}}} | JP | JA | KR | AE | TC = OCG | TCG }}-{{{ue_galleries}}}{{ #switch: {{{ue_galleries}}} | Japanese | JP | Japanese-Asian | JA | Chinese | TC = | #default = -UE }} }})|{{ #if: {{ #var: $galleries }} | Unlimited Edition | Gallery }}]]
+
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{ue_galleries}}} }} > 2 | {{region|{{{ue_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{1e_galleries|}}}{{{le_galleries|}}} | {{ #switch: {{{ue_galleries}}} | Japanese | JP | Japanese-Asian | JA | Chinese | TC = | #default = -UE }} }} | {{ #switch: {{ln|{{{ue_galleries}}}}} | JP | JA | KR | AE | TC = OCG | TCG }}-{{{ue_galleries}}}{{ #switch: {{{ue_galleries}}} | Japanese | JP | Japanese-Asian | JA | Chinese | TC = | #default = -UE }} }})|{{ #if: {{ #var: $galleries }} | Unlimited Edition | Gallery }}]]
 
     }}{{ #if: {{{le_galleries<includeonly>|</includeonly>}}}
 
     }}{{ #if: {{{le_galleries<includeonly>|</includeonly>}}}
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{le_galleries}}} }} > 2 | {{lang|{{{le_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{1e_galleries|}}}{{{ue_galleries|}}} | -LE }} | {{ #switch: {{ln|{{{le_galleries}}}}} | KR | TC = OCG | TCG }}-{{{le_galleries}}}-LE }})|{{ #if: {{ #var: $galleries }} | Limited Edition | Gallery }}]]
+
       | {{ #if: {{ #var: $galleries }} | : | ; }} [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: {{{le_galleries}}} }} > 2 | {{region|{{{le_galleries}}}|short=y|english=n|oceanic=y}}{{ #if: {{{1e_galleries|}}}{{{ue_galleries|}}} | -LE }} | {{ #switch: {{ln|{{{le_galleries}}}}} | KR | TC = OCG | TCG }}-{{{le_galleries}}}-LE }})|{{ #if: {{ #var: $galleries }} | Limited Edition | Gallery }}]]
 
     }}
 
     }}
 
   }}
 
   }}
Line 32: Line 32:
 
| list2      = {{ #if: {{ #pos: {{{lists<noinclude>|,</noinclude>}}} | , }}
 
| list2      = {{ #if: {{ #pos: {{{lists<noinclude>|,</noinclude>}}} | , }}
 
     | ; Lists {{ #arraydefine: @lists | {{{lists|EN,FR,DE,IT,SP,JP,KR}}} }}{{ #arrayprint: @lists || $ln | &#32;
 
     | ; Lists {{ #arraydefine: @lists | {{{lists|EN,FR,DE,IT,SP,JP,KR}}} }}{{ #arrayprint: @lists || $ln | &#32;
: [[Set Card Lists:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{lang|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | JP | JA | KR | AE | TC = OCG | TCG }}-$ln }})|{{lang|$ln|short=y|english=n|oceanic=y}}]]
+
: [[Set Card Lists:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{region|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | JP | JA | KR | AE | TC = OCG | TCG }}-$ln }})|{{region|$ln|short=y|english=n|oceanic=y}}]]
 
}}
 
}}
 
   }}
 
   }}
Line 39: Line 39:
 
     | {{ #if: {{ #pos: {{{1e_galleries|,}}}{{{ue_galleries}}}{{{le_galleries}}} | , }}
 
     | {{ #if: {{ #pos: {{{1e_galleries|,}}}{{{ue_galleries}}}{{{le_galleries}}} | , }}
 
       | ; {{ #if: {{{ue_galleries<includeonly>|</includeonly>}}}{{{le_galleries|}}} | 1st Edition g | G }}alleries {{ #arraydefine: @1e_galleries | {{{1e_galleries|EN,FR,DE,IT,SP,KR}}} }}{{ #arrayprint: @1e_galleries || $ln | &#32;
 
       | ; {{ #if: {{{ue_galleries<includeonly>|</includeonly>}}}{{{le_galleries|}}} | 1st Edition g | G }}alleries {{ #arraydefine: @1e_galleries | {{{1e_galleries|EN,FR,DE,IT,SP,KR}}} }}{{ #arrayprint: @1e_galleries || $ln | &#32;
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{lang|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | KR | AE | TC = OCG | TCG }}-$ln }}-1E)|{{lang|$ln|short=y|english=n|oceanic=y}}]]
+
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{region|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | KR | AE | TC = OCG | TCG }}-$ln }}-1E)|{{region|$ln|short=y|english=n|oceanic=y}}]]
 
}}
 
}}
 
     }}
 
     }}
Line 47: Line 47:
 
     | {{ #if: {{ #pos: {{{ue_galleries|,}}}{{{1e_galleries|}}}{{{le_galleries|}}} | , }}
 
     | {{ #if: {{ #pos: {{{ue_galleries|,}}}{{{1e_galleries|}}}{{{le_galleries|}}} | , }}
 
       | ; {{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}{{{le_galleries|}}} | Unlimited Edition g | G }}alleries {{ #arraydefine: @ue_galleries | {{{ue_galleries|EN,FR,DE,IT,SP,JP,KR}}} }}{{ #arrayprint: @ue_galleries || $ln | &#32;
 
       | ; {{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}{{{le_galleries|}}} | Unlimited Edition g | G }}alleries {{ #arraydefine: @ue_galleries | {{{ue_galleries|EN,FR,DE,IT,SP,JP,KR}}} }}{{ #arrayprint: @ue_galleries || $ln | &#32;
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{lang|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | JP | JA | KR | AE | TC = OCG | TCG }}-$ln }}{{ #switch: $ln | Japanese | JP | Japanese-Asian | JA = | #default = -UE }})|{{lang|$ln|short=y|english=n|oceanic=y}}]]
+
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{region|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | JP | JA | KR | AE | TC = OCG | TCG }}-$ln }}{{ #switch: $ln | Japanese | JP | Japanese-Asian | JA = | #default = -UE }})|{{region|$ln|short=y|english=n|oceanic=y}}]]
 
}}
 
}}
 
     }}
 
     }}
Line 55: Line 55:
 
     | {{ #if: {{ #pos: {{{le_galleries|,}}}{{{1e_galleries|}}}{{{ue_galleries|}}} | , }}
 
     | {{ #if: {{ #pos: {{{le_galleries|,}}}{{{1e_galleries|}}}{{{ue_galleries|}}} | , }}
 
       | ; {{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}{{{ue_galleries|}}} | Limited Edition g | G }}alleries {{ #arraydefine: @le_galleries | {{{le_galleries|EN,FR,DE,IT,SP}}} }}{{ #arrayprint: @le_galleries || $ln | &#32;
 
       | ; {{ #if: {{{1e_galleries<includeonly>|</includeonly>}}}{{{ue_galleries|}}} | Limited Edition g | G }}alleries {{ #arraydefine: @le_galleries | {{{le_galleries|EN,FR,DE,IT,SP}}} }}{{ #arrayprint: @le_galleries || $ln | &#32;
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{lang|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | KR | TC = OCG | TCG }}-$ln }}-LE)|{{lang|$ln|short=y|english=n|oceanic=y}}]]
+
: [[Set Card Galleries:{{ #var: $list-url-name }} ({{ #ifexpr: {{ #len: $ln }} > 2 | {{region|$ln|short=y|english=n|oceanic=y}} | {{ #switch: {{ln|$ln}} | KR | TC = OCG | TCG }}-$ln }}-LE)|{{region|$ln|short=y|english=n|oceanic=y}}]]
 
}}
 
}}
 
     }}
 
     }}

Revision as of 01:28, 21 December 2015