Extension:ShowMe

The ShowMe extension allows inserting a dropdown or unordered list into pages, that will show different elements on the page depending on which option is selected.

This extension was created for WikiWorks.

Usage
Use the tag. It has an optional  parameter, which can set the name and id of the element. Each line between the tags should contain an option. It must consist of the text to be shown, followed by a pipe, followed by the class name of an element (or elements) on the page which should be shown when this option is selected. While one option is selected, the elements corresponding to all other options become hidden. To avoid flashing of elements that are supposed to be hidden, you can optionally add  to every option other than the first.