Template:Collapsible option

From Ikwipedia
Revision as of 19:28, 28 October 2024 by wikipedia>Jonesey95 (Undid revision 1253961354 by Jonesey95 (talk). Use sandbox other instead; unused navboxes should still show up in the report.)
(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:

  • <syntaxhighlight lang="wikitext" inline="1">{{BASEPAGENAME|state=collapsed}}</syntaxhighlight> will show the template collapsed, i.e. hidden apart from its title bar.
  • <syntaxhighlight lang="wikitext" inline="1">{{BASEPAGENAME|state=expanded}}</syntaxhighlight> will show the template expanded, i.e. fully visible.