Board Thread:Support Requests - Getting Technical/@comment-3237614-20130106042559/@comment-4674838-20130106200700

Teppei Kiyoshi wrote: Suppose I were to use class="collapsible collapsed" How do I deal with the spacing? Example: in this, you can see that the side where the sho/hide button is located has a relatively larger gap than on the left side. Is this a problem with the template or is it because of the show/hide button?

That's because of the show/hide button.

Please do not use class="collapsible collapsed" that is dependent on the JavaScript at w:c:dev:ShowHide which is outdated and may fail to work in the future.

You are highly advised to change all instances of the outdated ShowHide code into using class="mw-collapsible" which is supported in core MediaWiki software. After doing so, you should remove importScriptPage('ShowHide/code.js', 'dev'); from your MediaWiki:Common.js.