{require-css "announcement"} {if $announcelist}

{trnum "announcements" sizeof $announcelist}

{endif} {--include "_shadow_start.html"}
{set $announceContainerOpen 0} {set $announcementsInList 1} {foreach $announcement in $announcelist} {if $announcement.importantDelimiter} {if $announceContainerOpen}
{set $announceContainerOpen 0} {set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {endif} {if $announceContainerOpen}
{else}
{set $announceContainerOpen 1} {endif} {include "announcement.html"} {endforeach} {if $announceContainerOpen}
{set $announceContainerOpen 0} {set $ShadowBottomOffset 4} {include "_shadow_bottom.html"} {endif} {--include "_shadow_end.html"} {if or $announcelistActionNew $announcelistActionShowAll}
{set $div ""} {if $announcelistActionNew} {$div}{$announcelistActionNew} {set $div " · "} {endif} {if $announcelistActionShowAll} {$div}{$announcelistActionShowAll} {set $div " · "} {endif}
{endif}