On Fri, Jul 5, 2013 at 12:50 PM, Marcelo Chiaradía <
[email protected]> wrote:

> Yes, I thought of that possibility, but I have to ask about 5 arguments,
> and the code will get really awful with nested ifs.
>
>
> It is weird why there's no built-in way for "ands" and yes for "ors".
>

If you want more complex logic than the classic template system allows for,
you may be better off using Lua scripting. This is provided by the
Scribunto extension: https://www.mediawiki.org/wiki/Extension:Scribunto

-- brion
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to