Difference between revisions of "Template:Value list"

From Yugipedia
Jump to: navigation, search
(oops, those brackets end up around the ref)
(test allowing to specify the separator)
Line 1: Line 1:
 
<includeonly>{{IfSemantics
 
<includeonly>{{IfSemantics
   |{{#arraymap:* {{{1}}}
+
   |{{#arraymap:{{ #if: {{{3|}}} || * }} {{{1}}}
     |*
+
     |{{{3|*}}}
 
     |$x$
 
     |$x$
     |* $x$ {{ #ifeq: {{ #sub: $x$ || 1 }} | [  
+
     |{{ #if: {{{3|}}} || * }} $x$ {{ #ifeq: {{ #sub: $x$ || 1 }} | [  
 
       | [[{{{2}}}::{{#explode: {{ #sub: $x$ | 2 | -2 }} | {{!}} }}| ]]
 
       | [[{{{2}}}::{{#explode: {{ #sub: $x$ | 2 | -2 }} | {{!}} }}| ]]
 
       | [[{{{2}}}::{{#explode: $x$ | &lt;ref }}| ]]
 
       | [[{{{2}}}::{{#explode: $x$ | &lt;ref }}| ]]
 
       }}
 
       }}
     |\n
+
     |{{{3|\n}}}
 
   }}
 
   }}
 
   |{{{1}}}
 
   |{{{1}}}

Revision as of 02:39, 3 September 2012