Difference between revisions of "Template:Event infobox"

no edit summary
Line 51: Line 51:
   <th colspan="2">{{{en name|{{{jp name|???}}}}}}</th>
   <th colspan="2">{{{en name|{{{jp name|???}}}}}}</th>
</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}}|;}}}}]]{{#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}}}}}}