Template:Collapsible option

From Slumber Services
Revision as of 01:03, 26 November 2022 by en>Andrybak (Template:Navbar isn't collapsible, but Template:Navbox is)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Big currently defaults to Template:Big

To set this template's initial visibility, the Template:Para parameter may be used:

  • Template:Para: {{BASEPAGENAME|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • Template:Para: {{BASEPAGENAME|state=expanded}} to show the template expanded, i.e., fully visible
  • Template:Para: {{BASEPAGENAME|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a Template:Tlx, a Template:Tlx, 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 Template:Para parameter in the template on this page is not set, the template's initial visibility is taken from the Template:Para parameter in the Collapsible option template. For the template on this page, that currently evaluates to Template:Big. Template:Documentation