Extension:Collapsmi

What can this extension do?
Collapsmi allows collapsing and expanding some content which can either be simple text, wiki markup or even a web-site.

It only has a handful of attributes some of which can be combined.

The usage section below lists the attributes and the default and possible values.

The pictures below show the wiki syntax and what the tags look like.

Sorry I haven't had time yet to upload it to the Mediawiki subversion. The complete code is listed below in the code section.

Usage
There are only a handful of attributes of the tag:

Examples
The following screen shots show the wiki syntax and its result:

Installation
To install this extension add the following to LocalSettings.php:

Copy the files Collapsmi.php, Collapsmi.i18n.php and Collapsmi.body.php under the Mediawiki extensions folder for Collapsmi (/extensions/Collapsmi/). These files are going to be available for download soon, but till then please copy their content from the "Collapsmi code" section below.

To discuss new ideas or changes
Please use the |Discussion page to discuss new ideas or changes.