[pmwiki-devel] Nested IF conditions
DaveG
pmwiki at solidgone.com
Sat Jun 20 11:09:00 CDT 2009
Petko Yotov wrote:
> (:if:) works the same way as (:div:) and (:table:) and (:if:) is a
> shortcut for (:ifend:)(:if:). To have nested conditionals (or divs) you
> need to use a number:
> (:if equal 1 2:)111(:if2 equal 2 3:)222(:else2:)333(:if2:)444(:if:)
>
> I see this is not yet explained in the documentation, it should be, since
> we're out of beta now. I'll try to update it later today or tomorrow.
Thanks for the explanation. I updated the documentation.
~ ~ Dave
More information about the pmwiki-devel
mailing list