From GamingWiki
Line 90: | Line 90: | ||
Here we're assuming there are 6 columns total. | Here we're assuming there are 6 columns total. | ||
@todo remove this assumption | @todo remove this assumption | ||
− | -->{{#vardefine:groupcols| | + | -->{{#vardefine:groupcols|<!-- |
− | --> | + | -->{{#switch: {{#var:groupcount}} | 1 = 6 | 2 = 3 | 3 = 2 | 6 }}<!-- |
-->}}<!-- | -->}}<!-- | ||
debug | debug | ||
--> groupcount = {{#var: groupcount}} <!-- | --> groupcount = {{#var: groupcount}} <!-- | ||
+ | --> groupcols = {{#var: groupcols}} <!-- | ||
-->{{#vardefine: llabelcols | {{#ifeq: {{#hashvalue: thedataline | llabel |M_NUL}} | M_NUL | 0 | 1 }} }}<!-- | -->{{#vardefine: llabelcols | {{#ifeq: {{#hashvalue: thedataline | llabel |M_NUL}} | M_NUL | 0 | 1 }} }}<!-- |