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

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