Template:Collapse list
Appearance
Parameters[edit source]
This template builds collapsible lists with titles.
Parameter | Description | Required |
---|---|---|
1 / head | list name | required |
2 / body | list content | required |
expand | If set to any value besides 'no', the list is uncollapsed | optional |
inline | If set to 'yes', display the list as an inline block | optional |
style | Sets the style properties of the lists' <div>. | optional |
Examples[edit source]
Wikitext | Produces |
---|---|
{{collapse list|List|* Item}}
|
List
|
{{collapse list|inline=yes|Inline list|* Item}}
|
Inline list
|
{{collapse list|expand=yes|Expanded list|* Item}}
|
Expanded list
|
{{collapse list|style=background-color:lightgreen|Green list|* Item}}
|
Green list
|