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

OBUTEX / Hladůvka admin at obutex.com
Tue Oct 3 02:06:36 CDT 2006


Oh, it's nice !

 (:if ! group MyGroup[123]:)

Does it mean if I have {$:myvar}  "mytext1" and "mytext2" that 
(:if ! {$:myvar} mytext[12]:)

is the same as 
(:if expr ! ( {$:myvar} mytext1 or {$:myvar} mytext2 ) :)



Is there any other useful feature of (:if ... which is not documented in 
PmWiki/ConditionalMarkup ?

Regards,
Jiri

Patrick R. Michaud napsal(a):
> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informace od NOD32 1.1783 (20060929) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>   

-- 
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín

tel.: +421 (0)32 6587000
mailto:admin at obutex.com

http://www.obutex.com






More information about the pmwiki-users mailing list