| TFD instructions |
|---|
| Close after | 7 days |
|---|
| Top tag | {{subst:Tfd top|'''Result'''}} Reasoning. ~~~~ |
|---|
| Bottom tag | {{subst:Tfd bottom}} |
|---|
| Archive | If that was the last discussion for that day, remove the day fromWP:TFD |
|---|
| If deleting |
|---|
| Orphan | Remove transclusions or move toholding cell |
|---|
| Also delete | Sub-templates (e.g. /doc) and matching categories |
|---|
| If keeping |
|---|
| Tag talk page | {{Old TfD}} |
|---|
| Remove Tfd tag | |
|---|
Closing instructions forTemplates for discussion:
Every day, the TfD discussions more than seven days old should be closed. This relies on the discretion and common sense of the user closing a debate. If you disagree with a decision, please discuss it with that user beforecontesting the deletion.
Note that by usingWikipedia:XFDcloser the following steps will be semi-automated, but at certain times manually closing a discussion may be necessary. For example, with batch nominations the full list of templates may be hidden or listed on a separate page, at which point XFDcloser may not be able to determine which pages need updating.
Closing the discussion
[edit]- If it may take significant time to assess the debate or do the closing edits, consider first editing the discussion section for the template and adding{{Closing}} just after the section header, to notify others that a close of the particular discussion is in progress. This helps to avoid edit conflicts during the close.
- Determine whether or not arough consensus to delete has been reached.
- After the template's section header, add:
{{subst:Tfd top|'''Result'''. Reasoning.}} ~~~~- (whereResult is usually eitherDelete,Merge, orKeep)
- Remove{{Closing}} if you added it earlier.
- At the end of the template's section, but before thenext template's section header, add:
{{subst:Tfd bottom}}
- Update or delete the related pages according to the relevant subsection below.
Keep, Redirect, or No consensus
[edit]If the decision isKeep (including any variant such asRedirect orNo Consensus):
- Add a link on the template's talk page to the discussion sub-page.
- The template{{Old TfD}} is recommended for this, for example:
{{Old TfD|disc=section heading (if different than article name)|result=result}}{{Old TfD|date=date of nomination|result=result}}{{Old TfD|date=date of nomination}}- (N.B. thedate should be in the format: yyyy_Month_dd in other words, the month must be written out, it should be in year month day sequence, and the date must not be wikilinked)
- (the defaultdisc is the template's name, so that parameter may be omitted entirely)
- (the defaultresult is "Keep", so that parameter may be omitted)
- If the discussion failed to reach consensus, then the template is kept by default, but the decision should generally include a reference to the lack of consensus, in order to minimize ambiguity and future confusion.
- Remove{{Template for discussion/dated}} or{{Tfm/dated}} from the template
- If the page becomes a redirect, remember to fix double-redirects. Ensure page protection for the redirect matches that of the template which the page now redirects to, and that page protection for the target template is appropriate for the number of transclusions which may have increased after the redirection.
If the decision isDelete, the template can be deleted by anadministratorafter all instances of the template used in pages have been removed.
- If easily done, remove allcalls for the template and delete the templateand its subpages. Otherwise,
- List the template under the "To orphan" section ofWikipedia:Templates for discussion/Holding cell; use
{{tfdl|template name|date|section=section heading}} - On the to-be-deleted template page, replace{{Tfd}} or{{Tfm/dated}} with
<noinclude>{{being deleted|YYYY Month D}}</noinclude>. For YYYY Month D, use Year, Month, Day date of the nomination (with no leading zero on the day). - Include an edit summary such as "Per close at [[(Link to TfD discussion)]], added {{being deleted}}".
- Look at the categories used by the template. If the template has a matching category that is not used for other purposes (for example,{{cleanup}} andCategory:Wikipedia cleanup), delete the category as well.
- In general, no action is required by the closing user for mere links to a template on a talk page or in project space.
Merge, Review, Convert, or Substitute
[edit]If the decision is or includesMerge into another template, orReview,Convert,Substitute, etc.,
- List the template under the appropriate section ofWikipedia:Templates for discussion/Holding cell; use
{{tfdl|template name|date|section=section heading}} - On the to-be-merged template page, replace{{Tfd}} or{{Tfm/dated}} with
<noinclude>{{being deleted|YYYY Month D}}</noinclude>. For YYYY Month D, use Year, Month, Day date of the nomination (with no leading zero on the day) - Include an edit summary such as "Per close at [[(Link to TfD discussion)]], added {{being deleted}}".
- If the page becomes a redirect, remember to fix double-redirects. Ensure page protection for the redirect matches that of the template which the page now redirects to, and that page protection for the target template is appropriate for the number of transclusions which may have increased after the redirection.
If after seven days there is no consensus or little participation the closing editor may, at their discretion, choose torelist the discussion. When relisting a discussion:
- Copy the discussion to the current day's nomination page and add {{subst:relist}} to the end of the discussion
- Close the old discussion (see§ Close above, usingRelisted as the result), leaving a link to the new discussion location and then remove or collapse the discussion
- Update the
|link= parameter in the{{Template for discussion/dated}} or{{Tfm/dated}} on the nominated template so that it points to the new location.
Header and footer text
[edit]After closing the discussion, the section will look like this:
- The following discussion is an archived debate of the proposed deletion of the template below.Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template'stalk page or in adeletion review). No further edits should be made to this section.
The result of the discussion wasdelete.RESULT.my username date
Template:Example template (edit |talk |history |links |watch |logs)
DISCUSSION THREAD
- The above discussion is preserved as an archive of the debate.Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template'stalk page or in adeletion review). No further edits should be made to this section.
Implementing closures
[edit]- For deleted templates, remove all transclusions from all namespaces.
- In talk discussions it might be appropriate to
<nowiki>...</nowiki> the code instead of deleting. - Verify that the /sandbox template is also not transcluded anymore.
- Only after the template and its sub pages are completely orphaned,the template may be deleted. Alternately you may tag the template with{{db-xfd}} or list it inWikipedia:Templates for discussion/Holding cell#Ready for deletion.
- Check code for categories and category incomings links via "What links here". For tracking or maintenance categories of
- templates that have been deleted or redirected, tag with{{db-c4}}.
- templates that have been merged, tag with{{db-c4}} if merged template does not use the category, or speedy rename with the merged template name perWP:C2D with{{cfr-speedy}} and list it atWP:CFDS.
- Check incomings links via "What links here" and remove links to deleted and merged templates from non-talk discussions.
- In some cases it is also better to update the links for the redirected templates.
- If the main template is deleted or redirected, tag sub-pages (including /sandbox, /testcases, and /doc) with{{db-g8}}.
- For templates that have been redirected or merged, consider updating or adding a new entry atWikipedia:AutoWikiBrowser/Template redirects.