Phil Boswell wrote:
"Phil Boswell"
<phil.boswell(a)gmail.com>
wrote in message news:dnk5ht$8e6$1@sea.gmane.org...
[snip]
... My personal bug-bear is {{qif}}, mainly
because I cannot for the
life of me see what it can do that {{if}} cannot.
Now that I have taken another look at it, I think that it is actually
doing something extremely clever.
That's why I awarded Carl [[en:User:AzaToth]] a technology barnstar.
And because it eliminates one template call level, compared to
{{if}} (In Re "meta-templates").
[snip]
It would be nice
if we could retire the current version of {{if}} and re-use that
name, but the nice thing about a wiki is that you can take things
just about as slow as you like, provided nobody jogs your elbow.
Yes that would be nice. One problem is that the old {{if}} unfortunately
provides also a usage variant that provides unnamed parameters, which
{{qif}}} deliberatley does not for speed, simplicity and '='-char safety
(template artist Carl tried to do that in qif, but the outcome was code that
even shocked me :-).
For this reason it comes handy that {{if}} has been given that
new "test", "then" "else" parameter set as a migration
path.
--
Adrian
[[en:User:Adrian Buehlmann]]