[% for (var i = 1; i <= 10 ; i++) { %]
[%{ preset: 'partial_path', use: "file", tpl_id: "child", data: echo.data, attach: {num: i} }%]
[%}%]