Two issues commingled: collapse button not applying to whole table, and side-by-side 'table' or similar effect?
My overall question is, how do I get the collapse button to work for the whole table again?
My secondary question is, how can I get two "tables" to exist side-by-side within a larger table?
So... here is a page, that is not, 'strictly' speaking, a template, but it holds data that gets included at the bottom of other pages; a footer, if you will. http://disgaea.wikia.com/wiki/Template:Disgaea_2_Classes
Of particular note for the rest of my post: 1 - it is Collapseable; 2 - it has hideous amounts of wasted white space.
This is a page that performs the exact same function, but for a different game entry in the series. http://disgaea.wikia.com/wiki/Template:Disgaea_Classes
It used to look exactly like the Disgaea 2 version, in that it was collapseable and had wasted space.
I.... broke it. My goal was to take the 'Humanoid' section and the 'Monster' section and put them side by side... but in such a way that, A, if necessary (ie, in mobile view), the Monster section would 'slide' down and be under the Humanoid section and B, if necessary or desired, at a later date a person could manipulate all the Humanoid data without having to paw through the fact that all the Monster data would be on the 'same row' (ie, 'male brawler' and 'prinny' on the same row).
I did this by making 'sub tables', which succeeded in my 'A' goal, but broke the collapseability.
There's a 'table-open', then the code for the purple 'Disgaea classes' bar, then -- assuming I understand this wikicode properly-- a table-row-open, table-cell-open, table-open (50% width, float left), which then contains all the Humanoid stuff. Close that table. Open another table (50% width, float right), Monster data, close that table, close cell, close row.
Open row, open another (the 4th!) table, Special&Enemy across the bottom, then close everything.
In my mind, the table SHOULD be like this:
------------ | DC | | ---- ---- | || | | || || H | | M || || | | || | ---- ---- | | special | | enemy | -------------
And theoretically, the collapse button would, you know, shrink it all up like before.
But I had to make it like this:
------------ | DC | | ---- ---- | || | | || || H | | M || || | | || | ---- ---- | | --------- | || special|| || enemy || -------------
and for some reason, now the collapse button does nothing.
It's all still in the original table that opens before 'Disgaea Classes,' so why does collapse button not work?
In other words: I highly suspect the answer is 'don't use the nested tables,' but that means I am not wikicode-table-smart-enough to know what to do instead. I tried using a 'div float left/right', that failed spectacularly (I'm going to guess I can't 'div' out several rows in a single table), and Google is just... not giving me anything helpful for whatever level of complexity this problem is.
I've spent the last two weeks learning everything that Google will answer for me about how wikicode works... and I've solved all my easy problems and now I'm left with the hard, annoying, what-even-auugh problems. I try to avoid having my posts in these Help forums be 'do the work for me,' but at this point, I've exhausted the limited options I possess. Please help (before the admin notices I broke the table and reverts it back to a space-wasting but collapseable format, haha). Thanks.