[go: nahoru, domu]

Jump to content

Template:Old TfD/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
use consistent formatting
TemplateData
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{nosubst}}
{{XFDcloser standard installation}}

This header template is placed on talk pages of templates and modules to link to previous relevant [[WP:TFD|TfD discussions]].


==Usage==
==Usage==
'''This template should not be [[Wikipedia:Template substitution|substituted]].'''

{{Tlc|Old TfD|date&#61;|result&#61;}}
{{Tlc|Old TfD|date&#61;|result&#61;}}


e.g.
e.g.
{{tlc|Old TfD|date&#61;{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|result&#61;keep}}
{{tlc|Old TfD|date&#61;{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|result&#61;keep}}


== Old TfD naming scheme ==
and an optional code for non-default pagename, suitable if the page has been moved since the deletion debate, or if it was nominated under the name of another template in a multiple nomination:
For templates that survived a TfD debate before 4 January 2006, use {{para|link|Not deleted/{{var|MONTHNAME}} {{var|YEAR}}}} to modify the link to point to the relevant deletion discussion.


== TemplateData ==
{{Tlx|Old TfD|date&#61;|result&#61;|Template:''pagename''}}
{{TemplateData header}}


<templatedata>
Where the section was a general title, not a template name, use {{para|disc}} (a.k.a. {{para|discuss}}, {{para|talk}})
{

"params": {
{{Tlc|Old TfD|date &#61;{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|result&#61;keep|disc{{=}}Language templates}}
"1": {

"label": "Non-default pagename",

"description": "For when the page has been moved since the deletion debate, or if it was nominated under the name of another template in a multiple nomination: {{Old TfD|date=|result=|Template:pagename}}",
{{Old TfD|date={{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|result=keep|disc=Language templates}}
"type": "string"

},
For merger proposals:
"date": {
* Use {{para|merge|{{var|target}}}} which changes "[[Wikipedia:Deletion policy|deletion]]" to "[[Wikipedia:Merging|merging]] with {{var|target}}".
"type": "date",
* If more than one, use the free-form addon parameters {{para|more_merge}}, e.g. {{para|more_merge|, <nowiki>[[</nowiki>{{var|target2}}<nowiki>]]</nowiki>, and <nowiki>[[</nowiki>{{var|target2}}<nowiki>]]</nowiki>}} – linking and punctuation needs to be added manually in this parameter, which begins immediately after the value of {{para|merge}}.
"required": true
* If the merge targets all share the same talk page, you can use the special value {{para|merge|self}} to just output "merging" without specifying template names.
},

"result": {
There is also a {{para|cat|yes}} parameter that changes "This template was..." to "This category was...", for use on talk pages of template-populated categories that were subject to deletion discussion at [[WP:TFD]] instead of [[WP:CFD]].
"type": "string",

"default": "keep",
For templates that survived a TfD debate before 4 January 2006, use {{para|link|Not deleted/{{var|MONTHNAME}} {{var|YEAR}}}} to modify the link to point to the relevant deletion discussion.
"required": true
},
"merge": {
"label": "Merge target",
"description": "For merger proposals. Changes \"deletion\" to \"merging with target\".",
"type": "wiki-page-name"
},
"more_merge": {
"label": "Additional wikitext to merge message",
"description": "To add additional wikitext to |merge=. E.g. |more_merge=and [[target2]], and [[target2]] — linking and punctuation needs to be added manually in this parameter (which begins immediately after the value of |merge= with a space character between it and the value of |more_merge=). If the merge targets all share the same talk page, you can use the special value |merge=self to just output \"merging\" without specifying template names.",
"type": "content"
},
"link": {
"description": "Replaces |date=",
"type": "content"
},
"talk": {
"aliases": [
"disc",
"discuss"
],
"label": "Talk page section",
"default": "{{{1}}}",
"type": "string"
},
"small": {
"type": "boolean"
}
}
}</templatedata>


==See also==
==See also==
* {{tl|Tfm}} - the parallel template for merging
* {{tl|Tfm}} the parallel template for merging
* {{tl|Tfd}} - basic template
* {{tl|Tfd}} basic template
* {{tlp|Tfd|type{{=}}inline}} - inline usage
* {{tlp|Tfd|type{{=}}inline}} inline usage
* {{tl|Tfd2}} - second step in a TFD process
* {{tl|Tfd2}} second step in a TFD process
* {{tl|Tfdnotice}} - TFD info on related pages
* {{tl|Tfdnotice}} TFD info on related pages
* {{tl|Catfd}} - TFD with corresponding category
* {{tl|Catfd}} TFD with corresponding category
* {{tl|Catfd2}} - second step in a TFD process with corresponding category (same name)
* {{tl|Catfd2}} second step in a TFD process with corresponding category (same name)
* {{tl|Old AfD multi}} - good for recording multiple discussions
* {{tl|Old XfD multi}} good for recording multiple discussions


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia administration templates|{{PAGENAME}}]]
[[Category:Template talk header templates]]
[[Category:Template talk header templates|{{PAGENAME}}]]
[[Category:Templates for discussion templates]]
[[Category:Templates for discussion templates|{{PAGENAME}}]]


}}</includeonly>
}}</includeonly>

Latest revision as of 02:43, 18 June 2024

This header template is placed on talk pages of templates and modules to link to previous relevant TfD discussions.

Usage

[edit]

{{Old TfD|date=|result=}}

e.g. {{Old TfD|date=2024 July 28|result=keep}}

Old TfD naming scheme

[edit]

For templates that survived a TfD debate before 4 January 2006, use |link=Not deleted/MONTHNAME YEAR to modify the link to point to the relevant deletion discussion.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Old TfD in articles based on its TemplateData.

TemplateData for Old TfD

No description.

Template parameters

ParameterDescriptionTypeStatus
Non-default pagename1

For when the page has been moved since the deletion debate, or if it was nominated under the name of another template in a multiple nomination: {{Old TfD|date=|result=|Template:pagename}}

Stringoptional
datedate

no description

Daterequired
resultresult

no description

Default
keep
Stringrequired
Merge targetmerge

For merger proposals. Changes "deletion" to "merging with target".

Page nameoptional
Additional wikitext to merge messagemore_merge

To add additional wikitext to |merge=. E.g. |more_merge=and [[target2]], and [[target2]] — linking and punctuation needs to be added manually in this parameter (which begins immediately after the value of |merge= with a space character between it and the value of |more_merge=). If the merge targets all share the same talk page, you can use the special value |merge=self to just output "merging" without specifying template names.

Contentoptional
linklink

Replaces |date=

Contentoptional
Talk page sectiontalk disc discuss

no description

Default
{{{1}}}
Stringoptional
smallsmall

no description

Booleanoptional

See also

[edit]
  • {{Tfm}} – the parallel template for merging
  • {{Tfd}} – basic template
  • {{Tfd|type=inline}} – inline usage
  • {{Tfd2}} – second step in a TFD process
  • {{Tfdnotice}} – TFD info on related pages
  • {{Catfd}} – TFD with corresponding category
  • {{Catfd2}} – second step in a TFD process with corresponding category (same name)
  • {{Old XfD multi}} – good for recording multiple discussions