Template:Collapse top/doc: Difference between revisions
w:en>Ludwigs2 (fixing docs) |
w:en>PBS (→General information: Don't get into an edit war over its usage.) |
||
Line 41: | Line 41: | ||
===The expand parameter=== | ===The expand parameter=== | ||
Add {{para|expand|yes}} to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link. use {{para|expand|}} (an empty value) or omit the expand parameter to have the box show up in collapsed form. | Add {{para|expand|yes}} to have the box show up in expanded form with a "hide" link, instead of collapsed form with a "show" link. use {{para|expand|}} (an empty value) or omit the expand parameter to have the box show up in collapsed form. | ||
==General information== | |||
In line with with the [[Wikipedia:refactoring]] guideline, if another editor objects to the use of this template to alter the look of a talk page by collapsing a conversation then it should not be used. | |||
== Redirects == | == Redirects == |
Revision as of 02:05, 1 March 2010
{{#invoke:Message box|ombox}} Template:Shortcut
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).
- Example
{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}} creates:
Template:Cot Text here. Template:Cob
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: Template:Divbox
Replace with:
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
In line with with the Wikipedia:refactoring guideline, if another editor objects to the use of this template to alter the look of a talk page by collapsing a conversation then it should not be used.
Redirects
- {{DAT}}
See also
- {{collapse bottom}}
- {{collapse}}
- {{discussion top}}
- {{archive top}}
- {{hidden archive top}}