<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top%2Fdoc</id>
	<title>Template:Collapse top/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.midsouthmakers.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Collapse_top/doc&amp;action=history"/>
	<updated>2026-05-01T01:42:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.midsouthmakers.org/index.php?title=Template:Collapse_top/doc&amp;diff=7226&amp;oldid=prev</id>
		<title>Dan9186: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Collapse_top/doc&amp;diff=7226&amp;oldid=prev"/>
		<updated>2010-12-25T17:57:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision&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;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{shortcut|Template:Cot|Template:Cob}}&lt;br /&gt;
&lt;br /&gt;
The Collapse template is used for placing collapse boxes around discussions. It is a two-part template, used in conjunction with {{#switch: {{BASEPAGENAME}} | Collapse top={{tl|Collapse bottom}} ({{tl|cob}}) | Collapse bottom={{tl|Collapse top}} ({{tl|cot}}) | #default=its paired template }}.&lt;br /&gt;
&lt;br /&gt;
This template should only be used in accordance with the [[Wikipedia:refactoring]] guideline; it should never be used to to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Place {{#ifeq: {{BASEPAGENAME}} | Collapse top | this template | {{tl|collapse top}} }} and {{#ifeq: {{BASEPAGENAME}} | Collapse bottom | this template | {{tl|collapse bottom}} }} around the text to be collapsed. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Collapse top|This is the title text}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
produces&lt;br /&gt;
{{Collapse top|This is the title text}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
This template takes the following parameters, all of which are optional&lt;br /&gt;
&lt;br /&gt;
;&amp;#039;&amp;#039;positional parameter 1&amp;#039;&amp;#039;, named parameter &amp;#039;title&amp;#039;: These parameters give the main title of collapsed box, 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;#039;Extended content&amp;#039;.&lt;br /&gt;
;warning: If this parameter evaluates to true (i.e. is not 0, false, or empty) it will display a default warning line under the main title which reads &amp;#039;The following is an archived debate. &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Please do not modify it.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
;&amp;#039;&amp;#039;positional parameter 2&amp;#039;&amp;#039;: This is optional warning-line text. It will override the standard warning line above, and obviate the need for setting the &amp;#039;warning&amp;#039; parameter.&lt;br /&gt;
;&amp;#039;expand&amp;#039;: If this parameter evaluates to true (i.e. is not 0, false, or empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material.&lt;br /&gt;
;&amp;#039;bg&amp;#039;: Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green. Other colors available from [[List of colors]].&lt;br /&gt;
;&amp;#039;border&amp;#039;: Sets the width of the border line on the collapsed material. defaults to 1px.&lt;br /&gt;
;&amp;#039;b-color&amp;#039;: Sets the border color. defaults to silver.&lt;br /&gt;
;&amp;#039;padding&amp;#039;: Sets the padding on the collapsed material in the colored area. defaults to 8 px&lt;br /&gt;
;&amp;#039;width&amp;#039;: Sets the width of the overall template. Use &amp;lt;code&amp;gt;|width=700px&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;|Width=200px&amp;lt;/code&amp;gt; (Upper case &amp;quot;W&amp;quot; doesn&amp;#039;t work) or &amp;lt;code&amp;gt;|width=200&amp;lt;/code&amp;gt; (omits &amp;quot;px&amp;quot; and doesn&amp;#039;t work).&lt;br /&gt;
;&amp;#039;border2&amp;#039;: Sets the border of the box that appears when template is expanded; defaults to &amp;quot;1px silver&amp;quot; (no provision to change from a solid line)&lt;br /&gt;
;&amp;#039;bg2&amp;#039;: Sets background of the box that appears when template is expanded; defaults to white.&lt;br /&gt;
&lt;br /&gt;
If an entire section is being archived, remove the section header and add it as the first parameter of the template. This keeps the section header from showing in the TOC.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*changing background color - &amp;lt;nowiki&amp;gt;{{Collapse top|bg=#F0F2F5}} or {{cot|bg=#F0F2F5}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{cot|bg=#F0F2F5}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{cob}}&lt;br /&gt;
*adding extra padding - &amp;lt;nowiki&amp;gt;{{cot|padding=40px}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{cot|padding=40px}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{cob}}&lt;br /&gt;
*adding a warning line - &amp;lt;nowiki&amp;gt;{{cot|default warning|warning=1}}&amp;lt;/nowiki&amp;gt;, &amp;lt;nowiki&amp;gt;{{cot|custom warning|this is a custom warning line}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{cot|default warning|warning=1}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{cob}}&lt;br /&gt;
{{cot|custom warning|this is a custom warning line}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{cob}}&lt;br /&gt;
*archiving a section&lt;br /&gt;
&amp;lt;pre&amp;gt;{{cot}}&lt;br /&gt;
==section header==&lt;br /&gt;
text&lt;br /&gt;
{{cob}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
rewritten as &lt;br /&gt;
&amp;lt;pre&amp;gt;{{cot|section header}}&lt;br /&gt;
text&lt;br /&gt;
{{cob}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{cot|section header}}&lt;br /&gt;
text&lt;br /&gt;
{{cob}}&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
To Collapse top:&lt;br /&gt;
* {{tl|cot}}&lt;br /&gt;
* {{tl|DAT}}&lt;br /&gt;
To Collapse bottom:&lt;br /&gt;
* {{tl|cob}}&lt;br /&gt;
* {{tl|hab}}&lt;br /&gt;
* {{tl|hidden archive bottom}}&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}}&lt;br /&gt;
* {{tl|hidden archive top}}&lt;br /&gt;
&lt;br /&gt;
{{Warchivenav|state=uncollapsed}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Archival templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Collapse templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
[[hu:Sablon:Doboz2]]&lt;br /&gt;
[[ja:Template:Collapse top]]&lt;br /&gt;
[[ka:თარგი:Collapse top]]&lt;br /&gt;
[[no:mal:kollaps topp]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan9186</name></author>
	</entry>
</feed>