[pmwiki-users] Conditional Markup: "else"?

Patrick R. Michaud pmichaud at pobox.com
Fri Sep 29 07:33:07 CDT 2006


On Fri, Sep 29, 2006 at 01:29:11PM +0200, Mike wrote:
>    Hello all,
> 
>    is there a way in PmWiki to use an "else" in conditional markup? Like
>    that:
> 
>    (:if group MyGroup1:)
>    foo
>    (:elseif group MyGroup2:)
>    foo
>    (:elseif group MyGroup3:)
>    foo
>    (:else:)
>    foo
>    (:if:)

Note, however, that the above can be currently done with:

    (:if group MyGroup1:)
    foo
    (:if group MyGroup2:)
    foo
    (:if group MyGroup3:)
    foo
    (:if ! group MyGroup[123]:)
    foo
    (:if:)

Pm




More information about the pmwiki-users mailing list