<?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%2Fdoc</id>
	<title>Template:Collapse/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%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.midsouthmakers.org/index.php?title=Template:Collapse/doc&amp;action=history"/>
	<updated>2026-06-15T20:39:07Z</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/doc&amp;diff=7322&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/doc&amp;diff=7322&amp;oldid=prev"/>
		<updated>2010-12-25T17:57:47Z</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 &amp;#039;&amp;#039;short&amp;#039;&amp;#039; discussions and bits of discussions (tables, long code samples, etc.).  For entire discussion threads, use {{tl|Collapse top}} and {{tl|Collapse bottom}} instead.&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;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note: {{Tl|Collapse}} needs to be substed in order for the time stamp functionality to work properly.&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Tlx|Collapse|1&amp;amp;#61;&amp;lt;var&amp;gt;Discussion text to be put into box.&amp;lt;/var&amp;gt;|2&amp;amp;#61;&amp;lt;var&amp;gt;Optional custom heading&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
It is definitely safest to use the named {{para|1}} and {{para|2}} parameters, because otherwise any &amp;quot;=&amp;quot; character will break the template.&lt;br /&gt;
&lt;br /&gt;
=== The bg parameter ===&lt;br /&gt;
&lt;br /&gt;
The bg parameter is Optional. It changes the background color. use [[Web color]] values (e.g. #F0F2F5).&lt;br /&gt;
&lt;br /&gt;
;Example:&lt;br /&gt;
 &lt;br /&gt;
{&amp;lt;nowiki /&amp;gt;{Collapse|1=&amp;lt;var&amp;gt;Discussion text to be put into box.&amp;lt;/var&amp;gt;|bg=#F0F2F5}&amp;lt;nowiki /&amp;gt;} creates:&lt;br /&gt;
&lt;br /&gt;
{{Collapse|1=Discussion text to be put into box.|bg=#F0F2F5}}&lt;br /&gt;
&lt;br /&gt;
=== The padding parameter ===&lt;br /&gt;
The padding parameter adjusts the amount of cell padding (defaults to 8px):&lt;br /&gt;
&lt;br /&gt;
{&amp;lt;nowiki /&amp;gt;{Collapse|1=&amp;lt;var&amp;gt;Discussion text to be put into box.&amp;lt;/var&amp;gt;|padding=20px}&amp;lt;nowiki /&amp;gt;} creates:&lt;br /&gt;
&lt;br /&gt;
{{Collapse|1=Discussion text to be put into box.|padding=20px}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Around header text ===&lt;br /&gt;
&lt;br /&gt;
When used with a section of text, include the section header in the collapsed portion of text. For example, given:&lt;br /&gt;
&lt;br /&gt;
{{Divbox|green|Example text|&amp;amp;#x3d;&amp;amp;#x3d; [[Help:Section|Heading]] &amp;amp;#x3d;&amp;amp;#x3d;&amp;lt;br /&amp;gt;{{Lorem ipsum}}}}&lt;br /&gt;
&lt;br /&gt;
Replace with:&lt;br /&gt;
&lt;br /&gt;
{{Divbox|tt|Changed to|{{Tlsp|Collapse|1&amp;amp;#61;{{Lorem ipsum}}|2&amp;amp;#61;[[Help:Section|Heading]]}}}}&lt;br /&gt;
&lt;br /&gt;
===The expand parameter===&lt;br /&gt;
Simply add {{para|expand|yes}} to have the box show up in expanded form with a &amp;quot;hide&amp;quot; link, instead of collapsed form with a &amp;quot;show&amp;quot; link.  Note: {{para|expand|no}} does not work, which is lame; to disable the feature, you have to remove the entire {{para||expand}} parameter and value.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|collapse top}}&lt;br /&gt;
* {{Tl|collapse bottom}}&lt;br /&gt;
* {{tl|discussion top}}&lt;br /&gt;
* {{tl|archive top}}&lt;br /&gt;
* {{tl|hidden archive top}}&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;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dan9186</name></author>
	</entry>
</feed>