<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.atitd.org/wiki/t7w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top</id>
	<title>Template:Collapse top - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.atitd.org/wiki/t7w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACollapse_top"/>
	<link rel="alternate" type="text/html" href="http://www.atitd.org/wiki/t7w/index.php?title=Template:Collapse_top&amp;action=history"/>
	<updated>2026-06-10T09:21:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://www.atitd.org/wiki/t7w/index.php?title=Template:Collapse_top&amp;diff=118850&amp;oldid=prev</id>
		<title>Wyphy: Added Template</title>
		<link rel="alternate" type="text/html" href="http://www.atitd.org/wiki/t7w/index.php?title=Template:Collapse_top&amp;diff=118850&amp;oldid=prev"/>
		<updated>2016-10-06T21:19:46Z</updated>

		<summary type="html">&lt;p&gt;Added Template&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;margin-left:{{{indent|0px}}}&amp;quot;&amp;gt;&amp;lt;!-- NOTE: width renders incorrectly if added to main STYLE section--&amp;gt;&lt;br /&gt;
{| &amp;lt;!-- Template:Collapse top --&amp;gt; class=&amp;quot;navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}&amp;quot; style=&amp;quot;background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background-color: {{{bg|#F0F2F5}}}; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; font-size:112%;&amp;quot; | {{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}   &lt;br /&gt;
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}&lt;br /&gt;
|{{{{{|safesubst:}}}!}}-&lt;br /&gt;
{{{{{|safesubst:}}}!}} style=&amp;quot;text-align:center; font-style:italic;&amp;quot; {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;&amp;quot; {{{{{|safesubst:}}}!}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Collapsed Text&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
The &amp;lt;nowiki&amp;gt;{{collapse top}}&amp;lt;/nowiki&amp;gt; template and its paired template &amp;lt;nowiki&amp;gt;{{collapse bottom}}&amp;lt;/nowiki&amp;gt; are used for placing a collapse box around text on a page, especially when the content contains complex wikimarkup such as tables.&lt;br /&gt;
&lt;br /&gt;
Place &amp;lt;nowiki&amp;gt;{{Collapse top}}&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;{{Collapse bottom}}&amp;lt;/nowiki&amp;gt; around the text to be collapsed. For example:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse top|title=This is the title text}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;Text you want to hide&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;nowiki&amp;gt;{{Collapse bottom}}&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
Produces:&lt;br /&gt;
{{Collapse top|title=This is the title text}}&lt;br /&gt;
Text you want to hide&lt;br /&gt;
{{Collapse bottom}}&lt;br /&gt;
&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 'title''''&lt;br /&gt;
: These parameters give the main title of collapsed box, which occurs on the same line as the show link and is always visible. It defaults to 'Extended content'.&lt;br /&gt;
'''warning'''&lt;br /&gt;
: 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. Please do not modify it.&amp;quot;&lt;br /&gt;
'''positional parameter 2'''&lt;br /&gt;
: This is optional warning-line text. It will override the standard warning line above, and obviate the need for setting the 'warning' parameter.&lt;br /&gt;
''''expand''''&lt;br /&gt;
: 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''''&lt;br /&gt;
: Sets the background color of the collapsed material. Defaults to #F0F2F5 - a white color. Other colors available from [http://en.wikipedia.org/wiki/List_of_colors List of colors].&lt;br /&gt;
''''border''''&lt;br /&gt;
: Sets the width of the border line on the collapsed material. defaults to 1px.&lt;br /&gt;
''''b-color''''&lt;br /&gt;
: Sets the border color. defaults to silver.&lt;br /&gt;
''''padding''''&lt;br /&gt;
: Sets the padding on the collapsed material in the colored area. defaults to 8px&lt;br /&gt;
''''width''''&lt;br /&gt;
: Sets the width of the overall template. Use |width=50%, not |Width=50% (Upper case &amp;quot;W&amp;quot; doesn't work) or |width=200 (omits &amp;quot;px&amp;quot; and doesn't work).&lt;br /&gt;
''''border2''''&lt;br /&gt;
: 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''''&lt;br /&gt;
: Sets background of the box that appears when template is expanded; defaults to white.&lt;br /&gt;
''''indent''''&lt;br /&gt;
: Indents the box from the left of the page. Use: |indent=50px not |Indent=50px (Upper case &amp;quot;I&amp;quot; doesn't work). Defaults to &amp;quot;do not indent&amp;quot; (ie, 0px). Each &amp;quot;:&amp;quot; in wiki-markup is approximately equivalent to 25px indent.&lt;br /&gt;
&lt;br /&gt;
[[Category:Template]]  {{DEFAULTSORT:Collapse top}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wyphy</name></author>
	</entry>
</feed>