Difference between revisions of "Template:InterviewsList"

From MansonWiki, the Marilyn Manson encyclopedia
Jump to: navigation, search
m
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table class="maintable">
+
{{#if: {{{/quote|}}} | {{cquote | {{{/quote}}} }} }}
 +
<table class="maintable odd-even-rows-table" style="width: 100%;">
 
<tr>
 
<tr>
<th class="stretch">Article/Interviewer</th>
+
<th>Interview/article</th>
 
<th>Date</th>
 
<th>Date</th>
 
<th>Source</th>
 
<th>Source</th>
 
<th>Interviewed</th>
 
<th>Interviewed</th>
 
</tr>
 
</tr>
 +
{{#vardefine: COLUMN | 0}}
 
{{#fornumargs: K | V
 
{{#fornumargs: K | V
|
+
  | <nowiki/>
<tr>
+
  {{#switch: {{#expr: {{#var: COLUMN}} mod 4 }}
{{#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>

Latest revision as of 16:16, 15 July 2018