Forum:Table inside a switch

What's wrong with this code? The table doesn't seem to work inside the switch.

-Xick (talk) 05:23, May 2, 2011 (UTC)


 * The switch function interprets the pipes ("|") as new function parameters. You can replace the table pipes with  (if you have this template on your wiki). So the result would be:




 * But if you really want us to fix the problem it would be better if you gave us the link to your wiki and the template instead of doing it by trial and error through the forums. Sovq 06:07, May 2, 2011 (UTC)


 * It is possible the code can be simplified as well and may not require a switch in this manner. Rappy 21:00, May 2, 2011 (UTC)