Template:Collapse: Difference between revisions
Template page
More actions
m m |
Clarification |
||
| Line 11: | Line 11: | ||
* Note: If the ''content'' includes an equal sign, use <nowiki>{{</nowiki>collapsed|1=''content''}} or replace the equal signs with <code>&#61;</code>. | * Note: If the ''content'' includes an equal sign, use <nowiki>{{</nowiki>collapsed|1=''content''}} or replace the equal signs with <code>&#61;</code>. | ||
* Set <code>expand</code> to 'yes' (or anything besides 'no') to have the box expanded by default. | * Set <code>expand</code> to 'yes' (or anything besides 'no') to have the box expanded by default. | ||
* Default title is <nowiki>{{PAGENAME}}</nowiki> unless defined otherwise by title= ''MyTitle'' | |||
;Optional parameters<nowiki>:</nowiki> | ;Optional parameters<nowiki>:</nowiki> | ||
* <code>header-c</code> = header color {{color|grey|(default: #f0f2f5)}} | * <code>header-c</code> = header color {{color|grey|(default: #f0f2f5)}} | ||
Revision as of 15:52, 25 February 2010
| Collapse |
|---|
|
{{{1}}} |
⧼usage⧽: {{collapsed|title=title|1=content}}
- Note: If the content includes an equal sign, use {{collapsed|1=content}} or replace the equal signs with
=. - Set
expandto 'yes' (or anything besides 'no') to have the box expanded by default. - Default title is {{PAGENAME}} unless defined otherwise by title= MyTitle
- Optional parameters:
header-c= header color (default: #f0f2f5)border-c= border color (default: #c0c0c0)background-c= background color (default: #fff)border-w= border width (default: 1px)border-s= border style (default: solid)font-size= size of header and body text (default: 88%)header-fs= size of header text (default: 88% or 'font-size' if set)width= width of box (default: 100%)
View source for additional parameters.