Template:Collapse top/doc: Difference between revisions
Jump to navigation
Jump to search
w:en>Ikip No edit summary |
w:en>Ikip (→bg parameter: bad color choice gave example.) |
||
Line 15: | Line 15: | ||
===bg parameter=== | ===bg parameter=== | ||
The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. # | The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5). | ||
;Example, <nowiki>{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}}</nowiki> creates: | |||
{{cot|bg=#F0F2F5}} | |||
{{cot}} | |||
===padding parameter=== | ===padding parameter=== |
Revision as of 09:44, 12 September 2009
{{#invoke:Message box|ombox}}
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:
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
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:
See also
- {{Collapse bottom}}
- {{Collapse}}
- The template {{DAT}} is a redirect to this template.