Template:Namespace and pagename-detecting templates/doc
< Template:Namespace and pagename-detecting templates
Jump to navigation
Jump to search
Revision as of 10:02, 21 January 2022 by Kg7qin (talk | contribs) (Created page with "{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--> {{Collapsible option |state...")
This is a documentation subpage for Template:Namespace and pagename-detecting templates. It contains usage information, categories and other content that is not part of the original template page. |
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Namespace and pagename-detecting templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Namespace and pagename-detecting templates|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Namespace and pagename-detecting templates|state=autocollapse}}
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse
.