Difference between revisions of "Template:Cfd main page banner/doc"
imported>PartTimeGnome (How to specify CfD section name.) |
imported>Primefac m (Primefac moved page Template:Cfdnotice/doc to Template:Cfd main page banner/doc: per this RM) |
||
| (11 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | {{Subst only}} | |
When nominating a category on [[WP:CFD]], add this template to the '''main article's talk page''' to notify users of the category's nomination. | When nominating a category on [[WP:CFD]], add this template to the '''main article's talk page''' to notify users of the category's nomination. | ||
=== Usage === | === Usage === | ||
| + | On the '''talk page''' add: | ||
| − | + | {{in5}}<code>{{tlps|{{TEMPLATENAME}}|<var>category name</var>|date{{=}}<var>yyyy Month dd</var>}}</code> | |
| − | |||
If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this: | If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this: | ||
| − | + | ||
| + | {{in5}}<code>{{tlps|{{TEMPLATENAME}}|<var>category name</var>|date{{=}}<var>yyyy Month dd</var>|<var>CfD section name</var>}}</code> | ||
Example: | Example: | ||
| − | |||
| − | + | {{in5}}{{in5}}<code>{{tlps|{{TEMPLATENAME}}|Example category|date{{=}}{{#time:Y F j}}}}</code> | |
| + | |||
| + | will produce: | ||
{{Tmbox | {{Tmbox | ||
| small = | | small = | ||
| type = delete | | type = delete | ||
| − | | text = The related '''[[:Category:Example category]]''' has been nominated for '''deletion, merging, or renaming[[Template:Cfdnotice|.]] | + | | text = The related '''[[:Category:Example category]]''' has been nominated for '''{{#switch:{{TEMPLATENAME}} |
| + | |Cfrnotice=renaming | ||
| + | |Cfmnotice=merging | ||
| + | |#default=deletion, merging, or renaming | ||
| + | }}'''[[Template:Cfdnotice|.]] You are encouraged to join the '''[[Wikipedia:Categories for discussion|discussion]]''' on the [[Wikipedia:Categories for discussion|Categories for Discussion]] page. | ||
}} | }} | ||
Also will add the article to [[:Category:Categories for discussion notices]]. | Also will add the article to [[:Category:Categories for discussion notices]]. | ||
| + | |||
| + | You can be more specific (which helps reduce some editors' feeling of alarm, if it's just a rename or merge!) by using one of the following: | ||
| + | * {{para|type|renaming}} | ||
| + | * {{para|type|merging}} | ||
| + | * {{para|type|deletion}} | ||
| + | |||
| + | Template wrappers {{tlx|cfrnotice}} and {{tlx|cfmnotice}} do this for you automatically. | ||
| + | |||
| + | You can also specify the target of a rename or merge (just the category name without the "Category:" part (this can't handle complex cases like a three-way merge): | ||
| + | |||
| + | * {{para|type|renaming}}, {{para|target|{{var|New category name}}}} | ||
| + | * {{para|type|merging}}, {{para|target|{{var|Redundant category name}}}} | ||
| + | |||
| + | {{tlx|cfrnotice}} and {{tlx|cfmnotice}} will also pass this parameter, and have mnemonic {{para|to}} and {{para|with}} aliases for them, respectively: | ||
| + | * {{tlsx|cfrnotice|Foo|target{{=}}bar}} | ||
| + | * {{tlsx|cfrnotice|Foo|to{{=}}bar}} | ||
| + | * {{tlsx|cfmnotice|Foo|target{{=}}bar}} | ||
| + | * {{tlsx|cfmnotice|Foo|with{{=}}bar}} | ||
===See also=== | ===See also=== | ||
| − | * [[Template:Cfd | + | * [[Template:Cfd notice]] – template to notify any involved editor, page, or project of the nomination. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | + | <includeonly>{{Sandbox other|| |
[[Category:Categories for discussion templates]] | [[Category:Categories for discussion templates]] | ||
[[Category:Deletion notification templates]] | [[Category:Deletion notification templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 00:13, 11 October 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Cfd main page banner. It contains usage information, categories and other content that is not part of the original template page. |
| File:OOjs UI icon information-progressive.svg | This template should always be substituted (i.e., use {{subst:Cfd main page banner}}). |
When nominating a category on WP:CFD, add this template to the main article's talk page to notify users of the category's nomination.
Usage
On the talk page add:
If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this:
Example:
will produce:
| File:OOjs UI icon alert-destructive.svg | The related Category:Example category has been nominated for deletion, merging, or renaming. You are encouraged to join the discussion on the Categories for Discussion page. |
Also will add the article to Category:Categories for discussion notices.
You can be more specific (which helps reduce some editors' feeling of alarm, if it's just a rename or merge!) by using one of the following:
|type=renaming|type=merging|type=deletion
Template wrappers {{cfrnotice}} and {{cfmnotice}} do this for you automatically.
You can also specify the target of a rename or merge (just the category name without the "Category:" part (this can't handle complex cases like a three-way merge):
|type=renaming,|target=New category name|type=merging,|target=Redundant category name
{{cfrnotice}} and {{cfmnotice}} will also pass this parameter, and have mnemonic |to= and |with= aliases for them, respectively:
See also
- Template:Cfd notice – template to notify any involved editor, page, or project of the nomination.