Forum:Problems With Template:Switch

Hello. I am currently having difficulties with Template:Switch. As far as I can tell, the template itself is working fine, and the necessary code is present on the Common.js, but the template is giving me this result when used in an infobox.

The code, the infobox, and the switch template were all taken from another wiki, where everything works fine.

So, what am I doing wrong?

Thank you,

-- 09:29, August 30, 2012 (UTC)


 * Looks like the problem is that the Switch template doesn't handle spaces in the captions well. Frank (Marakesh) (talk) 19:00, August 30, 2012 (UTC)


 * I'm sorry. I don't understand. What is the problem?


 * -- 23:55, August 30, 2012 (UTC)