Forum:Collapsing Template Help

Hello I need this template to collapse so that the white sections that contain text under the Support, Neutral, and Oppose sections aren't visible until you expand them. Can someone help me with this?


 * Do other collapsible tables on your wiki work/have worked? I might have missed something, but the collapsible table functionality lacks a few lines of code in your MediaWiki:Wikia.css page. Also to be on the safe safe, I suggest you use collapsible table code from either the MediaWiki manual on collapsible tables or an import from dev wiki. — Sovq 06:18, July 6, 2011 (UTC)


 * If none of the tables anywhere on your wiki are collapsing, what browser are you using? Thanks! — Spike  Toronto  09:21, July 6, 2011 (UTC)


 * I just got finished copying the code from those pages, but it still isn't collapsing, and yes they work and have worked in the past, but for some reason this one won't collapse. I'm not too great with code so I think it's something I did wrong. @SpikeToronto, I use Google Chrome.


 * Yes, I understood you when you said that these tables used to collapse. What I wanted to know is: Has all table collapsing stopped on your wiki? Thanks! — Spike  Toronto  16:55, July 6, 2011 (UTC)


 * No, the table collapsing hasn't stopped. This is the only one that won't if i'm not mistaken.


 * Okay. That is good to know. That means that you are not experiencing a larger JavaScript problem. — Spike  Toronto  17:06, July 6, 2011 (UTC)

If it's not a JavaScript problem does that mean it's something that can be fixed easily?


 * The issue was that you need to use header cells (added with "!") at the beginning to mark cells that are to be collapsible. I went ahead and fixed that. Another issue might be that the new editor layout previews don't load javascript yet, so even if you managed to fix the issue earlier, without saving, the preview area would 'falsify' the result and lead you into thinking that this was not the proper solution. — Sovq 07:12, July 7, 2011 (UTC)