Template:TableStandardRowTemplate: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "IntroTableTemplate" to "TableIntroTemplate") |
Oostenrijr (talk | contribs) m (Text replacement - "userparam" to "#userparam") |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Table row with flexible number of cells(current max=6). To be used together with the TableIntroTemplate in queries. Use the option |userparam=xcol to clarify the number of cells per row when not all cells have values ( x is an integer 2-6), e.g. |userparam=3col | <noinclude>Table row with flexible number of cells(current max=6). To be used together with the TableIntroTemplate in queries. Use the option |#userparam=xcol to clarify the number of cells per row when not all cells have values ( x is an integer 2-6), e.g. |#userparam=3col | ||
</noinclude><includeonly><tr class="StandardTableRow"> | </noinclude><includeonly><tr class="StandardTableRow"> | ||
{{#ifeq:{ | {{#ifeq:{{{#userparam|}}}|6col| | ||
<td class="StandardTableCell">{{{1|}}}</td> | <td class="StandardTableCell">{{{1|}}}</td> | ||
<td class="StandardTableCell">{{{2|}}}</td> | <td class="StandardTableCell">{{{2|}}}</td> | ||
Line 24: | Line 9: | ||
<td class="StandardTableCell">{{{5|}}}</td> | <td class="StandardTableCell">{{{5|}}}</td> | ||
<td class="StandardTableCell">{{{6|}}}</td>| | <td class="StandardTableCell">{{{6|}}}</td>| | ||
{{#ifeq:{{{userparam|}}}|5col| | {{#ifeq:{{{#userparam|}}}|5col| | ||
<td class="StandardTableCell">{{{1|}}}</td> | <td class="StandardTableCell">{{{1|}}}</td> | ||
<td class="StandardTableCell">{{{2|}}}</td> | <td class="StandardTableCell">{{{2|}}}</td> | ||
Line 30: | Line 15: | ||
<td class="StandardTableCell">{{{4|}}}</td> | <td class="StandardTableCell">{{{4|}}}</td> | ||
<td class="StandardTableCell">{{{5|}}}</td>| | <td class="StandardTableCell">{{{5|}}}</td>| | ||
{{#ifeq:{{{userparam|}}}|4col| | {{#ifeq:{{{#userparam|}}}|4col| | ||
<td class="StandardTableCell">{{{1|}}}</td> | <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>| | ||
{{#ifeq:{{{userparam|}}}|3col| | {{#ifeq:{{{#userparam|}}}|3col| | ||
<td class="StandardTableCell">{{{1|}}}</td> | <td class="StandardTableCell">{{{1|}}}</td> | ||
<td class="StandardTableCell">{{{2|}}}</td> | <td class="StandardTableCell">{{{2|}}}</td> | ||
Line 44: | Line 29: | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
</tr><includeonly> | </tr><includeonly> |
Latest revision as of 17:02, 10 March 2020
Table row with flexible number of cells(current max=6). To be used together with the TableIntroTemplate in queries. Use the option |#userparam=xcol to clarify the number of cells per row when not all cells have values ( x is an integer 2-6), e.g. |#userparam=3col