Bildersammlung
<@ if $arguments.0 as lowercase contains 'left' or $arguments.0 as lowercase contains 'right' @>
<@ if $arguments.0 as lowercase contains 'left' @>
<@ endif @>
<@ if $arguments.1 matches_regex "\d+" @> <@ for $arg in $arguments @> <@ if $loop.index > 2 @> <@ if $loop.index is odd @> <@ if $loop.index > 4 @><cellstyle="border-width: 0 10px 0 0; border-color: #FFFFFF;" :> <@ endif @> | <@ endif @> <@ endfor @> | <@ for $arg in $arguments @> <@ if $loop.index > 2 @> <@ if $loop.index is even @> <@ if $loop.index > 4 @><cellstyle="border-width: 0 10px 0 0; border-color: #FFFFFF;" :> <@ endif @><@ $arg @> | <@ endif @> <@ endfor @> <@ else @> <@ for $arg in $arguments @> <@ if $loop.index > 1 @> <@ if $loop.index is even @> <@ if $loop.index > 3 @><cellstyle="border-width: 0 10px 0 0; border-color: #FFFFFF;" :> <@ endif @> | <@ endif @> <@ endfor @> | <@ for $arg in $arguments @> <@ if $loop.index > 1 @> <@ if $loop.index is odd @> <@ if $loop.index > 3 @><cellstyle="border-width: 0 10px 0 0; border-color: #FFFFFF;" :> <@ endif @><@ $arg @> |
<@ endif @>
<@ endfor @>
<@ endif @>
<@ if $arguments.0 as lowercase contains 'left' @>
|}}
<@ endif @>
<@ else @>
<@ for $arg in $arguments @> <@ if $arguments.0 matches_regex "\d" @> <@ if $loop.index > 1 @> <@ if $loop.index is even @>||<tablestyle="float:left; margin:10px 5px; border:none;" cellstyle="background-color: #E2C889; border:none;" :> ||<@ endif @> <@ if $loop.index is odd @>
<@ endif @> <@ endif @> <@ else @> <@ if $loop.index is odd @>||<tablestyle="float:left; margin:10px 5px; border:none;" cellstyle="background-color: #E2C889; border:none;" :> ||<@ endif @> <@ if $loop.index is even @>
<@ endif @> <@ endif @> <@ endfor @> <@ endif @> |