<we:ifDoctype>
Since version: 3.0.0.0 | Requires endtag: yes
Description
The we:ifDoctype tag ensures that everything located between the start tag and the end tag is only displayed if the document type which is entered under "doctype" is the same as the document"s document type.
Attributes
doctypes
Default value: - | since version: 3.0.0.0 | required: yes
Set this attribute to a comma-sepearted list of the document-type(s).
doc
Default value: top | since version: 3.0.0.0 | required: no
If the attribute is set to doc="top" or not set, the query refers to the main page, even if the tag is within an included file which is included in the main page. If the attribute is set to doc="self", the query refers to the file in which the tag is located.
Allowed values:
- top
- self
- listview
Syntax
<we:ifDoctype doctypes="attribute" [doc="top|self|listview"]> ... </we:ifDoctype>