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
editThis 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, if enabled,{{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, if enabled,{{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/testcases |expanded=all}}
or, if enabled,{{Collapsible lists option/testcases |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/testcases |expanded=listname}}
or, if enabled,{{Collapsible lists option/testcases |listname}}
- …where listname is one of the following (do not include any quotemarks):
- A
- B
- C
Without listnames
editThis 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, if enabled,{{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, if enabled,{{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/testcases |expanded=all}}
or, if enabled,{{Collapsible lists option/testcases |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/testcases |expanded=listname}}
or, if enabled,{{Collapsible lists option/testcases |listname}}
- …where listname is one of the following (do not include any quotemarks):
Required parameter "listnames" missing!
expandedname=
editThis 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, if enabled,{{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, if enabled,{{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/testcases |expanded=all}}
or, if enabled,{{Collapsible lists option/testcases |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/testcases |expanded=listname}}
or, if enabled,{{Collapsible lists option/testcases |listname}}
- …where listname is one of the following (do not include any quotemarks):
- A
- B
- C