Template:Collapsible option: Difference between revisions

From Slumber Services
Jump to navigation Jump to search
en>Andrybak
(Template:Navbar isn't collapsible, but Template:Navbox is)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 22:47, 4 February 2023

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