Template:TableStandardRowTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
<td class="StandardTableCell">{{{13|}}}</td>
<td class="StandardTableCell">{{{13|}}}</td>
<td class="StandardTableCell">{{{14|}}}</td>|
<td class="StandardTableCell">{{{14|}}}</td>|
{{#ifeq:{{{userparam|}}}|6col|
  {{#ifeq:{{{userparam|}}}|6col|
         <td class="StandardTableCell">{{{1|}}}</td>
         <td class="StandardTableCell">{{{1|}}}</td>
<td class="StandardTableCell">{{{2|}}}</td>
<td class="StandardTableCell">{{{2|}}}</td>
Line 38: Line 38:
                                 <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>|                
                    {{#ifeq:{{{6|}}}||
                    <td class="StandardTableCell">{{{1|}}}</td>
                    {{#ifeq:{{{5|}}}||
                    <td class="StandardTableCell">{{{2|}}}</td>
                    {{#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 12:31, 5 February 2014

Table row with flexible number of cells(current max=6). To be used together with the IntroTableTemplate 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