Difference between revisions of "Template:Hidden archive top"

From blackwiki
Jump to navigation Jump to search
imported>TheDJ
(tfd)
imported>TheDJ
(tfd inline)
Line 1: Line 1:
 
<noinclude>{{mergeto|Template:Collapse top|discuss=Template talk:Hidden archive top#Potential merge with Template:Collapse top}}
 
<noinclude>{{mergeto|Template:Collapse top|discuss=Template talk:Hidden archive top#Potential merge with Template:Collapse top}}
{{#ifeq:{{NAMESPACE}}|Template
+
</noinclude>{{Tfd|Hidden archive top|type=inline}}
|{{Ombox
+
{| class="navbox collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em;"
| type  = delete
 
| image = none
 
| small = no
 
| text  = <div>'''The [[Help:Template|template]] ''[[Template:{{ucfirst:{{PAGENAME}}}}|{{ucfirst:{{PAGENAME}}}}]]'' is being considered for deletion in accordance with Wikipedia's [[Wikipedia:Deletion policy|deletion policy]].'''<p>Please discuss this matter at [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|'''this template's entry''']] at templates for discussion to help reach a consensus.
 
----
 
''<small class="plainlinks" style="line-height:1.3em;">[[Wikipedia:Maintenance|Maintenance]] use only:<br>1. Place {{tlx|Tfd}} on the template(s) nominated for deletion.<br>2. [{{fullurl:Wikipedia:Templates for discussion/Log/{{#time: Y F j}}|action=edit&editintro=Wikipedia:Templates_for_discussion/editnotice&section=1}} Edit the TfD log] to create the discussion entry.<br>3. Please consider notifying the [{{fullurl:{{FULLPAGENAME}}|action=history}} author(s)] by placing {{nowrap|{{tlx|Tfdnotice|{{PAGENAME}}|{{#ifeq:{{PAGENAME}}|{{PAGENAME}}||{{{page}}}}}|subst=yes}} <nowiki>~~~~</nowiki>}} on their talk page(s).</small>''</div>
 
}}{{cat handler
 
| all = [[Category:Templates for deletion|{{PAGENAME}}]]
 
| nocat =
 
| category2 = ¬
 
}}
 
|{{#switch:{{lc:{{{type}}}}}
 
<!-- Tiny version, used if type=tiny -->
 
|tiny =
 
<span style="padding: 0; font-size: xx-small; color: #000000; border: 1px solid #aaaaaa; background-color: #f9f9f9;">'''[[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|‹See Tfd›]]'''</span>
 
<!-- Regular inline version, used if type=inline -->
 
|inline =
 
<span style="padding: 0; font-size: xx-small; color: #000; border: 1px solid #aaa; background-color: #f9f9f9;">‹The [[Help:Template|template]] ''[[Template:{{ucfirst:{{PAGENAME}}}}|{{ucfirst:{{PAGENAME}}}}]]'' is being [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|considered for deletion]].›</span>&nbsp;
 
<!-- Sidebar version, used if type=sidebar-->
 
|infobox|box|sidebar=
 
<div class="boilerplate metadata plainlinks" id="tfd" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align: center; position: relative; float: right; border-bottom: 1px solid #AAAAAA; width: {{px||27em}}">&lsaquo; The [[Help:Template|template]] {{#if:|(''[[Template:{{ucfirst:{{{1}}}}}|{{{1}}}]]'')|}} is being [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|considered for deletion]]. &rsaquo;</div>
 
<!-- No transclusion, used if type=disabled-->
 
|disabled=
 
<!-- Default version, used in all other cases -->
 
|#default = <div class="boilerplate metadata plainlinks" id="tfd" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align: center; border-bottom:1px solid #AAAAAA;">&lsaquo; The [[Help:Template|template]] below {{#if:|(''[[Template:{{{1}}}|{{{1}}}]]'')|}} is being considered for deletion. See [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|templates for discussion]] to help reach a consensus.&rsaquo;</div>
 
}}
 
}}
 
</noinclude>{| class="navbox collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em;"
 
 
|-
 
|-
 
! style="background-color: #f2dfce;" | {{{1|{{{reason|This discussion has been closed{{#if: {{{closer|}}}|&nbsp;by [[User:{{{closer}}}|{{{closer}}}]]}}. Please do not modify it.}}}}}}
 
! style="background-color: #f2dfce;" | {{{1|{{{reason|This discussion has been closed{{#if: {{{closer|}}}|&nbsp;by [[User:{{{closer}}}|{{{closer}}}]]}}. Please do not modify it.}}}}}}

Revision as of 18:49, 23 September 2010

Template:Mergeto Template:Tfd

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

Template:Tfd

This is the default template without any additional parameters.

Template:Tfd

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

Template:Tfd

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

Template:Tfd

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