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)
("Immortal (manga)" renamed to "Invincible")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__{{ #if: {{ #arraymap: }} | {{SMW notice}} }}{{TOC}}This is a '''list of [[:{{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}]]-[[Type]] {{
+
{{ #varexists: $smw || {{ #vardefine: $smw | {{ #if: {{ #set: }} || 1 }} }}<!-- standard implementation -->
  #switch: {{ #explode: {{PAGENAME}} | -Type | 1 }}
+
}}{{ #vardefine: $pagename | {{PAGENAME<noinclude>:List of Invincible-Type support cards</noinclude>}}
  | monsters          = [[Monster Card]]s
+
}}{{ #vardefine: $type_link | {{ #sub: {{ #explode: {{ #var: $pagename }} | -Type | 0 }} | 8 }}
  | support cards      = [[support]] cards
+
}}{{ #switch: {{ #var: $type_link }} | Daemon | Gadget | Galaxy | Knight | Magic = {{ #vardefine: $type_link | {{ #var: $type_link }} (Type) }}
  | anti-support cards = [[anti-support]] cards
+
}}{{ #vardefine: $type_name | {{trim|{{ #explode: {{ #var: $type_link }} | ( }}}}
}}'''.
+
}}{{ #vardefine: $type_list_name | {{trim|{{ #explode: {{ #var: $type_link }} | (Type }}}}
{{
+
}}{{ #vardefine: $list_type | {{ #explode: {{ #var: $pagename }} || -2 }}
  #if: {{ #pos: {{PAGENAME}} | -Type monsters }}
+
}}{{ #vardefine: $list_type | {{ #switch: {{ #var: $list_type }} | support | anti-support = {{ #var: $list_type }} }}
  ||  
+
}}{{Card list
* For a list of monsters, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type monsters]].
+
| type = {{ #if: {{ #var: $list_type }} || monster }}
}}{{
+
| intro = {{ #if: {{ #var: $smw }} || {{SMW notice}} }}This is a '''list of [[{{ #var: $type_link }}|{{ #var: $type_name }}]]-[[Type]] {{ #if: {{ #var: $list_type }} | [[{{ #var: $list_type }}]] cards | [[Monster Card|monsters]] }}'''.
  #if: {{ #pos: {{PAGENAME}} | -Type support cards }}
+
{{ #if: {{ #var: $list_type }} |  
  ||
+
* For a list of cards, see [[List of {{ #var: $type_list_name }}-Type monsters]].
* For a list of [[support]] cards, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type support cards]].
+
}}{{ #ifeq: {{ #var: $list_type }} | support || {{ #ifexpr: {{ #ask: [[Support::{{ #var: $type_link }}]] | format=count }} > 0 |  
}}{{
+
* For a list of [[support]] cards, see [[List of {{ #var: $type_list_name }}-Type support cards]].
  #if: {{ #pos: {{PAGENAME}} | -Type anti-support cards }}
+
}} }}{{ #ifeq: {{ #var: $list_type }} | anti-support || {{ #ifexpr: {{ #ask: [[Anti-support::{{ #var: $type_link }}]] | format=count }} > 0 |  
  ||  
+
* For a list of [[anti-support]] cards, see [[List of {{ #var: $type_list_name }}-Type anti-support cards]].
* For a list of [[anti-support]] cards, see [[List of {{ #sub: {{ #explode: {{PAGENAME}} | -Type | 0 }} | 8 }}-Type anti-support cards]].
+
}} }}
 +
| header_pattern = {{ #var: $type_name }}-Type {{ #var: $list_type }} $type
 +
| query = [[{{ #var: $list_type | Type }}::{{ #var: $type_link }}]]
 +
| navboxes = {{Card lists}}
 +
| categories = [[Category:{{ #if: {{ #var: $list_type }} | Cards | Monsters }} by Type {{ #var: $list_type }}|{{ #var: $type_link }}]]
 +
| t = 1
 
}}
 
}}
== ''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 }} ==
 
{{ #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 }} ==
+
<noinclude>[[Category:Card list templates]]</noinclude>
{{ #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>
 

Latest revision as of 22:21, 19 April 2024

This is a list of Invincible-Type support cards.

Invincible-Type support cards

NameJapanese nameCard typeProperty
Call of the Haunted (manga)リビング・デッド生ける屍ごえSpell CardContinuous Spell Card