Board Thread:Support Requests - Getting Technical/@comment-25568235-20160129212623/@comment-24155515-20160201033500

I made this, but it kind of feels a bit technical. I showed examples and then did several explanations of how it worked. Unfortunately, I'm not a smarty-pants when it comes to styling and making it look pretty (I usually just copy and then change some things around), so I just covered the technical side of actually making the collapsing work as well as what some basic bits of navbox over there do, and I'm not sure I did it that well. You may well need to ask someone else for styling help--the styling is what makes the Sims Wiki box so pretty, the collapsing is what makes it so small.

http://wreckitralph.wikia.com/wiki/User:Citrusellaeditswikis/Template_playground/Collapsible_navbox (would have done it here, but I had a dedicated area of my userspace for making templates on the wiki I admin so...)

This is a more crude and complex way of doing it by manually making the table, but you could make a table template that lets you put in colors and content and stuff; that's probably how Sims Wiki does it, without looking too far into their system. I've put some example table setups' code in the bottom section where I badly explain things. Also, I work in the source editor myself, so I covered things from that perspective. I'm not sure how possible it is to extricate what I say into Visual Editor instructions, so... yeah.

I threw that all together way faster than I would have had I actually broken it down into steps, so if it confuses you, please free to ask questions. (I'm usually really meticulous and go step-by-step, but I'm really busy yet I wanted to give you SOMEthing to see now just in case it would help you.)

To paste a template on a page, you need to transclude it, like example.

wikipedia:Help:Collapsing and wikipedia:Help:Introduction_to_tables_with_Wiki_Markup/1 (or wikipedia:Help:Introduction to tables with VisualEditor/1 may help you with technical aspects of a table; they cover table basics and collapsing basics, though it's important to note that the classes Wikia uses for collapsing are mw-collapsible and mw-collapsed because we're on MediaWiki 1.19 whereas Wikpedia's like 1.26 or something.

I'm a bit frazzled, so I'm not sure anything I've done up to and including the page the Wreck-It Ralph Wikia up there that I linked make any sense at all, so really, do feel free to ask questions and I'll try to answer them or streamline my examples. XP