Thread:Extension talk:ParserFunctions/Suggestion: new function ifnot/reply (14)

Your examples are complicated as hell. Ah, and the first is wrong.

But I had considered the  idea for a moment. Even if the most common use case is with no more than 2 conditions. Though, the name is already taken on numerous wikis, the English wiki for instance. Also, such a template would be much longer and complicated than the short, straightforward PHP implementation.

Then, I think  would be less useful. Why not, but let's focus of the main topic for now.

Long story short, trying to do it using templates quickly gets complicated whereas in PHP it is incredibly short and straightforward. And it integrates smoothly for the users.