Template:Collapse top/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Thumperward
(tidy)
meta>Amalthea
m (→‎Around header text: fix, per talk page)
Line 37: Line 37:
Replace with:
Replace with:


{{Divbox|tt|Changed to|{{Tlsp|Collapse|[[Help:Section|Heading]]|}}<br />{{Lorem ipsum}}<br />{{Tlsp|Collapse bottom}}}}
{{Divbox|tt|Changed to|{{Tlsp|Collapse top|[[Help:Section|Heading]]|}}<br />{{Lorem ipsum}}<br />{{Tlsp|Collapse bottom}}}}


=== Redirects ===
=== Redirects ===

Revision as of 08:16, 22 October 2009

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.

{{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. #F0F2F5).

Example

{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}} creates:

Extended content

Text here.

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.

Redirects

See also