Wählen Sie Ihre Sprache:

<we:ifSelf>

Since version: - | Requires endtag: yes

Description

Content enclosed by this tag is only displayed if the ID specified is the same as that of the current document.

Attributes

id

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

Set this attribute to a comma seperated list of the ID's to be compared. Inside <we:listdir> and <we:linklist> sections, the ID does not need to be set as it is automatically set to the corresponding ID of the current element.


doc

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

Set this attribute to "self" to get the ID of the document in which the tag is located, even if the document is included. Set this attribute to "top" to get the ID of the main document even if the document in which the tag is located was included. Set this attribute to "listview" when used within a <we:listview> section. The ID is then set to the ID of the document found by listview.

Allowed values:

  • top
  • self
  • listview

Syntax

<we:ifSelf [id="attribute"] [doc="top|self|listview"]> ... </we:ifSelf>