Template:Cage the Elephant

From blackwiki
Revision as of 12:10, 7 July 2017 by imported>KylieTastic (Reverted 3 edits by 2601:446:8100:B57B:7953:24DC:9A2E:198D (talk) to last revision by 2602:306:33DA:E1C0:2020:DB44:D93F:E39B. ([[WP:TW...)
Jump to navigation Jump to search

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Cage the Elephant|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Cage the Elephant|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Cage the Elephant|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.