From GamingWiki
(2 intermediate revisions by the same user not shown) | |||
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 /> | ||
{{!}}- | {{!}}- | ||
Line 116: | Line 118: | ||
-->{{#ifeq: {{#var: llabelcols}} | 0 | |<nowiki /> | -->{{#ifeq: {{#var: llabelcols}} | 0 | |<nowiki /> | ||
− | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | llabelclass }} llabel" {{!}} {{#hashvalue: thedataline | llabel }} <!-- | + | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | llabelclass }} llabel" <!-- |
+ | --> {{!}} {{#hashvalue: thedataline | llabel }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq: {{#var: ldatacols}} | 0 | |<nowiki /> | -->{{#ifeq: {{#var: ldatacols}} | 0 | |<nowiki /> | ||
− | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | ldataclass }} ldata" colspan="{{#var:ldatacols}}" {{!}} {{#hashvalue: thedataline | ldata }} <!-- | + | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | ldataclass }} ldata" <!-- |
+ | --> colspan="{{#var:ldatacols}}" <!-- | ||
+ | --> {{!}} {{#hashvalue: thedataline | ldata }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{#ifeq: {{#var: labelcols}} | | + | -->{{#ifeq: {{#var: clabelcols}}{{#var: labelcols}} | 00 | |<nowiki /> |
− | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | clabelclass }} clabel" {{!}} {{#hashvalue: thedataline | label }}{{#hashvalue: thedataline | clabel }} <!-- | + | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | clabelclass }} clabel" <!-- |
+ | --> {{!}} {{#hashvalue: thedataline | label }}{{#hashvalue: thedataline | clabel }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | --><nowiki /> | + | -->{{#ifeq: {{#var: cdatacols}} | 0 |<!-- |
− | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | cdataclass }} cdata" colspan="{{#var:cdatacols}}" {{!}} {{#hashvalue: thedataline | data }}{{#hashvalue: thedataline | cdata }} <!-- | + | -->{{#ifeq: {{#var: datacols}} | 0 | |<nowiki /> |
+ | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | cdataclass }} cdata" <!-- | ||
+ | --> colspan="{{#var:datacols}}" <!-- | ||
+ | --> {{!}} {{#hashvalue: thedataline | data }}{{#hashvalue: thedataline | cdata }} <!-- | ||
+ | -->}}<!-- | ||
+ | --> |<nowiki /> | ||
+ | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | cdataclass }} cdata" <!-- | ||
+ | --> colspan="{{#var:cdatacols}}" <!-- | ||
+ | --> {{!}} {{#hashvalue: thedataline | data }}{{#hashvalue: thedataline | cdata }} <!-- | ||
+ | -->}}<!-- | ||
-->{{#ifeq: {{#var: rlabelcols}} | 0 | |<nowiki /> | -->{{#ifeq: {{#var: rlabelcols}} | 0 | |<nowiki /> | ||
− | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | rlabelclass }} rlabel" {{!}} {{#hashvalue: thedataline | rlabel }} <!-- | + | {{!}} class="{{#hashvalue: thedataline | labelclass | shaded}} {{#hashvalue: thedataline | rlabelclass }} rlabel" <!-- |
+ | --> {{!}} {{#hashvalue: thedataline | rlabel }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq: {{#var: rdatacols}} | 0 | |<nowiki /> | -->{{#ifeq: {{#var: rdatacols}} | 0 | |<nowiki /> | ||
− | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | rdataclass }} rdata" colspan="{{#var:rdatacols}}" {{!}} {{#hashvalue: thedataline | rdata }} <!-- | + | {{!}} class="{{#hashvalue: thedataline|dataclass|}} {{#hashvalue: thedataline | rdataclass }} rdata" <!-- |
+ | --> colspan="{{#var:rdatacols}}" <!-- | ||
+ | --> {{!}} {{#hashvalue: thedataline | rdata }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 01:49, 22 August 2014
{{{header}}} | |||||
---|---|---|---|---|---|
{{{subhead}}} |