Difference between revisions of "Template:Event infobox"

no edit summary
Line 52: Line 52:
</tr>
</tr>
<td>{{#vardefine:banner image array|{{{banner image|}}}}}{{#vardefine:banner image loop|1}}{{#while:|{{#var:banner image loop}}|
<td>{{#vardefine:banner image array|{{{banner image|}}}}}{{#vardefine:banner image loop|1}}{{#while:|{{#var:banner image loop}}|
[[File:{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}]]{{#if:{{#pos:{{#var:banner image array}}|;}}||{{#vardefine:banner image loop|}}}}
[[File:{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}|400px]]
{{#if:{{#pos:{{#var:banner image array}}|;}}||{{#vardefine:banner image loop|}}}}
{{#vardefine:banner image array|{{#sub:{{#var:banner image array}}|{{#expr:{{#pos:{{#var:banner image array}}|;}}+1}}}}}}
{{#vardefine:banner image array|{{#sub:{{#var:banner image array}}|{{#expr:{{#pos:{{#var:banner image array}}|;}}+1}}}}}}
}}
}}