Difference between revisions of "Template:World Championship card navigation"
Dinoguy1000 (talk | contribs) (less generic array/variable names; use an array to simplify the link printing logic) |
Dinoguy1000 (talk | contribs) (fix printing logic (should only output if there's more than one link)) |
||
Line 37: | Line 37: | ||
}}<!-- | }}<!-- | ||
− | # Only print, if | + | # Only print, if it has more than one item |
− | -->{{ #ifexpr: {{ #arraysize: @wc_links }} > | + | -->{{ #ifexpr: {{ #arraysize: @wc_links }} > 1 | {{ #arrayprint: @wc_links |  /  }} }} |