Re: [SMW-devel] help with ParserFunctions in a template

2011-03-25 Thread Yury Katkov
Hello! I've used #if with #arraymap in wiki of the 90th. Have a look at it here [1] {{#if: {{{Source|}}}| {{!}} '''Источник''' {{!}}{{!}} {{#arraymap:{{{Source|}}}|;|x|[[Source::x]]}}|}} [1] http://repository.uroki90.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%9A%D0%B0%D1%80%D1%

[SMW-devel] help with ParserFunctions in a template

2011-03-24 Thread asafbareket
Hi all I have the string | '''language" | {{#arraymap:{{{language|}}}|,|x|[[language::x]]}} |- and I want it to be shown only if a text is entered, and to be hidden when it's null. I guess I should use the parser "#if", but how exactly do I write the parser so it would work? I've tried all k