Category: Structural tags
Textpattern documentation within the category ‘Structural tags’:
-
Category
The category tag will display information of the category as defined by the name attribute, or the one currently being viewed.
-
Category list
The category_list tag is a single/container tag which is used to produce a list of linked categories.
-
Header
The header tag is a single tag that is used to set HTTP headers.
-
If first category
The if_first_category tag will execute the contained statements if the current category is the first in the list.
-
If first file
The if_first_file tag will execute the contained statements if the displayed file is the first in the currently displayed file download list.
-
If first image
The if_first_image tag will execute the contained statements if the displayed image is the first in the currently displayed images list.
-
If first link
The if_first_link tag will execute the contained statements if the displayed link is the first in the currently displayed link list.
-
If first section
The if_first_section tag will execute the contained statements if the current section is the first in the list.
-
If last category
The if_last_category tag will execute the contained statements if the current category is the last in the list.
-
If last file
The if_last_file tag will execute the contained statements if the displayed file is the last in the currently displayed file download list.
-
If last image
The if_last_image tag will execute the contained statements if the displayed image is the last in the currently displayed images list.
-
If last link
The if_last_link tag will execute the contained statements if the displayed link is the last in the currently displayed link list.
-
If last section
The if_last_section tag will execute the contained statements if the current section is the last in the list.
-
If yield
The if_yield tag tests the existence and/or value of a content set with the yield tag inside of an output_form container tag.
-
Output form
Textpattern will replace this tag with the content resulting from the form template called by the tag.
-
Section
The section tag can be used as either a single tag or container tag and will display information about the section.
-
Section list
The section_list tag is a single or container tag which is used to produce a list of linked sections.
-
Yield
The yield tag is a single/container tag which is used to return the inner content of the enclosing output_form tag.
If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)