Difference between revisions of "Template:Type card list"

From Yugipedia
Jump to: navigation, search
(Undo revision 2317291 by 75.82.126.237 (talk) - that doesn't do any good if the queries aren't updated as well, and there's currently no point in such granularity anyways; simplify)
(move main code to /core)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__{{ #if: {{ #arraymap: }} | {{SMW notice}} }}{{TOC}}This is a '''list of [[:{{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}]]-[[Type]] {{
+
<includeonly>{{Attribute card list/core
   #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }}
+
| name = {{ #explode: {{ #explode: {{PAGENAME}} | | 2 }} | - }}
  | monsters          = [[Monster Card]]s
+
 
   | support cards     = [[support]] cards
+
| type = {{
   | anti-support cards = [[anti-support]] cards
+
   #switch: {{ #explode: {{PAGENAME}} | | -2 }}
}}'''.
+
   | support      = support
{{
+
   | anti-support = anti-support
  #if: {{ #pos: {{PAGENAME}} | -Type monsters }}
+
   | #default    = member
   ||
 
* For a list of monsters, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type monsters]].
 
}}{{
 
  #if: {{ #pos: {{PAGENAME}} | -Type support cards }}
 
  || 
 
* For a list of [[support]] cards, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type support cards]].
 
}}{{
 
  #if: {{ #pos: {{PAGENAME}} | -Type anti-support cards }}
 
  ||
 
* For a list of [[anti-support]] cards, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type anti-support cards]].
 
 
}}
 
}}
== ''OCG''/''TCG'' {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type {{ #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }} | monsters = Monster Cards | support cards = support cards | anti-support cards = anti-support cards }} ==
+
}}</includeonly><noinclude>[[Category:Card list templates]]</noinclude>
{{ #ask: [[Class 1::Official]] [[{{ #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }} | monsters = Type | support cards = Support | anti-support cards = Anti-support }}::{{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}]] |?Japanese name |?Rank |?Level |?Attribute |?Card type |?Monster type |?ATK |?DEF |??ATK |??DEF |class = sortable wikitable smwtable card-list }}
 
 
 
== All {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type {{ #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }} | monsters = Monster Cards | support cards = support cards | anti-support cards = anti-support cards }} ==
 
{{ #ask: [[{{ #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }} | monsters = Type | support cards = Support | anti-support cards = Anti-support }}::{{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}]] |?Japanese name |?Rank |?Level |?Attribute |?Card type |?Monster type |?ATK |?DEF |??ATK |??DEF |class = sortable wikitable smwtable card-list }}
 
 
 
{{Card lists}}
 
 
 
[[Category:{{ #if: {{ #pos: {{PAGENAME}} | -Type monsters }} | Monsters | Cards }} by Type {{ #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }} | support cards = support | anti-support cards = anti-support }}|{{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}]]</includeonly><noinclude>
 
[[Category:Card list templates|{{PAGENAME}}]]
 
</noinclude>
 

Revision as of 02:35, 20 April 2013