From GamingWiki
Line 7: | Line 7: | ||
HEADER | HEADER | ||
− | If there is a header, we create a full-width TH tag. | + | If there is a header specified, we create a full-width TH tag. |
− | -->{{#if:{{{header|}}}|<nowiki /> | + | -->{{#if:{{{header<includeonly>|</includeonly>}}}|<nowiki /> |
! colspan="{{#var:columns}}" {{!}} {{{header}}} | ! colspan="{{#var:columns}}" {{!}} {{{header}}} | ||
}}<!-- | }}<!-- | ||
+ | |||
SUBHEAD | SUBHEAD | ||
Line 20: | Line 21: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#vardefine: subheadcols | <!-- | -->{{#vardefine: subheadcols | <!-- | ||
− | -->{{#ifeq: {{{subhead|M_NUL}}} | M_NUL |0| {{#expr:{{#var:columns}}-{{#var:rheadcols}}}} }}<!-- | + | -->{{#ifeq: {{{subhead|<includeonly>M_NUL</includeonly>}}} | M_NUL |0| {{#expr:{{#var:columns}}-{{#var:rheadcols}}}} }}<!-- |
-->}}<!-- | -->}}<!-- | ||
+ | -->{{#if:{{{header<includeonly>|</includeonly>}}}|{{Character sheet/section subhead|{{{header}}}| columns = {{#var:columns}} }} }}<!-- | ||
-->{{#ifeq: {{#var:subheadcols}} |0| |<nowiki /> | -->{{#ifeq: {{#var:subheadcols}} |0| |<nowiki /> | ||
{{!}}- | {{!}}- |
Latest revision as of 01:49, 22 August 2014
{{{header}}} | |||||
---|---|---|---|---|---|
{{{subhead}}} |