Difference between revisions of "Template:Card converter list"

From Yugipedia
Jump to: navigation, search
(#array* automatically handles whitespace around items, including newlines)
(keep the newline delimiting for full colons, in case a card has a colon in their name)
Line 13: Line 13:
 
   | $group
 
   | $group
 
   | <!--
 
   | <!--
     -->{{ #vardefine: $amount | {{ #explode: $group | : }} }}<!--
+
     -->{{ #vardefine: $amount | {{ #explode: $group | /\n\:/ }} }}<!--
 
     -->{{ #arraydefine: $cards | $group | : }}<!--
 
     -->{{ #arraydefine: $cards | $group | : }}<!--
 
     -->{{ #arrayslice: $cards | $cards | 1 }}<!--
 
     -->{{ #arrayslice: $cards | $cards | 1 }}<!--

Revision as of 10:12, 23 December 2019

Amount inserted Possible cards returned
{{{cards}}}