Template:Collapsible lists option/testcases

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

With listnames

[edit source]

{{Collapsible lists option}}

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

{{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 source]

{{Collapsible lists option}}

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!

{{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 source]

{{Collapsible lists option}}

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

{{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