{#await promise} {:then}
{#if (announcements.severity === "info") } {:else} {/if} {announcements.created}

{announcements.title}

{:catch} {/await}
{#if (announcements.severity === "info") } {:else if (announcements.severity === "low") } {:else if (announcements.severity === "medium") } {:else if (announcements.severity === "high") } {/if}