
data-sly-template defines a template. HTL outputs neither the host element nor its content where it is defined; the template is rendered only when called with data-sly-call.
<template data-sly-template.mytemplate>TEST</template>
<div data-sly-call="${mytemplate}"></div>