Template:CardTable2/row
< Template:CardTable2Revision as of 09:00, 15 December 2015 by Dinoguy1000 (talk | contribs) (don't output empty id/style attributes; whitespace tweaks)
</noinclude>{{ #switch: {{{check|¬}}} | = {{{checkfail|}}}<!-- defined, empty - row should not be displayed since {{{data}}} won't have anything meaningful --> | #default = {{ #if: {{{data|}}} | <nowiki/> <tr {{ #if: {{{rowid|}}} | id="{{{rowid}}}" }} class="cardtablerow {{{rowclass|}}}" {{ #if: {{{rowstyle|}}} | style="{{{rowstyle}}};" }}>{{ #if: {{{header|}}} | <th {{ #if: {{{headerid|}}} | id="{{{headerid}}}" }} class="cardtablerowheader {{{headerclass|}}}" {{ #if: {{{headerstyle|}}} | style="{{{headerstyle}}};" }} scope="row">{{{header}}}</th><!-- --><td {{ #if: {{{dataid|}}} | id="{{{dataid}}}" }} class="cardtablerowdata {{{dataclass|}}}" {{ #if: {{{datastyle|}}} | style="{{{datastyle}}};" }}> | <td {{ #if: {{{dataid|}}} | id="{{{dataid}}}" }} class="cardtablespanrow {{{dataclass|}}}" {{ #if: {{{datastyle|}}} | style="{{{datastyle}}};" }} colspan="2">{{ #if: {{{header2|}}} | '''{{{header2}}}'''<br /> }} }} {{{data}}}</td></tr> | {{{checkfail|}}} }} }}<noinclude>