Template:Namespace and pagename-detecting templates: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m 1 revision imported |
add {{noscript}} |
||
Line 79: | Line 79: | ||
| group7 = {{tlbare|If mobile}} | | group7 = {{tlbare|If mobile}} | ||
| list7 = Displays different content to mobile users and desktop users. | | list7 = Displays different content to mobile users and desktop users. | ||
| group8 = {{tlbare|If checkuser}} | |||
| list8 = Displays different content to checkusers and non-checkusers. | |||
| group9 = {{tlbare|Noscript}} | |||
| list9 = Detects whether page is viewed with a JavaScript-capable client or not. | |||
}} | }} | ||
Revision as of 04:01, 21 November 2021
Initial visibility: currently defaults to expanded
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 expanded
.