Difference between revisions of "Template:Hidden archive top"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(class="navbox-group")
imported>Edokter
(Null edit: Headers fixed in CSS)
Line 1: Line 1:
 
{| class="navbox collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em;"
 
{| class="navbox collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em;"
 
|-
 
|-
! style="text-align:center; background-color:#f2dfce;" | {{{1|{{{reason|This discussion has been closed{{{{{|safesubst:}}}#if: {{{closer|}}}| by [[User:{{{closer}}}|{{{closer}}}]]}}. Please do not modify it.}}}}}}
+
! class="navbox-title" style="text-align:center; background-color:#f2dfce;" | {{{1|{{{reason|This discussion has been closed{{{{{|safesubst:}}}#if: {{{closer|}}}| by [[User:{{{closer}}}|{{{closer}}}]]}}. Please do not modify it.}}}}}}
 
|-
 
|-
 
| style="text-align:center; font-style:italic;" | {{{2|The following discussion has been closed{{{{{|safesubst:}}}#if: {{{closer|}}}|&nbsp;by [[User:{{{closer}}}|{{{closer}}}]]}}. <span style="color:red;">'''Please do not modify it.'''</span>}}}
 
| style="text-align:center; font-style:italic;" | {{{2|The following discussion has been closed{{{{{|safesubst:}}}#if: {{{closer|}}}|&nbsp;by [[User:{{{closer}}}|{{{closer}}}]]}}. <span style="color:red;">'''Please do not modify it.'''</span>}}}
Line 7: Line 7:
 
| style="border: solid 1px silver; padding: 8px; background-color: white;" |
 
| style="border: solid 1px silver; padding: 8px; background-color: white;" |
 
<noinclude>
 
<noinclude>
|}   <!-- Not a mistake, it is needed to close the table above. -->
+
|} <!-- Not a mistake, it is needed to close the table above. -->
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 14:22, 12 December 2011

Template documentation[view] [edit] [history] [purge]

This is the {{hidden archive top}} or {{hat}} template.

Usage

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 refactoring. It should not be used by involved parties to end a discussion over the objections of other editors.

The reason for closing can be changed with the |reason= 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.

Alternatively, the |result= a.k.a. |outcome= parameter can be used to provide a concise, signed summary of why the discussion was "hatted"; it works like the corresponding parameter in the {{Archive}} template, and puts this closure note in a right-hand sidebar box above the closed 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=yes or |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=no and |collapse=yes will 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).

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional

no description

Unknownoptional
Expandexpand

no description

Unknownoptional
Collapsecollapse

no description

Unknownoptional
Reasonreason

no description

Unknownoptional
Resultresult

no description

Unknownoptional
Closercloser

no description

Unknownoptional

Examples

This is the default template without any additional parameters.

This example uses the reason parameter to replace the default text in the header.

Alternatively, you can use the 2 parameter to change the default subtext inside the template instead of changing the default text in the header.

This example uses the closer parameter to sign the template without changing the default text of the header.

See also

  • {{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).

Template:Warchivenav