Used in the template tag <tpl:Entries>, this tag displays the value of the attribute return, if the indication is odd-numbered.
Shows the text to display or not. If omitted, the text "odd" is shown.
This example shows how to assign a particular class of all odd-numbered in a list.
<tpl:Entries> <div class="post {{tpl:EntryIfOdd return="odd"}}">...</div> </tpl:Entries>
Wiki powered by Dokuwiki.