Difference between revisions of "Template:Anime card/types"

From Yugipedia
Jump to: navigation, search
(For now, we'll just get it to print the linked types.)
(link "Gadget" to "Gadget (Type)")
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ #arraydefine: $types-array | {{{1|}}} | / }}<!--
+
{{ #if: {{{1|}}}
-->{{ #arrayprint: $types-array
+
{{ #arraydefine: $types-array | {{{1|}}} | / }}<!--
| &#32;/&#32;
+
  -->{{ #arrayprint: $types-array
| $type
+
  | &#32;/&#32;
| {{ #switch: $type
+
  | $type
  | Effect | Fusion | Ritual | Synchro | Dark Synchro | Accel Synchro | Limit Over Accel Synchro | Xyz | Link | Token
+
  | {{ #switch: $type
    = [[$type Monster|$type]]
+
    | Normal | Effect | Fusion | Ritual | Synchro | Dark Synchro | Accel Synchro | Limit Over Accel Synchro | Xyz | Link | Maximum
  | Flip  | Toon  | Spirit | Union   | Gemini | Armor | Plus | Minus | Plus-Minus =
+
      = [[$type Monster|$type]]
    = [[$type monster|$type]]
+
    | Token
  | Tuner  | Dark Tuner
+
      = [[Monster $type|$type]]
    = [[$type monster|$type]]
+
    | Flip  | Toon  | Spirit | Union | Gemini | Armor | Plus | Minus | Plus Minus
  | Pendulum =
+
      = [[$type monster|$type]]
     = [[$type Monster|$type]]
+
    | Tuner  | Dark Tuner
  |#default  
+
      = [[$type monster|$type]]
    = [[$type]]
+
    | Pendulum
 +
      = [[$type Monster|$type]]
 +
    | Human | Business | Newspaper | Son | Swindler | Swirls
 +
      = $type
 +
     | Gadget | Galaxy | Magic
 +
      = [[$type (Type)|$type]]
 +
    | God = [[Divine-Beast|God]]
 +
    |#default  
 +
      = [[$type|{{trim|{{ #explode: $type | ( }}}}]]
 +
    }}
 
   }}
 
   }}
}}
+
}}<noinclude>
 +
 
 +
{{Documentation}}</noinclude>

Latest revision as of 00:36, 21 November 2023