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|}}}}{{#while: {{#ifexpr: {{#pos:{{#var:banner image array}}|;}} | true }}|
<td>{{#vardefine:banner image array|{{banner image|}}}}{{#vardefine:banner image loop|1}}{{#while:|{{#var:banner image loop}}|
{{#explode:{{#var:banner image array}}|;|0}} -> {{#vardefineecho:banner image array|{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}
[[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}}}}}}
}}
}}
[[File:{{banner image|}}]]
</td>
</td>
</table></includeonly><noinclude>
</table></includeonly><noinclude>