{macro parent_test(v, i)} parent test - {$v}, i = {$i}; {var $i = $i -1} {if $i > 0} {macro.parent_test v=$v i=$i} {/if} {/macro} {block 'child'}{/block} parent call: {macro.parent_test v = 'ok' i = 5}