From GamingWiki
Jump to: navigation, search
 
(One intermediate revision 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 142: Line 144:
 
   --> {{!}} {{#hashvalue: thedataline | data }}{{#hashvalue: thedataline | cdata }} <!--
 
   --> {{!}} {{#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 />

Latest revision as of 01:49, 22 August 2014

{{{header}}}
{{{subhead}}}