Template:TableStandardRowTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>Table row with flexible number of cells(current max=6). To be used together with the IntroTableTemplate in queries | <noinclude>Table row with flexible number of cells(current max=6). To be used together with the IntroTableTemplate in queries. Use the option |userparam=xrows to clarify the number of cells (where x is an integer 2-6) when not all cells have values. E.g. |userparam=3rows | ||
</noinclude><includeonly><tr class="StandardTableRow"> | </noinclude><includeonly><tr class="StandardTableRow"> | ||
{{#ifeq:{{{ | {{#ifeq:{{{userparam|}}}|6col| | ||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | <td class="StandardTableCell">{{{2|}}}</td> | ||
<td class="StandardTableCell">{{{3|}}}</td> | <td class="StandardTableCell">{{{3|}}}</td> | ||
<td class="StandardTableCell">{{{4|}}}</td> | <td class="StandardTableCell">{{{4|}}}</td> | ||
<td class="StandardTableCell">{{{5|}}}</td> | <td class="StandardTableCell">{{{5|}}}</td> | ||
<td class="StandardTableCell">{{{6|}}}</td> | <td class="StandardTableCell">{{{6|}}}</td>| | ||
{{#ifeq:{{{userparam|}}}|5col| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
<td class="StandardTableCell">{{{4|}}}</td> | |||
<td class="StandardTableCell">{{{5|}}}</td>| | |||
{{#ifeq:{{{userparam|}}}|4col| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
<td class="StandardTableCell">{{{4|}}}</td>| | |||
{{#ifeq:{{{userparam|}}}|3col| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td>| | |||
{{#ifeq:{{{6|}}}|| | |||
{{#ifeq:{{{5|}}}|| | |||
{{#ifeq:{{{4|}}}|| | |||
{{#ifeq:{{{3|}}}|| | |||
{{#ifeq:{{{2|}}}||| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
}}| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
}}| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
<td class="StandardTableCell">{{{4|}}}</td> | |||
}}| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
<td class="StandardTableCell">{{{4|}}}</td> | |||
<td class="StandardTableCell">{{{5|}}}</td> | |||
}}| | |||
<td class="StandardTableCell">{{{1|}}}</td> | |||
<td class="StandardTableCell">{{{2|}}}</td> | |||
<td class="StandardTableCell">{{{3|}}}</td> | |||
<td class="StandardTableCell">{{{4|}}}</td> | |||
<td class="StandardTableCell">{{{5|}}}</td> | |||
<td class="StandardTableCell">{{{6|}}}</td> | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | }} | ||
</tr><includeonly> | </tr><includeonly> |
Revision as of 11:31, 29 January 2014
Table row with flexible number of cells(current max=6). To be used together with the IntroTableTemplate in queries. Use the option |userparam=xrows to clarify the number of cells (where x is an integer 2-6) when not all cells have values. E.g. |userparam=3rows