{#if effectiveType === 'whole'} {:else if effectiveType === 'start'} {:else if effectiveType === 'end'} {/if} {#if feature.tunnelType === 'whole' && feature.length} {feature.length} {/if}