From GamingWiki
| Line 4: | Line 4: | ||
Total number of columns in our table: | Total number of columns in our table: | ||
-->{{#vardefine: columns | {{{columns|4}}} }}<!-- | -->{{#vardefine: columns | {{{columns|4}}} }}<!-- | ||
| − | |||
| − | |||
| − | |||
| − | |||
If there is a subhead and a righthead, we make the subhead one column. If | If there is a subhead and a righthead, we make the subhead one column. If | ||
| Line 17: | Line 13: | ||
-->{{#ifeq: {{{subhead|M_NUL}}} | M_NUL |0| | {{#expr:{{#var:columns}}-{{#var:rheadcols}}}} }}<!-- | -->{{#ifeq: {{{subhead|M_NUL}}} | M_NUL |0| | {{#expr:{{#var:columns}}-{{#var:rheadcols}}}} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| + | |||
| + | --> | ||
| + | |- | ||
| + | | colspan="{{#var:columns}}" | righthead = {{{righthead}}} ({{#var:rheadcols}}) ; subhead = {{{subhead}}} ({{#var:subheadcols}}) | ||
| + | <!-- | ||
-->{{#ifeq: {{#var:subheadcols}} |0||<nowiki /> | -->{{#ifeq: {{#var:subheadcols}} |0||<nowiki /> | ||
Revision as of 18:55, 28 February 2011
| righthead = {{{righthead}}} (0) ; subhead = {{{subhead}}} (0) |