title: handlebar js custom helper for else if
body: <p>I have started using Handlebars.js. It seems that there is no built in conditionals like else if.
  I want to have something like this</p>
  
  <pre><code>{{#if type.one }}
       do something ... IF
  {{else if type.two}}
       do something ... ELSE IF
  {{else}}
       do something ... ELSE
  {{/if}}
  </code></pre>
  
  <p>But this doesn't work. How do I do ELSE IF with handlebars? Is writing a custom helper is the only option ?  If yes then please provide some pointers to write this  helper.</p>