{{tpl:else}}

This tag can be used in several conditional block tags such as <tpl:sysIf>. It allows to introduce a different condition from the one on which test is done.

Example

Display a different message according to blog id

<tpl:sysIf blog_id="default">
     <p>Hello</p>
{{tpl:else}}
     <p>Bonjour</p>
</tpl:sysIf>

Wiki powered by Dokuwiki.