rendered paste body<xar:if condition="!empty($hooks)">
<xar:foreach in="$hooks" key="$item">
<xar:if condition="$item eq 'firstspecificmodulehere'">
<xar:set name="firstseperatedhookitem">$hooks[$item]</xar:set>
</xar:if>
<xar:if condition="$item eq 'secondspecificmodulehere'">
<xar:set name="secondseperatedhookitem">$hooks[$item]</xar:set>
</xar:if>
<xar:if condition="$item eq 'thirdspecificmodulehere'">
<xar:set name="thirdseperatedhookitem">$hooks[$item]</xar:set>
</xar:if>
<xar:if condition="($item ne 'firstspecificmodulehere') or ($item ne 'secondspecificmodulehere') or ($item ne 'thirdspecificmodulehere')">
<xar:set name="otherhookeditems">$hooks[$item]</xar:set>
</xar:if>
</xar:foreach>
</xar:if>