Board Thread:Support Requests - Getting Technical/@comment-3211055-20150608163334

I am currently experimenting with Switch template (similar to the one featured in One Piece wiki but with some tweaks). I have tested it without any special functions and so far it work just fine.

However, a problem appear when I use it alongside parser functions (in this case, #if).

{{#if: {{{value2|}}} | {{Switch ... }} }}
 * {{{value1}}}
 * {{{value2}}}
 * {{#if: {{{value3|}} | {{{value3}}} }}
 * {{#if: {{{valueN|}} | {{{valueN}}} }}
 * {{#if: {{{value1|}} | {{{value1}}} | {{{defaultValue}}} }}

It does not generate the togglers at all. I have tried to pass it using the {{!}} syntax (e.g. {{#if: {{{value3|}} | {{!}} {{{value3}}} }} ) but there is no visible differences so far. For information, my version of Switch omitted the option value and directly take the given parameter. 