
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zoophilia.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.132.167.221</id>
	<title>Zoophilia Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://zoophilia.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=122.132.167.221"/>
	<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Special:Contributions/122.132.167.221"/>
	<updated>2026-05-02T13:06:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Template:Collapse_top/doc&amp;diff=28932</id>
		<title>Template:Collapse top/doc</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Template:Collapse_top/doc&amp;diff=28932"/>
		<updated>2010-12-04T15:22:53Z</updated>

		<summary type="html">&lt;p&gt;122.132.167.221: +ja&lt;/p&gt;
&lt;hr /&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;
;&#039;&#039;positional parameter 1&#039;&#039;, named parameter &#039;title&#039;: These parameters give the main title of collapsed box, which occurs on the same line as the &#039;&#039;show&#039;&#039; link and is always visible. It defaults to &#039;Extended content&#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 &#039;The following is an archived debate. &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;&#039;&#039;&#039;Please do not modify it.&#039;&#039;&#039;&amp;lt;/span&amp;gt;&#039;&lt;br /&gt;
;&#039;&#039;positional parameter 2&#039;&#039;: This is optional warning-line text. It will override the standard warning line above, and obviate the need for setting the &#039;warning&#039; parameter.&lt;br /&gt;
;&#039;expand&#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;
;&#039;bg&#039;: Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green.&lt;br /&gt;
;&#039;border&#039;: Sets the width of the border line on the collapsed material. defaults to 1px.&lt;br /&gt;
;&#039;b-color&#039;: Sets the border color. defaults to silver.&lt;br /&gt;
;&#039;padding&#039;: Sets the padding on the collapsed material in the colored area. defaults to 8 px&lt;br /&gt;
;&#039;width&#039;: Sets the width of the overall template&lt;br /&gt;
;&#039;border2&#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;
;&#039;bg2&#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>122.132.167.221</name></author>
	</entry>
</feed>