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:elseif condition="$item eq 'secondspecificmodulehere'" />
<xar:set name="secondseperatedhookitem">$hooks[$item]</xar:set>
<xar:elseif condition="$item eq 'thirdspecificmodulehere'" />
<xar:set name="thirdseperatedhookitem">$hooks[$item]</xar:set>
<xar:else />
<xar:set name="otherhookeditems">$hooks[$item]</xar:set>
</xar:if>
</xar:foreach>
</xar:if>