<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://pdkb.chivanet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_bottom%2Fdoc</id>
		<title>Template:Collapse bottom/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://pdkb.chivanet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_bottom%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://pdkb.chivanet.org/wiki/index.php?title=Template:Collapse_bottom/doc&amp;action=history"/>
		<updated>2026-05-01T01:53:10Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://pdkb.chivanet.org/wiki/index.php?title=Template:Collapse_bottom/doc&amp;diff=1694&amp;oldid=prev</id>
		<title>DavidWhitten: Created page with &quot;{{Documentation subpage}} &lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt; {{High-use| 37900 }} {{u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pdkb.chivanet.org/wiki/index.php?title=Template:Collapse_bottom/doc&amp;diff=1694&amp;oldid=prev"/>
				<updated>2021-03-13T04:22:04Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;) --&amp;gt; {{High-use| 37900 }} {{u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{High-use| 37900 }}&lt;br /&gt;
{{used in system|in [[MediaWiki:Protect-text]]}}&lt;br /&gt;
{{Template shortcut|Cot|Cob}}&lt;br /&gt;
{{Template:Collapse Templates}}&lt;br /&gt;
&lt;br /&gt;
The {{tlx|collapse top}} template (or {{tlx|cot}}), and its paired template {{tlx|collapse bottom}} (or {{tlx|cob}}), are used for placing a collapse box around a talk page discussion, especially when the content contains complex wikimarkup such as tables. For very simple content, the one-piece template {{tlx|collapse}} can be used instead.&lt;br /&gt;
&lt;br /&gt;
These templates should only be used in accordance with the [[Wikipedia:Refactoring]] guideline; they should never be used to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.&lt;br /&gt;
&lt;br /&gt;
Do not hide content in articles. This violates the {{Section link|Wikipedia:Manual of Style|Scrolling lists and collapsible content}} and [[Wikipedia:Accessibility]] guidelines.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Place {{tlx|collapse top}} (or {{tlx|cot}}), and {{tlx|collapse bottom}} (or {{tlx|cob}}), around the text to be collapsed. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{collapse top|title=This is the title text}}&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{collapse bottom}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
produces:&lt;br /&gt;
{{collapse top|title=This is the title text}}&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{tlx|collapse bottom}} should always be placed on its own line.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
This template takes the following parameters, all of which are optional. They are case-sensitive. Those that take CSS measurements require them in CSS format (e.g. &amp;lt;code&amp;gt;{{mxt|1em}}&amp;lt;/code&amp;gt; not &amp;lt;code&amp;gt;{{!mxt|1&amp;amp;nbsp;em}}&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;{{para|1}}, {{para|title}}, {{para|reason}}, {{para|header}}, {{para|heading}}, {{para|result}}&amp;lt;span style=&amp;quot;font-weight: normal;&amp;quot;&amp;gt;, or first unnamed parameter&amp;lt;/span&amp;gt;: Will give the collapsed box a title, which occurs on the same line as the &amp;#039;&amp;#039;show&amp;#039;&amp;#039; link and is always visible. It defaults to &amp;quot;Extended content&amp;quot;. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|title=This is the title text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Note: The shorter, unnamed markup will not work if the title value contain an equals (&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;) character.&lt;br /&gt;
;{{para|warning|yes}}: Will display a default warning line under the main title which reads &amp;quot;The following is a closed debate. {{strongbad|Please do not modify it.}}&amp;quot; Any value supplied to this parameter will have this effect (i.e. {{para|warning|{{!mxt|no}}}} will not work as expected).&lt;br /&gt;
;{{para|2}}&amp;lt;span style=&amp;quot;font-weight: normal;&amp;quot;&amp;gt; or second unnamed parameter&amp;lt;/span&amp;gt;: This is optional warning-line text. It will override the standard warning line above; it is not necessary to also use {{para|warning|yes}} in this case, though doing so is harmless.&lt;br /&gt;
;{{para|left|yes}}: Will align the title along the left margin. By default, text is centered, specifically between the left edge of the green box and the left edge of the &amp;quot;show&amp;quot; link. Any value will enable this parameter (i.e. {{para|left|{{!mxt|no}}}} will not work as expected); nor is there a {{para|{{!mxt|right}}}} parameter.&lt;br /&gt;
;{{para|expand|yes}} &amp;lt;span style=&amp;quot;font-weight: normal;&amp;quot;&amp;gt;or&amp;lt;/span&amp;gt; {{para|collapse|no}}: Will leave the material uncollapsed with the border and coloring. Default is to collapse the material. Any value will have this effect (i.e. {{para|expand|{{!mxt|no}}}} and {{para|collapse|{{!mxt|yes}}}} will not work as expected).&lt;br /&gt;
;{{para|bg}}: Sets the background color of the collapsed material. Defaults to &amp;lt;code&amp;gt;#CCFFCC&amp;lt;/code&amp;gt;, a green hue. Named colors are listed at [[List of colors]]. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text|bg=#F0F2F5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text|bg=LightGrey}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (HTML color codes require the leading &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;).&lt;br /&gt;
;{{para|fc}}: Sets the font color of the title of the collapsible bar. Defaults to inheriting the current text color of the context. See {{para|bg}}, above, for details on color options.&lt;br /&gt;
;{{para|border}}: Sets the width of the border line on the collapsed material. defaults to &amp;lt;code&amp;gt;1px&amp;lt;/code&amp;gt;. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|border=2px}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;; going much thicker than this is not very useful.&lt;br /&gt;
;{{para|b-color}}: Sets the border color. defaults to &amp;lt;code&amp;gt;Silver&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;#C0C0C0&amp;lt;/code&amp;gt;). See {{para|bg}}, above, for details on color options.&lt;br /&gt;
;{{para|padding}}: Sets the padding (distance from borders) on the collapsed material inside the colored area. Defaults to &amp;lt;code&amp;gt;0.6em&amp;lt;/code&amp;gt;.&lt;br /&gt;
;{{para|width}}: Sets the width of the overall template relative to the page (or a block element containing the collapse box). This should virtually always be given as a percentage, e.g. {{para|width|50%}}, or in relative &amp;lt;samp&amp;gt;em&amp;lt;/samp&amp;gt; units, e.g. {{para|width|30em}}. Pixel-based values should be avoided, as they are effectively meaningless – the result will be different depending on each user&amp;#039;s browser and local CSS settings (which browser and operating system it is, zoom level, font sizes, etc.).&lt;br /&gt;
;{{para|border2}}: Sets the properties of the border of the box that appears when template is expanded; defaults to &amp;lt;code&amp;gt;1px Silver&amp;lt;/code&amp;gt; (there is no provision to change from a solid line). For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|border2=2px}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (only width or color will be changed if only one value is supplied).   See {{para|bg}}, above, for details on color options.&lt;br /&gt;
;{{para|bg2}}: Sets the background color of the box that appears when template is expanded; defaults to &amp;lt;code&amp;gt;White&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;#FFFFFF&amp;lt;/code&amp;gt;). See {{para|bg}}, above, for details on color options.&lt;br /&gt;
;{{para|indent}}: Indents the box from the left of the page. Defaults to no indentation. Each &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; in talk page markup is approximately equivalent to &amp;lt;code&amp;gt;1.6em&amp;lt;/code&amp;gt; of indent (e.g., to match &amp;lt;code&amp;gt;::::&amp;lt;/code&amp;gt; indentation level, use {{para|indent|6.4em}}. You can also use a percentage value. Pixel-based values should be avoided (see {{para|width}}, above, for why).&lt;br /&gt;
;{{para|clear}}: In some situations you may not want the default &amp;lt;code&amp;gt;clear: both;&amp;lt;/code&amp;gt; CSS to apply, which puts the collapse box below any left- or right-floated content within the same HTML block. In this case, you can use {{para|clear|none}}, {{para|clear|right}}, or {{para|clear|left}}, as needed.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Adding a box title (if omitted, default is &amp;#039;Extended content&amp;#039;) – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|This is the title text}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Adding a standard warning line – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text|warning=true}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|This is the title text|warning=true}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Adding a custom warning line – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|This is the title text|This is a custom warning line}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|This is the title text|This is a custom warning line}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Aligning box title along left margin – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|left=true}}&amp;lt;/nowiki&amp;gt;&amp;lt;!-- or {{collapse top|left=true}}--&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|left=true}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Changing background color – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|bg=#F0F2F5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|bg=#F0F2F5}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Adding extra padding – &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{collapse top|padding=5em}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{collapse top|padding=5em}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
* Archiving a section: the markup below:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{collapse top}}&lt;br /&gt;
==Section header==&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{collapse bottom}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
must be rewritten as:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{collapse top|Section header}}&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{collapse bottom}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
The end result:&lt;br /&gt;
{{collapse top|Section header}}&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
*[[Template:Collapse top/TemplateData]]&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
To Collapse top:&lt;br /&gt;
* {{tl|cot}}&lt;br /&gt;
* {{tl|ctop}}&lt;br /&gt;
* {{tl|DAT}}&lt;br /&gt;
To Collapse bottom:&lt;br /&gt;
* {{tl|cob}}&lt;br /&gt;
* {{tl|cbot}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|collapse}}&lt;br /&gt;
* {{#ifeq: {{BASEPAGENAME}} | Collapse top || {{tl|collapse top}} }}&lt;br /&gt;
* {{#ifeq: {{BASEPAGENAME}} | Collapse bottom || {{tl|collapse bottom}} }}&lt;br /&gt;
* {{tl|discussion top}} and {{tl|discussion bottom}}&lt;br /&gt;
* {{tl|hidden archive top}} and {{tl|hidden archive bottom}}&lt;br /&gt;
* {{tl|hidden begin}} and {{tl|hidden end}}&lt;br /&gt;
* {{tl|hidden}}&lt;br /&gt;
* {{tl|collapsible list}}&lt;br /&gt;
&lt;br /&gt;
{{Warchivenav|state=uncollapsed}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Archival templates]]&lt;br /&gt;
[[Category:Collapse templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DavidWhitten</name></author>	</entry>

	</feed>