This tag will be inserted at the end of a [categoryfirstchildren|<tpl:CategoryFirstChildren>]] loop. When combining this tag with the <tpl:CategoriesHeader>, you can insert an HTML block only if the loop is not empty.
This example inserts the title before the categories.
<tpl:CategoryFirstChildren> <tpl:CategoriesHeader> <div id="subcategories"> <h3>{{tpl:lang Subcategories}}</h3> <ul> </tpl:CategoriesHeader> <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li> <tpl:CategoriesFooter> </ul> </div> </tpl:CategoriesFooter> </tpl:CategoryFirstChildren>
Wiki powered by Dokuwiki.