Template:Collapsible option

From Chabadpedia
Revision as of 12:56, 20 March 2025 by Shia.k (talk | contribs) (Created page with "This template's '''initial visibility currently defaults to {{param value|{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}}}''', meaning that {{#switch:{{{default|}}}|collapsed=it is hidden apart from its title bar.|expanded=it is fully visible.|autocollapse|#default=if there is another collapsible item on the page (a navbox, sidebar, or Help:Collapsing tables and more|table with...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{BASEPAGENAME|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{BASEPAGENAME|state=expanded}} will show the template expanded, i.e. fully visible.

<templatestyles src="Module:Documentation/styles.css"></templatestyles>