Jump to content

Template:Namespace and pagename-detecting templates/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Paine Ellsworth (talk | contribs) at 22:29, 4 January 2023 (update /doc). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This template's initial visibility currently defaults to expanded, meaning that it is fully visible.

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

  • {{Namespace and pagename-detecting templates|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Namespace and pagename-detecting templates|state=autocollapse}} will show the template autocollapsed, i.e. 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, but if not, it is fully visible.