Difference between revisions of "Template:Anime card/types"
(For now, we'll just get it to print the linked types.) |
(handle empty input) |
||
Line 1: | Line 1: | ||
− | {{ #arraydefine: $types-array | {{{1|}}} | / }}<!-- | + | {{ #if: {{{1|}}} |
− | -->{{ #arrayprint: $types-array | + | | {{ #arraydefine: $types-array | {{{1|}}} | / }}<!-- |
− | |  /  | + | -->{{ #arrayprint: $types-array |
− | | $type | + | |  /  |
− | | {{ #switch: $type | + | | $type |
− | + | | {{ #switch: $type | |
− | + | | Effect | Fusion | Ritual | Synchro | Dark Synchro | Accel Synchro | Limit Over Accel Synchro | Xyz | Link | Token | |
− | + | = [[$type Monster|$type]] | |
− | + | | Flip | Toon | Spirit | Union | Gemini | Armor | Plus | Minus | Plus-Minus = | |
− | + | = [[$type monster|$type]] | |
− | + | | Tuner | Dark Tuner | |
− | + | = [[$type monster|$type]] | |
− | + | | Pendulum = | |
− | + | = [[$type Monster|$type]] | |
− | + | |#default | |
+ | = [[$type]] | ||
+ | }} | ||
}} | }} | ||
}} | }} |