Difference between revisions of "Template:InterviewsList"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
Line 7: Line 7:
 
<th>Interviewed</th>
 
<th>Interviewed</th>
 
</tr>
 
</tr>
 +
{{#vardefine: COLUMN | 0}}
 
{{#fornumargs: K | V
 
{{#fornumargs: K | V
|
+
  | <nowiki/>
<tr>
+
  {{#switch: {{#expr: {{#var: COLUMN}} mod 5 }}
{{#var:V}}
+
    | 0 = <tr><td class="stretch">{{#var: V}}
</tr>
+
    | 1 = <td>{{#var: V}}</td>
 +
    | 2 = <td>{{#var: V}}</td>
 +
    | 3 = <td>{{#var: V}}</td></tr>
 +
  }}
 +
  {{#vardefine: COLUMN | {{#expr: {{#var: COLUMN}} + 1}} }}
 
}}
 
}}
 
</table>
 
</table>
 
</includeonly><noinclude>[[Category:Templates]]</noinclude>
 
</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 13:18, 18 October 2014