When use **generic **as emitType, the code emitter will simply use the specified template and the current project and generate code. The statements in the template are executed for the project, no elements inside the project are used as a set to execute the template multiple times for multiple files. A single file is the result. [elementname] is ignored in filenameFormat.
So, if you want to use some template on just-one entity, one thing you can use is Create participating object subset....
Are you designing your own template or just using the shipped ones?