Manual:Collapsible elements

How to make collapsible tables as seen on Wikipedia

Setup
Copy and paste the following text into your wiki's MediaWiki:Common.js and MediaWiki:Common.css:

Markup
The following markup in pages now makes collapsible sections: