{heading} {#if unused.length > 0} {@html exclamationIcon} {/if}

{#if unused.length > 0}
{#if unused.length > maxItems}
(collapsed = !collapsed)}> {@html icon} {collapseMsg}
{/if} {unusedMsg} {#if collapsed}
{unused.slice(0, maxItems).join(", ")} {#if unused.length > maxItems} ... (+{unused.length - maxItems}) {/if}
{:else} {/if}
{/if} {#if $info.templates} {tr.changeNotetypeCurrent()} {tr.changeNotetypeNew()} {/if}