use template file name rather than special attribute