Difference between revisions of "Template:CardTable2/row"
(Push this onto a new line, so we can use lists as {{{data}}}) |
Dinoguy1000 (talk | contribs) (these parameters were never used, and the CSS is in MediaWiki:Cardtable.css now) |
||
Line 6: | Line 6: | ||
| <tr id="{{{rowid|}}}" class="cardtablerow {{{rowclass|}}}" style="{{{rowstyle|}}};">{{ | | <tr id="{{{rowid|}}}" class="cardtablerow {{{rowclass|}}}" style="{{{rowstyle|}}};">{{ | ||
#if: {{{header|}}} | #if: {{{header|}}} | ||
− | | <th id="{{{headerid|}}}" class="cardtablerowheader {{{headerclass|}}}" style=" | + | | <th id="{{{headerid|}}}" class="cardtablerowheader {{{headerclass|}}}" style="{{{headerstyle|}}};" scope="row">{{{header}}}</th> |
<td id="{{{dataid|}}}" class="cardtablerowdata {{{dataclass|}}}" style="{{{datastyle|}}};"> | <td id="{{{dataid|}}}" class="cardtablerowdata {{{dataclass|}}}" style="{{{datastyle|}}};"> | ||
− | | <td id="{{{dataid|}}}" class="cardtablespanrow {{{dataclass|}}}" style=" | + | | <td id="{{{dataid|}}}" class="cardtablespanrow {{{dataclass|}}}" style="{{{datastyle|}}};" colspan="2">{{ |
#if: {{{header2|}}} | #if: {{{header2|}}} | ||
| '''{{{header2}}}'''<br /> | | '''{{{header2}}}'''<br /> |
Revision as of 22:45, 29 August 2012
</noinclude>{{ #switch: {{{check|¬}}} | = {{{checkfail|}}}<!-- defined, empty - row should not be displayed since {{{data}}} won't have anything meaningful --> | #default = {{ #if: {{{data|}}} | <tr id="{{{rowid|}}}" class="cardtablerow {{{rowclass|}}}" style="{{{rowstyle|}}};">{{ #if: {{{header|}}} | <th id="{{{headerid|}}}" class="cardtablerowheader {{{headerclass|}}}" style="{{{headerstyle|}}};" scope="row">{{{header}}}</th> <td id="{{{dataid|}}}" class="cardtablerowdata {{{dataclass|}}}" style="{{{datastyle|}}};"> | <td id="{{{dataid|}}}" class="cardtablespanrow {{{dataclass|}}}" style="{{{datastyle|}}};" colspan="2">{{ #if: {{{header2|}}} | '''{{{header2}}}'''<br /> }} }} {{{data|}}}</td></tr> | {{{checkfail|}}} }} }}<noinclude>