Changes

Jump to: navigation, search

Template:CardTable2/effect

215 bytes added, 9 years ago
show the shorter name in Property:Effect type; display a sample of monster and card type-agnostic effect types here
{{ #vardefine: $mst | {{ #if: {{{2|}}} | -like }}
}}{{ #arraydefine: @effects | {{{1|<noinclude>activation, condition, continuous, cost, effect, flip, ignition, maintenance, quick, summon, trigger</noinclude>}}}
}}{{ #arraydefine: @effects | {{ #arrayprint: @effects | , | $effect
| {{ #switch: {{ #ifeq: $effect | effect | effect | {{ #replace: $effect | effect }} }}
}}
}}{{ #arrayprint: @effects | ,&#32; | $effect
| {{IfSemantics | [[Effect type::{{ #explode: $effect | / }}|{{ #if: {{ #pos: $effect | / }} | {{ #explode: $effect | / | 1 }} | $effect }}]]{{IfSemantics | [[Effect type::{{ #explode: $effect | / }}| ]][[Effect type Text::{{ #explode: $effect | / }}| ]]{{ #if: {{ #var: $mst }} || {{ #ifeq: {{ #explode: $effect | / }} | Flip effect | [[Flip Monster::Yes| ]] }} }} | [[{{ #explode: $effect | / }}|{{ #if: {{ #pos: $effect | / }}| {{ #explode: $effect | / | 1 }} | $effect }}]]
}}
}}

Navigation menu