<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ADivhide%2Fdoc</id>
	<title>模板:Divhide/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ADivhide%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Divhide/doc&amp;action=history"/>
	<updated>2026-05-14T21:17:37Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Divhide/doc&amp;diff=8051&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} &lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;  == Usage == This template will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use &#039;&#039;&#039;&lt;code&gt;&lt;nowiki&gt;{{divhide|end}}&lt;/nowiki&gt;&lt;/code&gt;&#039;&#039;&#039;.  === 1st parameter === The first unnamed parameter is used at the top for the tit…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Divhide/doc&amp;diff=8051&amp;oldid=prev"/>
		<updated>2024-01-21T14:57:45Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} &amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;  == Usage == This template will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{divhide|end}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;.  === 1st parameter === The first unnamed parameter is used at the top for the tit…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{divhide|end}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== 1st parameter ===&lt;br /&gt;
The first unnamed parameter is used at the top for the title and at the bottom to mark the end of the hidden section.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{divhide|Test}}&lt;br /&gt;
These are the hidden contents.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{divhide|Test}}&lt;br /&gt;
These are the hidden contents.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
=== 2nd parameter ===&lt;br /&gt;
The second unnamed parameter is used to specify the width.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{divhide|Half test|50%}}&lt;br /&gt;
These are the hidden contents, and the box only takes up 50% of the page.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{divhide|Half test|50%}}&lt;br /&gt;
These are the hidden contents, and the box only takes up 50% of the page.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
=== width parameter ===&lt;br /&gt;
The &amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt; parameter may be used to specify the width.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{divhide|Width test|width=75%}}&lt;br /&gt;
These are the hidden contents, and the box only takes up 75% of the page.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{divhide|Width test|width=75%}}&lt;br /&gt;
These are the hidden contents, and the box only takes up 75% of the page.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
=== show parameter ===&lt;br /&gt;
The parameter {{para|show|yes}} may be used to show the contents by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{divhide|Show test|show=yes}}&lt;br /&gt;
This section is shown by default.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{divhide|Show test|show=yes}}&lt;br /&gt;
This section is shown by default.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
=== color parameter ===&lt;br /&gt;
The &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt; parameter may be used to specify the background color.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{divhide|Color test|color=#90EE90}}&lt;br /&gt;
The header of this section has different background color.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{divhide|Color test|color=#90EE90}}&lt;br /&gt;
The header of this section has different background color.&lt;br /&gt;
{{divhide|end}}&lt;br /&gt;
&lt;br /&gt;
== Note on using this template to close discussions ==&lt;br /&gt;
This template should typically not be used to close discussions as {{tl|hat}} is available for this purpose; but if it is, it &amp;#039;&amp;#039;&amp;#039;should only be used by uninvolved editors or administrators&amp;#039;&amp;#039;&amp;#039; in conjunction with the [[Wikipedia:talk page guidelines|talk page guidelines]] and relevant advice at [[wp:refactoring|refactoring]]. It should not be used by involved parties to end a discussion over the objections of other editors.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Divbox}} - allows you to create coloured text background&lt;br /&gt;
* {{tl|Collapse}}, {{tl|Collapse top}} and {{tl|Collapse bottom}}&lt;br /&gt;
* {{tl|Hidden}}, {{tl|Hidden begin}} and {{tl|Hidden end}}&lt;br /&gt;
* {{tl|Show}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Collapse templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>