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]

[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