Difference between revisions of "Template:Archseries card list"

From Yugipedia
Jump to: navigation, search
(add tracking category for unnecessary uses of {{{1}}}; add series member lists to "Cards by series" category instead of "Cards by archetype"; a couple other tweaks)
Line 29: Line 29:
 
     | "{{ #explode: {{PAGENAME}} | " | 1 }}" cards also receive support from {{ #arraymap: {{{more support}}} | , | $x$ | [[$x$]] }} support cards; see {{
 
     | "{{ #explode: {{PAGENAME}} | " | 1 }}" cards also receive support from {{ #arraymap: {{{more support}}} | , | $x$ | [[$x$]] }} support cards; see {{
 
       #if: {{ #pos: {{{more support}}} | , }}
 
       #if: {{ #pos: {{{more support}}} | , }}
       | those archetypes' support card lists
+
       | those archetypes' support card lists ({{ #arraymap: {{{more support}}} | , | $x$ | [[List of "$x$" support cards|$x$]] }})
 
       | that archetype's [[List of "{{{more support}}}" support cards|support card list]]
 
       | that archetype's [[List of "{{{more support}}}" support cards|support card list]]
 
     }} for those cards.
 
     }} for those cards.
 
   }}
 
   }}
 
}}
 
}}
== All ''OCG''/''TCG'' "{{ #explode: {{PAGENAME}} | " | 1 }}" {{ #switch: {{ #explode: {{PAGENAME}} | " | 2 }} | support cards = support | anti-support cards = anti-support }} cards ==
+
== ''OCG''/''TCG'' "{{ #explode: {{PAGENAME}} | " | 1 }}" {{ #switch: {{ #explode: {{PAGENAME}} | " | 2 }} | support cards = support | anti-support cards = anti-support }} cards ==
 
{{ #ask: [[Class 1::Official]] [[{{ #switch: {{ #explode: {{PAGENAME}} | " | 2 }} | cards = Archetypes | support cards = Archetypes Support | anti-support cards = Anti-Support }}::{{ #if: {{{1|}}} | {{{1}}} | {{ #explode: {{PAGENAME}} | " | 1 }} }}]] |?Japanese Name |?Rank |?Level |?Attribute |?Type |?Card Type |?Monster Type |?ATK |?DEF}}
 
{{ #ask: [[Class 1::Official]] [[{{ #switch: {{ #explode: {{PAGENAME}} | " | 2 }} | cards = Archetypes | support cards = Archetypes Support | anti-support cards = Anti-Support }}::{{ #if: {{{1|}}} | {{{1}}} | {{ #explode: {{PAGENAME}} | " | 1 }} }}]] |?Japanese Name |?Rank |?Level |?Attribute |?Type |?Card Type |?Monster Type |?ATK |?DEF}}
  
Line 42: Line 42:
 
{{Card lists}}
 
{{Card lists}}
  
[[Category:Cards by archetype {{ #switch: {{ #explode: {{PAGENAME}} | " | 2 }} | support cards = support | anti-support cards = anti-support }}|{{ #explode: {{PAGENAME}} | " | 1 }}]]
+
[[Category:Cards by {{
</includeonly>
+
  #if: {{ #ask: [[Archetypes Support::{{ #if: {{{1|}}} | {{{1}}} | {{ #explode: {{PAGENAME}} | &quot; | 1 }} }}]] OR [[Anti-Support::{{ #if: {{{1|}}} | {{{1}}} | {{ #explode: {{PAGENAME}} | &quot; | 1 }} }}]] }}
 +
  | archetype
 +
  | series
 +
}} {{ #switch: {{ #explode: {{PAGENAME}} | &quot; | 2 }} | support cards = support | anti-support cards = anti-support }}|{{ #explode: {{PAGENAME}} | &quot; | 1 }}]]
 +
{{
 +
  #ifeq: {{ #explode: {{PAGENAME}} | &quot; | 1 }} | {{{1}}}
 +
  | [[Category:Archetype card list transclusions with unnecessary name parameter]]
 +
}}</includeonly>

Revision as of 07:13, 1 November 2011