(:else:) extension of [[PmWiki/Conditional Markup]]
(:else:)extension of Conditional Markup
Created: 2006-08-21 02:38
Status: Closed, in 2.2.0-beta32
Suggested extension to the extremely useful
have an optional
(:else:) clause, eg
(:if yadda yadda:) something (:else:) other thing (:ifend:)
For the time being I've declined this particular feature--see http://www.pmichaud.com/pipermail/pmwiki-users/2006-March/025591.html for the discussion.
Essentially, the problem is that adding
(:elseif:) leads to a desire for nested-ifs, which means that we would have to separate the meanings of and , which complicates a lot of otherwise simple markup.
I'd be very happy just with the addition of a simple else, makes it simpler than writing
if not condition
which is sometimes harder to do, and why I though of requesting the enhancement