{{tpl:EntryIfSelected}}

Shows the value for the special attribute return, if it consists of a selected entry. This tag is used in the template tag <tpl:Entries>.

Attribute

return

This value is shown, if an entry is a "selected entry". Value by default : selected.

Example

Putting the value selected entry in the list

<tpl:Entries>
  <tpl:EntriesHeader><ul></tpl:EntriesHeader>
  <li>
    {{tpl:EntryIfSelected return="<strong>"}}
      {{tpl:EntryTitle encode_html="1"}}
    {{tpl:EntryIfSelected return="</strong>"}}
  </li>
  <tpl:EntriesFooter></ul></tpl:EntriesFooter>
</tpl:Entries>

Wiki powered by Dokuwiki.