| icon | This is the template test cases page for the sandbox of Template:Collapsible lists option. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
With listnames
edit sourceThis template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}or{{Collapsible lists option|all}}(i.e. omitting|expanded=).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}}or{{Collapsible lists option|listname}} - ...where listname is one of the following (do not include any quotemarks):
- A
- B
- C
{{Collapsible lists option/sandbox}}
This template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}or{{Collapsible lists option|all}}(i.e. omitting|expanded=).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}}or{{Collapsible lists option|listname}} - ...where listname is one of the following (do not include any quotemarks):
- A
- B
- C
Without listnames
edit sourceThis template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}or{{Collapsible lists option|all}}(i.e. omitting|expanded=).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}}or{{Collapsible lists option|listname}} - ...where listname is one of the following (do not include any quotemarks):
- Required parameter "listnames" missing!
{{Collapsible lists option/sandbox}}
This template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}or{{Collapsible lists option|all}}(i.e. omitting|expanded=).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}}or{{Collapsible lists option|listname}} - ...where listname is one of the following (do not include any quotemarks):
- Required parameter "listnames" missing!
expandedname=required
edit sourceThis template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}} - ...where listname is one of the following (do not include any quotemarks):
- AAAA
- BBBB
- CCCC
{{Collapsible lists option/sandbox}}
This template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Collapsible lists option|expanded=all}}).
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Collapsible lists option|expanded=listname}} - ...where listname is one of the following (do not include any quotemarks):
- AAAA
- BBBB
- CCCC