Difference between revisions of "Template:Namespace and pagename-detecting templates"
Jump to navigation
Jump to search
Mediawiki>SD0001 (add {{noscript}}) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) |
Latest revision as of 19:01, 21 January 2022
This documentation is transcluded from Template:Namespace and pagename-detecting templates/doc.
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
.