模板:Hidden archive top
| 本讨论已关闭。请勿编辑。 |
|---|
| 以下讨论已关闭。请勿编辑。 |
| 此模板被引用于许多页面。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
| 本模板使用以下模板样式: |
This is the {{hidden archive top}} or {{hat}} template.
Template:Collapse Templates
用法
[编辑]This template is placed at the top of a discussion (and {{hidden archive bottom}} or {{hab}} at the bottom), and is used to close a discussion and discourage further editing without removing it completely from the page.
This template should only be used by uninvolved editors in conjunction with the talk page guidelines and relevant advice at WP:Refactoring. It should not be used by involved parties to end a discussion over the objections of other editors. See WP:SUPERHAT.
The reason for closing can be changed with the |reason= (or |result=) parameter which defaults to "This discussion has been closed. Please do not modify it." Be sure to sign the closure statement. If the default statement is to be left, you may use the |closer= parameter to indicate which user closed the discussion.
The subtext that appears upon expansion can also be modified, with the |2= parameter, which defaults to the same, but with red text.
|expand=yesor|collapse=no- Will leave the material uncollapsed with the border and coloring. Default is to collapse the material. Any value will have this effect (i.e.
|expand=noand|collapse=yeswill not work as expected). If either of these two parameters are set, it will allow text within the template to be seen when the section in which it resides is placed into an archive (as described in help:archive).
模板数据
[编辑]无描述。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 1 | 1 | 无描述 | 未知 | 可选 |
| 2 | 2 | 无描述 | 未知 | 可选 |
| expand | expand | 无描述 | 未知 | 可选 |
| collapse | collapse | 无描述 | 未知 | 可选 |
| reason | reason | 无描述 | 未知 | 可选 |
| result | result | 无描述 | 未知 | 可选 |
| closer | closer | 无描述 | 未知 | 可选 |
示例
[编辑]{{hat}}
| 本讨论已关闭。请勿编辑。 |
|---|
| 以下讨论已关闭。请勿编辑。 |
|
本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。 |
This is the default template without any additional parameters.
{{hat|reason=Please don't use the talk page for general discussion. See [[WP:TALK]] for more information.}}
| Please don't use the talk page for general discussion. See WP:TALK for more information. |
|---|
| 以下讨论已关闭。请勿编辑。 |
|
本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。 |
This example uses the reason parameter to replace the default text in the header.
{{hat|2=Please don't use the talk page for general discussion. See [[WP:TALK]] for more information.}}
| 本讨论已关闭。请勿编辑。 |
|---|
| Please don't use the talk page for general discussion. See WP:TALK for more information. |
|
本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。 |
Alternatively, you can use the 2 parameter to change the default subtext inside the template instead of changing the default text in the header.
{{hat|closer=ExampleUser}}
| 本讨论已由ExampleUser关闭。请勿编辑。 |
|---|
| 以下讨论已由ExampleUser关闭。请勿编辑。 |
|
本文为测试文字。这段文字用于说明格式,请勿删除。这段文字用于说明格式,请勿删除。海纳百川,有容乃大。维基百科,自由的百科全书。 |
This example uses the closer parameter to sign the template without changing the default text of the header.
参见
[编辑]- {{Collapse top}}, collapses discussion without advisement not to modify
- {{Discussion top}}, does not collapse discussion but advises not to modify
- {{Archive top}}, does not collapse discussion, but advises not to modify (usually used in the Wikipedia name space).