|
|
Line 67: |
Line 67: |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td colspan="2">{{#vardefine:banner image array|{{#show:{{#var:event subobj}}|?Has banner image}}}}{{#vardefine:banner image loop|{{#ifeq:{{{banners|1}}}|0|999|{{{banners|1}}}}}}}{{#while:|{{#var:banner image loop}}| | | <td colspan="2">{{#vardefine:banner image|{{#show:{{#var:event subobj}}|?Has banner image}}}}<div class="banner-image">[[File:{{#var:banner image}}|link={{#var:event subobj}}]]</div> |
| <div class="banner-image">{{Direct Linked Image|src={{filepath:{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}}}|href={{#show:{{#var:event subobj}}|?Has news link}}}}<!--<a href="{{#show:{{#var:event subobj}}|?Has news link}}"><img class="banner-image" src="{{filepath:{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}}}"></img></a>--></div> | |
| {{#if:{{#pos:{{#var:banner image array}}|;}}|{{#vardefine:banner image loop|{{#expr:{{#var:banner image loop}}-1}}}}|{{#vardefine:banner image loop|}}}}
| |
| {{#vardefine:banner image array|{{#sub:{{#var:banner image array}}|{{#expr:{{#pos:{{#var:banner image array}}|;}}+1}}}}}}
| |
| }}
| |
| </td> | | </td> |
| </tr> | | </tr> |
| | {{#if:{{{show news link|}}}|<tr> |
| | <td>[{{#show:{{#var:event subobj}}|?Has news link}} News link]</td> |
| | </tr>}} |
| {{#vardefine:duration array|{{#show:{{#var:event subobj}}|?Has duration date}}}}{{#if:{{#var:duration array|}}| | | {{#vardefine:duration array|{{#show:{{#var:event subobj}}|?Has duration date}}}}{{#if:{{#var:duration array|}}| |
| <tr> | | <tr> |