Textpattern CMS Template Tags , conditional category

<txp:if_last_article />
Will execute the contained statements if the displayed article is the last in the currently displayed list.
Will execute the contained statements if the current category is the last in the currently displayed list.
<txp:if_last_section />
Will execute the contained statements if the current section is the last in the currently displayed list.
<txp:if_plugin />
Will execute the contained statements if the name matches a currently installed and enabled plugin.
<txp:if_search />
Will execute the contained statements if the called page is the result of a search.
Will execute the contained statements if the article list contains entries matching the search term.
<txp:if_section />
Will execute the contained statements if the called page is part of the section specified.
<txp:if_status />
Will execute the contained statements depending on the requested page's HTTP status condition.
<txp:if_thumbnail />
Will execute the contained statements if the current image has a thumbnail assigned to it.
<txp:if_variable />
Tests the existence and/or value of a global variable set with the variable tag.