Template:Collapse top/doc

The Collapse template is used for placing collapse boxes around discussions.

Usage
Note: Collapse top and Collapse bottom need to be substed in order for the time stamp functionality to work properly.

DISCUSSION

Collapse bottom

The bg parameter
The bg parameter is Optional. It changes the background color. use Web color values (e.g. #F0F2F5).

or creates:
 * Example:

Text here.

The padding parameter
The padding parameter adjusts the amount of cell padding (defaults to 8px)

Around header text
When used with a section of text, include the section header in the collapsed portion of text. For example, given:

Replace with:

The expand parameter
Simply add yes to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link. Note: no does not work, which is lame; to disable the feature, you have to remove the entire expand parameter and value.

Redirects

 * DAT