<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.miranda-ng.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="https://wiki.miranda-ng.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Collapse_top/doc&amp;action=history"/>
	<updated>2026-10-20T13:06:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Template:Collapse_top/doc&amp;diff=12889&amp;oldid=prev</id>
		<title>Goraf: see also link list fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Collapse_top/doc&amp;diff=12889&amp;oldid=prev"/>
		<updated>2014-08-17T15:59:21Z</updated>

		<summary type="html">&lt;p&gt;see also link list fix&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:59, 17 August 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l71&quot;&gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/del&gt;{{#ifeq: {{BASEPAGENAME}} | Collapse top || {{tl|collapse top}} }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#ifeq: {{BASEPAGENAME}} | Collapse top || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;{{tl|collapse top}} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/del&gt;{{#ifeq: {{BASEPAGENAME}} | Collapse bottom || {{tl|collapse bottom}} }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#ifeq: {{BASEPAGENAME}} | Collapse bottom || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;{{tl|collapse bottom}} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Goraf</name></author>
	</entry>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Template:Collapse_top/doc&amp;diff=12888&amp;oldid=prev</id>
		<title>Goraf: initial docs content</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Template:Collapse_top/doc&amp;diff=12888&amp;oldid=prev"/>
		<updated>2014-08-17T15:57:42Z</updated>

		<summary type="html">&lt;p&gt;initial docs content&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;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse top}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; template and its paired template &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse bottom}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; are used for placing a collapse box around a complex wikimarkup such as tables.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Place &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse top}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse bottom}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; 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;
{{lorem ipsum}}&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;
{{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;
;positional parameter 1, 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 empty) it 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;&lt;br /&gt;
;positional parameter 2: 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;
;left: If this parameter evaluates to true (i.e. is not empty) it will align the &amp;#039;parameter 1 title&amp;#039; along the left margin. Text aligns centered between the left margin and the left bracket of the left &amp;#039;&amp;#039;show&amp;#039;&amp;#039; link by default.   &lt;br /&gt;
;expand: If this parameter evaluates to true (i.e. is not empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material.&lt;br /&gt;
;bg: Sets the background color of the collapsed material. Defaults to #ccccff. Other colors available from [[List of colors]].&lt;br /&gt;
;fc: Sets the font color of the title of the collapsible bar. Defaults to Black. Other colors available from [[List of colors]].&lt;br /&gt;
;border: Sets the width of the border line on the collapsed material. defaults to 1px.&lt;br /&gt;
;b-color: Sets the border color. defaults to silver.&lt;br /&gt;
;padding: Sets the padding on the collapsed material in the colored area. defaults to 8px&lt;br /&gt;
;width: Sets the width of the overall template. Use &amp;lt;code&amp;gt;|width=50%&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;Width=50%&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;
;border2: 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;
;bg2: Sets background of the box that appears when template is expanded; defaults to white.&lt;br /&gt;
;indent: indents the box from the left of the page. Use: &amp;lt;code&amp;gt;|indent=50px&amp;lt;/code&amp;gt; not &amp;lt;code&amp;gt;|Indent=50px&amp;lt;/code&amp;gt; (Upper case &amp;quot;I&amp;quot; doesn&amp;#039;t work). Defaults to &amp;quot;do not indent&amp;quot; (i.e. 0px). Each &amp;quot;:&amp;quot; in wiki-markup is approximately equivalent to 25px indent.&lt;br /&gt;
&lt;br /&gt;
If an entire section is being closed, 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;
*aligning title along left margin - &amp;lt;nowiki&amp;gt;{{Collapse top|left=true}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{Collapse top|left=right}}&lt;br /&gt;
Text&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
*changing background color - &amp;lt;nowiki&amp;gt;{{Collapse top|bg=#ccffcc}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{Collapse top|bg=#ccffcc}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
*adding extra padding - &amp;lt;nowiki&amp;gt;{{Collapse top|padding=40px}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{Collapse top|padding=40px}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
*adding a warning line - &amp;lt;nowiki&amp;gt;{{Collapse top|default warning|warning=1}}&amp;lt;/nowiki&amp;gt;, &amp;lt;nowiki&amp;gt;{{Collapse top|custom warning|this is a custom warning line}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{Collapse top|default warning|warning=1}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
{{Collapse top|custom warning|this is a custom warning line}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
*archiving a section&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Collapse top}}&lt;br /&gt;
==section header==&lt;br /&gt;
text&lt;br /&gt;
{{Collapse bottom}}&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;
{{Collapse bottom}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Collapse top|section header}}&lt;br /&gt;
text&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{#ifeq: {{BASEPAGENAME}} | Collapse top || {{tl|collapse top}} }}&lt;br /&gt;
* {{#ifeq: {{BASEPAGENAME}} | Collapse bottom || {{tl|collapse bottom}} }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Goraf</name></author>
	</entry>
</feed>