Template:Collapse top/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ohms law
(Copy edited)
meta>Ikip
({{shortcut|Template:Cot}})
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
==Usage==
 
{{shortcut|Template:Cot}}
'''''Note: {{Tl|Collapse top}} and {{Tl|Collapse bottom}} need to be substed in order for the time stamp functionality to work properly.'''''
'''''Note: {{Tl|Collapse top}} and {{Tl|Collapse bottom}} need to be substed in order for the time stamp functionality to work properly.'''''



Revision as of 17:38, 12 September 2009

Usage

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

The Collapse template is used for placing collapse boxes around discussions, as follows:

{{Collapse top|Optional text|bg|padding}}

DISCUSSION

{{Collapse bottom}}

bg parameter

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

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:

Page Template:Divbox/styles.css has no content.

Replace with:

Page Template:Divbox/styles.css has no content.

See also