Help talk:Collapsing

table with some rows collapse
Hai there, is there a method to create a table and set some rows are collapsible and the rest are not ?

in the previous version, i can use this

some rows are collapsible by WieQuadrat (talk) 18:17, September 4, 2012 (UTC)


 * This can be realised with a custom toggle.
 * wiki markup


 * result
 * {| class="wikitable"

!colspan="2"| Title [+/-]
 * Column 1 || Column 2
 * abc || def
 * - id="mw-customcollapsible-test" class="mw-collapsible"
 * 123 || 765
 * - id="mw-customcollapsible-test" class="mw-collapsible"
 * xyz || 123
 * pqr || 987
 * }
 * Arkondi (talk) 13:24, October 14, 2012 (UTC)
 * pqr || 987
 * }
 * Arkondi (talk) 13:24, October 14, 2012 (UTC)

Change the color of the expand-collapse link
How can I change the color of the expand-collapse link text? I want to do this here I assume:
 * http://cannabis.wikia.com/wiki/MediaWiki:Wikia.css

I want the problem solved without inline CSS.

See the problem here:
 * http://cannabis.wikia.com/wiki/User:Timeshifter/Sandbox_20

Also, how can I add a couple nonbreaking spaces in front of the expand-collapse link? I want this problem also solved without inline CSS. --Timeshifter (talk) 19:13, March 14, 2013 (UTC)

Jquery Sliding
Is it possible to use the Jquery Effect  instead of using a fader for collapsing? --Echoblast53 (talk | contributions | chat) 00:49, April 3, 2013 (UTC)


 * No, not with this built in collapsing feature. You would need to write your own custom collapsing JS separate from this one, as this does not support an end-user option for changing the animation. (Perhaps you could request such a feature as a support request at Special:Contact so that Wikia can possibly feed your suggestions upstream to the MediaWiki folks.)


 * Also, the author noted in the $.makeCollapsible source code that sliding does not appear to work properly with tables, so you might want to be careful about that. (CTRL + F, search for "action" to locate the part of the code that collapses the elements.)

Place link in another part of a table

 * Try one of these two possibilities.


 * Both are documented on the help page.