Since version: 5.1.0.0 | Requires endtag: yes
Default value: - | since version: 5.1.0.0 | required: no
Default value: - | since version: 5.1.0.0 | required: no
<we:ifTemplate [id="attribute"] [path="attribute"]> ... </we:ifTemplate>
ifTemplate using attribute "id"
<we:ifTemplate id="123,45,3">
<p>Document is based on template with id 123, 45 or 3</p>
</we:ifTemplate>
ifTemplate using attribut "path"
<we:ifTemplate path="/textdocument.tmpl">
<p>Document has template "/textdocument.tmpl"</p>
</we:ifTemplate>
ifTemplate using attribut "path" and wildcard
<we:ifTemplate path="*/text.tmpl">
<p>Document uses "text.tmpl", the path of the template will be ignored.</p>
</we:ifTemplate>