Difference between revisions of "Template:Value list"

From Yugipedia
Jump to: navigation, search
(I don't see why we can't do this (and play a bit with the whitespace))
(hcomma should be used instead of this now)
Line 2: Line 2:
 
   #if: {{{1|}}}
 
   #if: {{{1|}}}
 
   | {{IfSemantics
 
   | {{IfSemantics
     |{{#arraymap:{{ #if: {{{3|}}} || * }} {{{1}}}
+
     |{{#arraymap:* {{{1}}}
       |{{{3|*}}}
+
       |*
 
       |$list_item
 
       |$list_item
       |{{ #if: {{{3|}}} || * }} [[{{{2}}}::{{
+
       |* [[{{{2}}}::{{
 
         #ifeq: {{ #sub: $list_item || 1 }} | [  
 
         #ifeq: {{ #sub: $list_item || 1 }} | [  
 
         | {{ #explode: {{ #sub: $list_item | 2 | -2 }} | {{!}}  }}
 
         | {{ #explode: {{ #sub: $list_item | 2 | -2 }} | {{!}}  }}
 
         | {{ #explode:          $list_item            | <ref }}
 
         | {{ #explode:          $list_item            | <ref }}
 
         }}| ]]$list_item
 
         }}| ]]$list_item
       |{{ #if: {{{3|}}} | {{{3}}}  | \n }}
+
       |\n
 
     }}
 
     }}
 
     |{{{1}}}
 
     |{{{1}}}

Revision as of 02:51, 1 January 2013