Forum:Table as a template parameter

I made a simple template that creates a div box around a given parameter. Basically this:

Now I'm trying to put a table as the parameter, and it doesn't let me. I assumed that using the ! template in the table would have solved it, but it doesn't.

The table works if I don't add any styling to it, but as soon as I start messing with borders or anything it breaks.

Why??? -- 13:45, December 21, 2011 (UTC)


 * Looks like I can't insert divs or spans with styling either. -- 14:55, December 21, 2011 (UTC)


 * External links break it too for some reason. -- 15:18, December 21, 2011 (UTC)


 * Looks like the problem is the = symbol. When there's a style= or a link with the symbol in it, something breaks. I wonder why... -- 15:34, December 21, 2011 (UTC)


 * Because = defines a templates named parameters. Replace all ='s with %3D. Rappy 16:51, December 21, 2011 (UTC)


 * Wikipedia has a template for that wikipedia:en:template:=, the version on the templates wiki is called w:c:templates:template:equalsign "equalsign". ForestMonthZero 06:05, December 22, 2011 (UTC)


 * Starter Wiki should probably add Wikipedia's "Template:=" -- ForestMonthZero 06:18, December 22, 2011 (UTC)


 * It seems that it's only an issue with unnamed parameters. If I use a named parameter instead of, it seems to be working fine (since I use "parameter=").


 * Is there a known downside to this workaround? -- 13:32, December 22, 2011 (UTC)


 * If you have an "=" sign in the template, the template call will think that you are assigning a named parameter a value. If you're using a named parameter, it ignores the rest of the "=" signs (iirc). If you're not, and you're simply using, then you have to substitute the "=" sign with %3D for every occurrence. Rappy 00:15, December 23, 2011 (UTC)