Difference between revisions of "Template:Type card list"

From Yugipedia
Jump to: navigation, search
(move main code to /core)
("Immortal (manga)" renamed to "Invincible")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Attribute card list/core
+
{{ #varexists: $smw || {{ #vardefine: $smw | {{ #if: {{ #set: }} || 1 }} }}<!-- standard implementation -->
| name = {{ #explode: {{ #explode: {{PAGENAME}} | | 2 }} | - }}
+
}}{{ #vardefine: $pagename | {{PAGENAME<noinclude>:List of Invincible-Type support cards</noinclude>}}
 +
}}{{ #vardefine: $type_link | {{ #sub: {{ #explode: {{ #var: $pagename }} | -Type | 0 }} | 8 }}
 +
}}{{ #switch: {{ #var: $type_link }} | Daemon | Gadget | Galaxy | Knight | Magic = {{ #vardefine: $type_link | {{ #var: $type_link }} (Type) }}
 +
}}{{ #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 }}
 +
}}{{ #vardefine: $list_type | {{ #switch: {{ #var: $list_type }} | support | anti-support = {{ #var: $list_type }} }}
 +
}}{{Card list
 +
| 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: {{ #var: $list_type }} |
 +
* For a list of cards, see [[List of {{ #var: $type_list_name }}-Type monsters]].
 +
}}{{ #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]].
 +
}} }}{{ #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]].
 +
}} }}
 +
| 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
 +
}}
  
| type = {{
+
<noinclude>[[Category:Card list templates]]</noinclude>
  #switch: {{ #explode: {{PAGENAME}} | | -2 }}
 
  | support      = support
 
  | anti-support = anti-support
 
  | #default    = member
 
}}
 
}}</includeonly><noinclude>[[Category:Card list templates]]</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