[[w:]]>Bsherr
m adding comment
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:29, 25 June 2022

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the <templatestyles src="Template:Nowrap/styles.css"/>|state= parameter may be used:

  • <templatestyles src="Template:Nowrap/styles.css"/>|state=collapsed: {{BASEPAGENAME|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • <templatestyles src="Template:Nowrap/styles.css"/>|state=expanded: {{BASEPAGENAME|state=expanded}} to show the template expanded, i.e., fully visible
  • <templatestyles src="Template:Nowrap/styles.css"/>|state=autocollapse: {{BASEPAGENAME|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a <templatestyles src="Template:Mono/styles.css"/>{{navbar}}, a <templatestyles src="Template:Mono/styles.css"/>{{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the <templatestyles src="Template:Nowrap/styles.css"/>|state= parameter in the template on this page is not set, the template's initial visibility is taken from the <templatestyles src="Template:Nowrap/styles.css"/>|default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse. Lua error: Module:TNT:158: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.