{foreach $desktopSlides as $key => $slide}
{if $slide.url}{/if} {if $slide.image && $this->getAttribute('image-as-wallpaper')}
{elseif $slide.image}
{image image=$slide.image width=$imageSize}
{/if}
{if $Utils->isImage($slide.title) || $slide.title != ''}
{/if} {if $slide.text != ''}
{$slide.text}
{/if}
{if $slide.url}{/if}
{/foreach}
{foreach $mobileSlides as $key => $slide}
{if $slide.url}{/if} {if $slide.image && $this->getAttribute('image-as-wallpaper')}
{elseif $slide.image}
{image image=$slide.image width=$imageSize}
{/if}
{if $Utils->isImage($slide.title) || $slide.title != ''}
{/if} {if $slide.text != ''}
{$slide.text}
{/if}
{if $slide.url}{/if}
{/foreach}
{if count($desktopSlides) > 1 && $this->getAttribute('showarrows') != 'hide'} {*if count($desktopSlides) > 1*}
{/if}