Template:Collapse/doc: Difference between revisions
Template page
More actions
header-fc |
m + align parameter |
||
| Line 17: | Line 17: | ||
* <code>header-fc</code> = color of header text {{color|grey|(default: #000000)}} | * <code>header-fc</code> = color of header text {{color|grey|(default: #000000)}} | ||
* <code>width</code> = width of box {{color|grey|(default: 100%)}} | * <code>width</code> = width of box {{color|grey|(default: 100%)}} | ||
* <code>align</code> = align of box {{color|grey|(default: center)}} | |||
View source for additional parameters. | View source for additional parameters. | ||
<!-- | <!-- | ||
Revision as of 15:36, 4 January 2014
⧼usage⧽
{{collapse|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)header-fc= color of header text (default: #000000)width= width of box (default: 100%)align= align of box (default: center)
View source for additional parameters.