Template:Collapse top/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PBS
→‎General information: Changed the wording to only involve those editors who's comments are inside the collapsed box
meta>Ludwigs2
reorganizing and strengthening
Line 4: Line 4:


The Collapse template is used for placing collapse boxes around discussions.
The Collapse template is used for placing collapse boxes around discussions.
This template should only be used in accordance with the [[Wikipedia:refactoring]] guideline; it should never be used to to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.


== Usage ==
== Usage ==
Line 43: Line 45:


==General information==
==General information==
In line with with the [[Wikipedia:refactoring]] guideline, if an editor who comments are included in a collapsed discussion objects to the use of this template to alter the look of a talk page, then it should not be used.


== Redirects ==
== Redirects ==

Revision as of 16:46, 1 March 2010

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

This template should only be used in accordance with the Wikipedia:refactoring guideline; it should never be used to to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.

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}}

The 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.

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:

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

Replace with:

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

The expand parameter

Add |expand=yes to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link. use |expand= (an empty value) or omit the expand parameter to have the box show up in collapsed form.

General information

Redirects

See also