[module ifStatementElse('http://www.eclipse.org/emf/2002/Ecore')/]

[comment @main /]
[template public myTemplate(myParam : ecore::EPackage)]
  [file (myParam.name + '.txt', overwrite)]
    [if (false)]
      then block.
    [elseif (false)]
      elseif block.
    [else]
      else block.
    [/if]
  [/file]
[/template]