<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.badwolfmc.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=172.97.141.219</id>
	<title>BadWolfMC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.badwolfmc.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=172.97.141.219"/>
	<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/wiki/Special:Contributions/172.97.141.219"/>
	<updated>2026-05-07T17:47:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Template:Collapsible_option/doc&amp;diff=4982</id>
		<title>Template:Collapsible option/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Collapsible_option/doc&amp;diff=4982"/>
		<updated>2024-12-01T02:09:22Z</updated>

		<summary type="html">&lt;p&gt;172.97.141.219: /* Indicating optional use of {{samp|state}} name */  {{Update|inaccurate=yes|date=December 2024|reason=Removed in 2015|talk=Broken_statename_parameter}}&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{High-use|demo={{ROOTPAGENAME}}}}&lt;br /&gt;
{{tlx|Collapsible option}} is a utility template that provides a standardised message for [[Help:Transclusion|transclusion]] on [[Wikipedia:Template documentation|template documentaion]] pages for templates whose collapsibility may be managed by the parameter {{para|state}}.&lt;br /&gt;
&lt;br /&gt;
It can be used on either the template page itself (wrapped within {{tag|noinclude}} tags), but it is almost always better to place it in the template&#039;s {{tlx|documentation subpage}}.&lt;br /&gt;
&lt;br /&gt;
===Indicating optional use of {{samp|state}} name===&lt;br /&gt;
{{Update|inaccurate=yes|date=December 2024|reason=Removed in [[Special:Diff/657041913|2015]]|talk=Broken_statename_parameter}}&lt;br /&gt;
The {{para|state}} parameter used to manage collapsible templates need not always be named explicitly, i.e. {{tnull|{{var|Template name}}{{!}}{{var|state}}}} can be the same as {{tnull|{{var|Template name}}|state{{=}}{{var|state}}}}, if the template is coded that way. To indicate this in the {{tnull|Collapsible option}} message, add the parameter {{para|statename|optional}}. This modifies the message so that it reads (if it were used for itself):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear:both;margin:1.0em 0;background:whitesmoke;&amp;quot;&amp;gt;&lt;br /&gt;
{{Collapsible option |statename=optional}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This possibility is enabled by including:&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{{1|}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; as part of a collapsible template&#039;s {{para|state}} parameter{{spaced ndash}}for instance, as {{para|state|&amp;lt;nowiki&amp;gt;{{{state|{{{1|}}}}}}&amp;lt;/nowiki&amp;gt;}} or {{para|state|&amp;lt;nowiki&amp;gt;{{{state|{{{1|&amp;lt;noinclude&amp;gt;expanded&amp;lt;/noinclude&amp;gt;}}}}}}&amp;lt;/nowiki&amp;gt;}}, etc.&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;as part of a collapsible template&#039;s &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; argument{{spaced ndash}}for instance, as {{para|state|&amp;lt;nowiki&amp;gt;{{{state&amp;lt;includeonly&amp;gt;|collapsed&amp;lt;/includeonly&amp;gt;}}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
If, however, the template includes collapsible sections within itself (e.g. {{tlx|Navbox with collapsible groups}}), then enabling this possibility may introduce ambiguity as regards what is to be collapsed or expanded. In those instances, therefore, the requirement to use {{para|state}} should be retained.&lt;br /&gt;
&lt;br /&gt;
===Changing the default state===&lt;br /&gt;
To change the default state {{tnull|Collapsible option}} uses, add the parameter {{para|default|collapsed}} or {{para|default|expanded}} accordingly. To restore the default, remove any {{para|default}} previously included.&lt;br /&gt;
&lt;br /&gt;
The {{para|default|collapsed}} option must not be used in main article content in mainspace, e.g. to hide [[Wikipedia:Manual of Style/Tables|tables of information]], or to cram extraneous details into [[Wikipedia:Manual of Style/Infoboxes|infoboxes]]. {{crossref|printworthy=y|(For more information, see {{section link|Wikipedia:Manual of Style#Scrolling lists and collapsible content}}.)}} This option {{em|is}} permissible in [[Wikipedia:Navigation template|navboxes]], which are not part of the article content {{lang|la|per se}}.&lt;br /&gt;
&lt;br /&gt;
===Slashes and the {{samp|nobase}} parameter ===&lt;br /&gt;
If the template name given to {{tnull|Collapsible option}} includes a forward-slash (virgule) character – &amp;lt;kbd&amp;gt;/&amp;lt;/kbd&amp;gt; – then the parameter {{para|nobase}} (set to {{kbd|on}}, {{kbd|true}}, etc.) will need to be added so that the name is displayed correctly (i.e., so that {{tlc|PAGENAME}} rather than the default {{tlc|BASEPAGENAME}} is used to display it).&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Navbox documentation}}, which includes this template &lt;br /&gt;
* {{tl|Collapsible lists option}}&lt;br /&gt;
* {{tl|Collapsible sections option}}&lt;br /&gt;
* [[Help:Collapsing tables and more|Collapsing tables and more]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Documentation shared content templates]]&lt;br /&gt;
[[Category:Wikipedia metatemplates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>172.97.141.219</name></author>
	</entry>
</feed>