Difference between revisions of "Template:World Championship card navigation"

From Yugipedia
Jump to: navigation, search
(less generic array/variable names; use an array to simplify the link printing logic)
(fix printing logic (should only output if there's more than one link))
Line 37: Line 37:
 
}}<!--
 
}}<!--
  
# Only print, if it contains a "/". i.e. it has more than one item
+
# Only print, if it has more than one item
-->{{ #ifexpr: {{ #arraysize: @wc_links }} > 0 | {{ #arrayprint: @wc_links | &#32;/&#32; }} }}
+
-->{{ #ifexpr: {{ #arraysize: @wc_links }} > 1 | {{ #arrayprint: @wc_links | &#32;/&#32; }} }}

Revision as of 18:50, 1 October 2019