Hi Platonides,

Shall I provide a working example on a server or just posting code?  Also, do 
you know if there is a performance hit when calling multiple templates deep?  I 
think I can avoid it as a workaround.

Al




________________________________
 From: Platonides <[email protected]>
To: [email protected] 
Sent: Sunday, December 30, 2012 4:11 PM
Subject: Re: [MediaWiki-l] #switch not working
 
On 30/12/12 22:47, Al Johnson wrote:
> Just a guess, but this switch statement is in a template that is 2-levels 
> deep.  IOW, a page calls template 1 which calls template 2.  Would this cause 
> a problem?  I've tried numerous examples and it works when it's the 1st 
> template called, but not the second.
> 
> Al

You should provide a minimal example of what it's not working: your
pages, what you expected and what you are getting.

#switch should function equally well no matter at what template level
you are calling it (as far as you have ParserFunctions extension
installed, of course!)


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

Reply via email to