Location: PHPKode > scripts > PHPTAL > phptal/PHPTAL-1.2.1/tests/input/metal-macro.01.html
<div>

<div metal:define-macro="test1">
  test macro1 content
</div>

<div metal:define-macro="test2">
  test macro2 content
</div>

<div metal:define-macro="test3">
  test macro3 content
</div>

<div metal:use-macro="test1"/>
<div metal:use-macro="test1"/>

</div>
Return current item: PHPTAL