The tpl:CommentIfFirst tag returns a value if the comment is the first of the list, in a tpl:Comments loop context.
This attribute defines what value will be returned in case of success.ès
<p{{tpl:CommentIfFirst return=" class=\"prems\""}}> ... </p>
In this example, the first comment will have an extra CSS class prems that will allow a special design for it.
Wiki powered by Dokuwiki.