<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.twistedfates.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top%2Fen</id>
	<title>Template:Collapse top/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.twistedfates.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Template:Collapse_top/en&amp;action=history"/>
	<updated>2026-04-08T09:27:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.twistedfates.net/w/index.php?title=Template:Collapse_top/en&amp;diff=928&amp;oldid=prev</id>
		<title>Peppermint: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Template:Collapse_top/en&amp;diff=928&amp;oldid=prev"/>
		<updated>2023-03-26T22:30:30Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:30, 26 March 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peppermint</name></author>
	</entry>
	<entry>
		<id>https://wiki.twistedfates.net/w/index.php?title=Template:Collapse_top/en&amp;diff=927&amp;oldid=prev</id>
		<title>w&gt;FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.twistedfates.net/w/index.php?title=Template:Collapse_top/en&amp;diff=927&amp;oldid=prev"/>
		<updated>2022-02-12T13:08:37Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;div style=&amp;quot;display:{{{display|block}}};margin-{{dir|{{pagelang}}|right|left}}:{{{indent|0}}};{{{extrastyle|}}}&amp;quot;&amp;gt;&amp;lt;!-- NOTE: width renders incorrectly if added to main STYLE section&lt;br /&gt;
  --&amp;gt;&amp;lt;table class=&amp;quot;mw-collapsible {{#if:{{{expand|}}}|| mw-collapsed}}&amp;quot; style=&amp;quot;margin-top:.2em; border:{{{border|1px}}} solid {{{b-color|silver}}};text-align:{{dir|{{pagelang}}|right|left}}; width: {{{width|100%}}};&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th style=&amp;quot;font-size:{{{title-font-size|112%}}};background:{{{bg|#F8FCFF}}};color:{{{fc|black}}};text-align:{{#if:{{{left|}}}&lt;br /&gt;
  | {{dir|{{pagelang}}|right|left}}&lt;br /&gt;
  | center&lt;br /&gt;
  }}&amp;quot;&amp;gt;{{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}}}}}}}}}}}}}}&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;!--&lt;br /&gt;
  --&amp;gt;{{#if:{{{warning|{{{2|}}}}}}&lt;br /&gt;
  | &amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;text-align:center;font-style:italic&amp;quot;&amp;gt;{{{2|The following is a closed debate. {{Strong&lt;br /&gt;
    | style = color:red&lt;br /&gt;
    | 1 = Please do not modify it.&lt;br /&gt;
    }}}}}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
  }}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;font-size:{{{font-size|112%}}};background:{{{bg2|white}}};border:solid {{{border2|1px silver}}};padding:{{{padding|8px}}}&amp;quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:100%;text-align:center&amp;quot;&amp;gt;&amp;#039;&amp;#039;The following content has been placed in a collapsed box for improved usability.&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
{{Documentation|content=&lt;br /&gt;
The {{Tlx|Collapse top}} template, and its paired template {{Tlx|Collapse bottom}}, are used for placing a collapse box around a talk page discussion.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Place {{Tlx|Collapse top}} and {{Tlx|Collapse bottom}} around the text to be collapsed.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot;&amp;gt;&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;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&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;
{{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.&lt;br /&gt;
They are case-sensitive.&lt;br /&gt;
Those that take CSS measurements require them in CSS format (e.g. &amp;lt;code style=&amp;quot;color: #006400&amp;quot;&amp;gt;1em&amp;lt;/code&amp;gt; not &amp;lt;code style=&amp;quot;color:#8B0000&amp;quot;&amp;gt;1&amp;amp;nbsp;em&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
; {{Para|1}} &amp;lt;span style=&amp;quot;font-weight:normal&amp;quot;&amp;gt;(or first unnamed parameter)&amp;lt;/span&amp;gt;, {{Para|title}}, {{Para|reason}}, {{Para|header}}, {{Para|heading}}&lt;br /&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;.&lt;br /&gt;
: 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}}&lt;br /&gt;
: Will display a default warning line under the main title which reads &amp;quot;The following is a closed debate. {{Strong|style=color:red|Please do not modify it.}}&amp;quot;&lt;br /&gt;
: Any non-empty value supplied to this parameter will have this effect (i.e. {{Para|warning|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;no&amp;lt;/span&amp;gt;}} 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;&lt;br /&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}}&lt;br /&gt;
: Will align the title along the left margin (in RTL languages, along the right margin instead).&lt;br /&gt;
: 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.&lt;br /&gt;
: Any non-empty value supplied to this parameter will have this effect (i.e. {{Para|left|&amp;lt;span style=&amp;quot;color:#8B0000&amp;quot;&amp;gt;no&amp;lt;/span&amp;gt;}} will not work as expected).&lt;br /&gt;
; {{Para|expand|yes}}&lt;br /&gt;
: Will leave the material uncollapsed with the border and coloring. Default is to collapse the material.&lt;br /&gt;
: Any non-empty value supplied to this parameter will have this effect (i.e. {{Para|expand|&amp;lt;span style=&amp;quot;color:#8B0000&amp;quot;&amp;gt;no&amp;lt;/span&amp;gt;}} will not work as expected).&lt;br /&gt;
; {{Para|bg}}&lt;br /&gt;
: Sets the background color of the title of the collapsible bar. Defaults to &amp;quot;#F8FCFF&amp;quot;, a whitish color. Named colors are listed at [[List of colors]].&lt;br /&gt;
: For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse top|This is the title text|bg=#008000}}&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=green}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (numeric HTML color codes require the leading &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;).&lt;br /&gt;
; {{Para|fc}}&lt;br /&gt;
: Sets the font color of the title of the collapsible bar. Defaults to &amp;quot;black&amp;quot;.&lt;br /&gt;
: See {{Para|bg}}, above, for details on color options.&lt;br /&gt;
; {{Para|border}}&lt;br /&gt;
: Sets the width of the border line on the collapsed material. Defaults to &amp;lt;code&amp;gt;1px&amp;lt;/code&amp;gt;.&lt;br /&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}}&lt;br /&gt;
: 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;).&lt;br /&gt;
: See {{Para|bg}}, above, for details on color options.&lt;br /&gt;
; {{Para|padding}}&lt;br /&gt;
: Sets the padding (distance from borders) on the collapsed material inside the colored area. Defaults to &amp;lt;code&amp;gt;8px&amp;lt;/code&amp;gt;.&lt;br /&gt;
; {{Para|width}}&lt;br /&gt;
: 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;code&amp;gt;em&amp;lt;/code&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}}&lt;br /&gt;
: 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).&lt;br /&gt;
: 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).&lt;br /&gt;
: See {{Para|bg}}, above, for details on color options.&lt;br /&gt;
; {{Para|bg2}}&lt;br /&gt;
: 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;#FFF&amp;lt;/code&amp;gt;).&lt;br /&gt;
: See {{Para|bg}}, above, for details on color options.&lt;br /&gt;
; {{Para|indent}}&lt;br /&gt;
: 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.&lt;br /&gt;
: Pixel-based values should be avoided (see {{Para|width}}, above, for the reason).&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Adding a box title (if omitted, default is &amp;quot;Extended content&amp;quot;) – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|This is the title text}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&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;
* Adding a standard warning line – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|This is the title text|warning=true}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&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;
&lt;br /&gt;
* Adding a custom warning line – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|This is the title text|This is a custom warning line}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&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;
&lt;br /&gt;
* Aligning box title along left margin – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|left=true}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Collapse top|left=true}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
* Changing background color – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|bg=#F0F2F5}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Collapse top|bg=#F0F2F5}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
* Adding extra padding – &amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot; inline&amp;gt;{{Collapse top|padding=5em}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Collapse top|padding=5em}}&lt;br /&gt;
{{Lorem ipsum}}&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
* Archiving a section – The markup below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot;&amp;gt;{{Collapse top}}&lt;br /&gt;
== Section header ==&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{Collapse bottom}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must be rewritten as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html5&amp;quot;&amp;gt;{{Collapse top|Section header}}&lt;br /&gt;
Sample contents text&lt;br /&gt;
{{Collapse bottom}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The end result:&lt;br /&gt;
&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;
{{Collapse top/doc}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Collapse 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;
&lt;br /&gt;
[[Category:Formatting templates{{#translation:}}]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;FuzzyBot</name></author>
	</entry>
</feed>