Forums: Index → Support Requests → Table as a template parameter
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
I made a simple template that creates a div box around a given parameter. Basically this:
<div> {{{1|}}} </div>
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??? --IK Talk 13:45, December 21, 2011 (UTC)
- Looks like I can't insert divs or spans with styling either. --IK Talk 14:55, 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 {{{1|}}}, it seems to be working fine (since I use "parameter=").
- 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)
- 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