Extension:SideBarMenu

What can this extension do?
This extension allows the creation of multilevel menus through the tag

Download instructions

 * 1) goto https://github.com/netbrain/mediawiki-SideBarMenu
 * 2) click the "ZIP" button
 * 3) Extract the contents to /path/to/mediawiki/extensions/

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

Styling
You can use CSS to customize the appearance of the sidebar and override the default CSS styles. To get started take a look in the file /css/ext.sidebarmenu.css.

Syntax explanation

 * Each newline represents a new menu item.
 * The first character of a line (either '+' or '-') determines if the menu item's children are visible or hidden
 * The number of '*' characters determines where in the tree the menu item should be placed.
 * The rest of the line is interpreted as wikitext.

Example syntax
MenuItem1                  <-- root menu item +MenuItem2                 <-- new root menu item which has it's children visible -*Child1                   <-- child of MenuItem1 which has it's children hidden
 * Child1                    <-- child of MenuItem1
 * Child2                   <-- child of Child1
 * Child3                    <-- child of MenuItem1
 * Child2                   <-- child of Child1

'+' or '-' determines whether the menu item should be expanded or collapsed, if neither is supplied at the beginning of a line then the default configured ('parser.menuitem.expanded') will decide.

The number of '*' characters determines the location in the hierarchy for the menuitem.

Example usage
The following code; (the tag parameters are not necessary, they are set for demonstrative purposes)

will result in the following: