Forum:Collapsible galleries css code?

Is there some sort of css code or perhaps a template to make galleries collapsible? -- Light Daxter -  Talk  19:48, July 17, 2010 (UTC)


 * You can find code for collapsible tables on Wikipedia: Wikipedia:Help:Collapsing To make this work you would need to copy the relevant section of Wikipedia's MediaWiki:Common.js and paste it into the Common.js of your wiki. Then you would create a table template that uses the class "collapsible."
 * I recently saw a collapsible gallery template on Encyclopedia Dramatica... I'll save your eyes from the horror and just copy it here as an example of how it could work. ~ Gardimuer { ʈalk } 00:08, July 18, 2010 (UTC)


 * I apologize for assuming you wanted to remove all of the "add photo" buttons. That is my personal preference, but I suppose some people find them useful. ~ Gardimuer { ʈalk } 23:32, July 19, 2010 (UTC)

Thanks for the help guys. While I was indeed looking for the latter code, I might as well hide all of them (we'll talk about it on our wiki), depending on how annoying it'll be to implement the latter code. I still really hope for Wikia to just fix their damn galleries and add a collapse option. -- Light Daxter -  Talk  00:17, July 20, 2010 (UTC)


 * Uh ... so there is an option to remove the button per gallery, it was added last week. It's not in the UI options, but it's listed on the help page. 08:47, July 21, 2010 (UTC)

Why isn't the option in the UI? But nice to know there's a normal way that doesn't require css, thanks Kirkburn. -- Light Daxter -  Talk  09:29, July 21, 2010 (UTC)


 * We didn't want to overload the new UI, plus it's for use in fairly specific circumstances. It may move into the UI in future though. 13:10, July 21, 2010 (UTC)