From GamingWiki
Line 16: | Line 16: | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#ifeq: {{#var:subheadcols}} |0||<nowiki /> | + | -->{{#ifeq: {{#var:subheadcols}} |0| |<nowiki /> |
{{!}}- | {{!}}- | ||
{{!}} colspan="{{#var:subheadcols}}" class="subhead" {{!}} {{{subhead}}}<!-- | {{!}} colspan="{{#var:subheadcols}}" class="subhead" {{!}} {{{subhead}}}<!-- | ||
− | -->{{#ifeq: {{#var:rheadcols}} |0||<nowiki /> | + | -->{{#ifeq: {{#var:rheadcols}} |0| |<nowiki /> |
{{!}} colspan="{{#var:rheadcols}}" class="shaded" {{!}} {{{righthead}}}<!-- | {{!}} colspan="{{#var:rheadcols}}" class="shaded" {{!}} {{{righthead}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 53: | Line 53: | ||
-->{{#hashtoarray:xxxdummy|datalinehash|datalinekeys}}<!-- | -->{{#hashtoarray:xxxdummy|datalinehash|datalinekeys}}<!-- | ||
-->{{#arraysort:datalinekeys|asc}}<!-- | -->{{#arraysort:datalinekeys|asc}}<!-- | ||
− | -->{{#hashprint: datalinehash || %%%% | @@@@ | <!-- | + | -->{{#hashprint: datalinehash | | %%%% | @@@@ | <!-- |
-->{{#hashdefine: thedataline | @@@@ | ,css, | ;css; }}<!-- | -->{{#hashdefine: thedataline | @@@@ | ,css, | ;css; }}<!-- | ||
Line 61: | Line 61: | ||
-->{{#vardefine: rdatacols | {{#ifeq: {{#hashvalue: thedataline | rdata |M_NUL}} | M_NUL | 0 | 1 }} }}<!-- | -->{{#vardefine: rdatacols | {{#ifeq: {{#hashvalue: thedataline | rdata |M_NUL}} | M_NUL | 0 | 1 }} }}<!-- | ||
-->{{#vardefine: datacols | {{#expr:{{#var:columns}}-{{#var:labelcols}}-{{#var:rdatacols}} }} }}<!-- | -->{{#vardefine: datacols | {{#expr:{{#var:columns}}-{{#var:labelcols}}-{{#var:rdatacols}} }} }}<!-- | ||
− | -->{{#ifeq:{{#hashvalue: thedataline | data }}-{{#var:labelcols}}-{{#var:rdatacols}}|-0-0||<!-- | + | -->{{#ifeq:{{#hashvalue: thedataline | data }}-{{#var:labelcols}}-{{#var:rdatacols}}|-0-0| |<!-- |
--><nowiki /> | --><nowiki /> | ||
{{!}}- <!-- | {{!}}- <!-- | ||
− | -->{{#ifeq: {{#var: labelcols | 0 ||<nowiki /> | + | -->{{#ifeq: {{#var: labelcols | 0 | |<nowiki /> |
{{!}} class="{{#hashvalue: thedataline | labelclass | shaded}}" {{!}} {{#hashvalue: thedataline | label }} <!-- | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}}" {{!}} {{#hashvalue: thedataline | label }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 73: | Line 73: | ||
{{!}} class="{{#hashvalue: thedataline|dataclass|}}" colspan="{{#var:datacols}}" {{!}} {{#hashvalue: thedataline | data }} <!-- | {{!}} class="{{#hashvalue: thedataline|dataclass|}}" colspan="{{#var:datacols}}" {{!}} {{#hashvalue: thedataline | data }} <!-- | ||
− | -->{{#ifeq: {{#var: rdatacols | 0 ||<nowiki /> | + | -->{{#ifeq: {{#var: rdatacols | 0 | |<nowiki /> |
{{!}} class="{{#hashvalue: thedataline|dataclass|}}" {{!}} {{#hashvalue: thedataline | rdata }} <!-- | {{!}} class="{{#hashvalue: thedataline|dataclass|}}" {{!}} {{#hashvalue: thedataline | rdata }} <!-- | ||
-->}}<!-- | -->}}<!-- |