Wählen Sie Ihre Sprache:

<we:ifTemplate>

Since version: 5.1.0.0 | Requires endtag: yes

Description

Attributes

id

Default value: - | since version: 5.1.0.0 | required: no


path

Default value: - | since version: 5.1.0.0 | required: no


Syntax

<we:ifTemplate [id="attribute"] [path="attribute"]> ... </we:ifTemplate>

Examples

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>