Editing
Template:Collapsible option
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template's '''initial visibility currently defaults to {{param value|{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}}}''', meaning that {{#switch:{{{default|}}}|collapsed=it is hidden apart from its title bar.|expanded=it is fully visible.|autocollapse|#default=if there is another collapsible item on the page (a [[Wikipedia:Navigation_template#Types|navbox, sidebar]], or [[Help:Collapsing tables and more|table with the collapsible attribute]]), it is hidden apart from its title bar; if not, it is fully visible.}} To change this template's initial visibility, the {{para|{{{parameter_name|state}}}}} [[Help:Template#Parameters|parameter]] may be used: <ul> {{#ifeq:{{{default|}}}|collapsed|<!-- don't show -->|<li>{{#tag:syntaxhighlight|<nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}}| |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|</nowiki>{{{parameter_name|state}}}<nowiki>=collapsed}}</nowiki>|lang=wikitext|inline=1}} will show the template collapsed, i.e. hidden apart from its title bar.</li>}} {{#ifeq:{{{default|}}}|expanded|<!-- don't show -->|<li>{{#tag:syntaxhighlight|<nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|</nowiki>{{{parameter_name|state}}}<nowiki>=expanded}}</nowiki>|lang=wikitext|inline=1}} will show the template expanded, i.e. fully visible.</li>}} {{#ifeq:{{{default|autocollapse}}}|autocollapse|<!-- don't show -->|<li>{{#tag:syntaxhighlight|<nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|</nowiki>{{{parameter_name|state}}}<nowiki>=autocollapse}}</nowiki>|lang=wikitext|inline=1}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a [[Wikipedia:Navigation_template#Types|navbox, sidebar]], or [[Help:Collapsing|table with the collapsible attribute]]), it is hidden apart from its title bar, but if not, it is fully visible.</li>}}</ul><!-- -->{{#if:{{{align|}}}|{{para|align|{{var|value}}}} is also available; where {{var|value}} can be either <code>right</code> or <code>left</code>. The default is {{kbd|center}}. }}{{#if:{{{title-background|}}}|{{para|title-background|{{var|value}}}} is also available; where {{var|value}} can be either {{kbd|navbox}} or a {{kbd|color}}. The default is {{kbd|none}}, and {{{kbd|navbox}}} defaults to the default navbox color. }}{{#if:{{{width|}}}| {{para|width|{{var|value}}}} is also available; where {{var|value}} can be either {{kbd|{{var|N}} [em/%/px]}} or {{kbd|auto}}. The default is {{kbd|100%}}. }}{{sandbox other|__EXPECTUNUSEDTEMPLATE__}}<!-- Add {{pp-template}} if template page where this template is transcluded is protected: -->{{template other | {{#if:{{PROTECTIONLEVEL:edit}} |{{pp-template|docusage=yes}} | {{#if:{{PROTECTIONLEVEL:move}} |{{pp-move|docusage=yes|small=yes}} }} }} }}<noinclude> {{Documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ambox globe
(
edit
)
Template:Ambox globe current red
(
edit
)
Template:Collapsible option
(
edit
)
Template:Collapsible option/doc
(
edit
)
Template:Crossref
(
edit
)
Template:Crossreference
(
edit
)
Template:Crossreference/styles.css
(
edit
)
Template:Documentation
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Em
(
edit
)
Template:Hatnote inline
(
edit
)
Template:High-use
(
edit
)
Template:Kbd
(
edit
)
Template:Kbd/styles.css
(
edit
)
Template:Lang
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:Para
(
edit
)
Template:Param value
(
edit
)
Template:Replace
(
edit
)
Template:SUBJECTSPACE formatted
(
edit
)
Template:Samp
(
edit
)
Template:Sandbox other
(
edit
)
Template:Section link
(
edit
)
Template:Spaced en dash
(
edit
)
Template:Spaced ndash
(
edit
)
Template:Tag
(
edit
)
Template:Template link
(
edit
)
Template:Template link code
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template link null
(
edit
)
Template:Template other
(
edit
)
Template:Tl
(
edit
)
Template:Tlc
(
edit
)
Template:Tlx
(
edit
)
Template:Tnull
(
edit
)
Template:Update
(
edit
)
Template:Var
(
edit
)
Module:Arguments
(
view source
) (protected)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote inline
(
edit
)
Module:High-use
(
edit
)
Module:Lang
(
edit
)
Module:Lang/ISO 639 synonyms
(
edit
)
Module:Lang/configuration
(
edit
)
Module:Lang/data
(
edit
)
Module:Lang/data/iana languages
(
edit
)
Module:Lang/data/iana regions
(
edit
)
Module:Lang/data/iana scripts
(
edit
)
Module:Lang/data/iana suppressed scripts
(
edit
)
Module:Lang/data/iana variants
(
edit
)
Module:Lang/data/is latn data
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Section link
(
edit
)
Module:String
(
edit
)
Module:Template link general
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/C
(
edit
)
Module:Unicode data
(
edit
)
Module:Unsubst
(
edit
)
Module:Yesno
(
view source
) (protected)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Donate
Tools
What links here
Related changes
Upload file
Special pages
Page information