Template:Collapse top/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ikip |
meta>Ikip |
||
| Line 17: | Line 17: | ||
The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5). | The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5). | ||
;Example | ;Example: | ||
<nowiki>{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}}</nowiki> creates: | |||
{{cot|bg=#F0F2F5}} | {{cot|bg=#F0F2F5}} | ||
Revision as of 17:44, 12 September 2009
| This is a documentation subpage for Template:Collapse top. It may contain usage information, categories and other content that is not part of the original template page. |
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. #F0F2F5).
- Example
{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}} creates:
Extended content
|
|---|
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:
Replace with:
See also
- {{Collapse bottom}}
- {{Collapse}}
- The template {{DAT}} is a redirect to this template.