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%82%D0%BE%D1%87%D0%BA%D0%B0_%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D0%B0_%D0%B2%D0%BD%D1%83%D1%82%D1%80&action=edit

On Fri, Mar 25, 2011 at 8:10 AM, asafbareket <asaf.bareket@gmail.com> wrote:

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 kinds of grammar, but none worked.

Help please!

Thanx in advance,
Asaf
--
View this message in context: http://old.nabble.com/help-with-ParserFunctions-in-a-template-tp31220247p31220247.html
Sent from the Semantic Mediawiki - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



--
Yury V. Katkov
Laboratory of intelligent systems
of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia
http://ailab.ifmo.ru