Board Thread:Support Requests - Getting Technical/@comment-4738639-20140820163736/@comment-1997905-20140824154914

You use this template on your example page as, so let's follow what happens when you do that.

(or  if you're allowed to do that) is not specified. That means instead, we're going to be switching. is specified, so this simplifies to. In preview, I can see that that template call returns. That means the switch evaluates to.

We're going to skip that template call for now and look at the. It returns, because it makes the same   call, which we already know the value of. This  will be printed after everything inside.

is a full table. It is passed no parameters. Each row has 3 calls to, which all return empty strings. This must be true, because we can see that the values printed are in the "else" part of each. That means that  must return nothing. In preview, I can see that this is the case.

Based on this, it looks like you should pass  to the templates you use in your switch (eg.  ), however you aren't being clear about what the actual intended functionality of this code is and what it is doing instead of that, so I'm not sure this is the problem you're describing. You also mention how it just prints the variable identifier, which I don't see anywhere. If you're referring to the random "5" at the bottom of the page, that's coming from your, which is doing exactly what it's supposed to (same with the code from the other wiki you linked).

If you're trying to get a different option on the switch to display, rather than the one that is displaying now, you need to either change your  template, or manually specify   on the page where you use.