"Ævar Arnfjörð Bjarmason" <avarab(a)gmail.com>
wrote in message
news:51dd1af80512122254p24be0d0aq1f3f4595c365b13b@mail.gmail.com...
I made a quick mockup of what I consider would be a
nice advanced
template syntax the other day, I guess this is as good a place to
throw it into the ring as any.
Proposed syntax:
http://kohl.wikimedia.org/~avar/syntax
Sorry: given the current circumstances, nesting is not negotiable :-)
What would be the ideal first step would be if someone could simply
implement the functionality of the {{if}} or {{qif}} template in wikicode.
This would simply test whether a supplied argument is blank or non-blank and
thereby choose one of two options to transclude.
We already have the {{fullurl:pagename|actionstring}} and
{{localurl:pagename|actionstring}} operators. It's not a huge leap to
{{if:test|thenstring|elsestring}} is it?
--
Phil
[[en:User:Phil Boswell]]