Difference between revisions of "Template:CardTable2/effect"

From Yugipedia
Jump to: navigation, search
(show the shorter name in Property:Effect type; display a sample of monster and card type-agnostic effect types here)
(first parameter has to be lowercased anyways, so do it here just to make sure it's actually been done (and to allow proper case to be used on examples here))
Line 1: Line 1:
 
{{ #vardefine: $mst | {{ #if: {{{2|}}} | -like }}
 
{{ #vardefine: $mst | {{ #if: {{{2|}}} | -like }}
}}{{ #arraydefine: @effects | {{{1|<noinclude>activation, condition, continuous, cost, effect, flip, ignition, maintenance, quick, summon, trigger</noinclude>}}}
+
}}{{ #arraydefine: @effects | {{ lc: {{{1|<noinclude>Activation, Condition, Continuous, Cost, Effect, Flip, Ignition, Maintenance, Quick, Summon, Trigger</noinclude>}}} }}
 
}}{{ #arraydefine: @effects | {{ #arrayprint: @effects | , | $effect
 
}}{{ #arraydefine: @effects | {{ #arrayprint: @effects | , | $effect
 
     | {{ #switch: {{ #ifeq: $effect | effect | effect | {{ #replace: $effect | effect }} }}
 
     | {{ #switch: {{ #ifeq: $effect | effect | effect | {{ #replace: $effect | effect }} }}

Revision as of 08:58, 28 March 2015