Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,686
edits
Line 56: | Line 56: | ||
<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 array|{{#show:{{#var:event subobj}}|?Has banner image}}}}{{#vardefine:banner image loop|{{#ifeq:{{{banners|1}}}|0|999|{{{banners|1}}}}}}}{{#while:|{{#var:banner image loop}}| | ||
<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> | {{filepath:{{#sub:{{#var:banner image array}}|0|{{#pos:{{#var:banner image array}}|;}}}}}}<!--<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>--> | ||
{{#if:{{#pos:{{#var:banner image array}}|;}}|{{#vardefine:banner image loop|{{#expr:{{#var:banner image loop}}-1}}}}|{{#vardefine:banner image loop|}}}} | {{#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}}}}}} | {{#vardefine:banner image array|{{#sub:{{#var:banner image array}}|{{#expr:{{#pos:{{#var:banner image array}}|;}}+1}}}}}} |