Admin Forum:Switch parser functions

Hi, I'm setting up templates for particular stats on F1 Wiki using a switch template. The idea is to fill the templates with stats for all the drivers, so that an infobox will return the correct value based on the page name (see here for example and here for its usage). The system works in small numbers (up to about 100) but I'd like some advice:
 * Is there a maximum number of options that can be used?
 * Is it going to slow down the page loading?

Thanks

MTracey1 PSN/XBL: Mackem1985 18:22, May 2, 2012 (UTC)
 * Hey, I checked the related documentation on https://www.mediawiki.org/ and did not find any reference to a case limit, so it theoretically supports any number of parameters. As for the loading time impact, there's no data, but whatever it outputs is calculated before the PHP page is served to the browser as (X)HTML&mdash;server–side scripting&mdash;therefore any delays would simply extend the length of the blank loading screen and would not result in partial loads. 09:31, May 7, 2012 (UTC)