Else-if blocks

Multiple conditions can be ‘chained’ together with else if:

  1. {#if x > 10}
  2. <p>{x} is greater than 10</p>
  3. {:else if 5 > x}
  4. <p>{x} is less than 5</p>
  5. {:else}
  6. <p>{x} is between 5 and 10</p>
  7. {/if}