Difference between revisions of "Template:Cfd main page banner/doc"
imported>SMcCandlish (→Usage: update for target parameter.) |
imported>SMcCandlish (→Usage: code cleanup) |
||
| Line 5: | Line 5: | ||
=== Usage === | === Usage === | ||
| − | On the '''talk page''' add: | + | On the '''talk page''' add:<br /> |
| − | + | {{in5}}<code>'''<nowiki>{{subst:Cfdnotice|</nowiki>''category name''<nowiki>|date=</nowiki>''yyyy Month dd''<nowiki>}}</nowiki>'''</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:<br /> |
| − | + | {{in5}}<code>'''<nowiki>{{subst:Cfdnotice|</nowiki>''category name''<nowiki>|date=</nowiki>''yyyy Month dd''|''CfD section name''<nowiki>}}</nowiki>'''</code> | |
| − | Example: | + | Example:<br /> |
| − | + | {{in5}}<code><nowiki>{{subst:Cfdnotice|Example category|date=</nowiki>{{#time:Y F j}}<nowiki>}}</nowiki></code> | |
Will produce: | Will produce: | ||
| Line 19: | Line 19: | ||
| 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 '''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. |
}} | }} | ||
Revision as of 16:41, 30 January 2020
| 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. |
| 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:
{{subst:Cfdnotice|category name|date=yyyy Month dd}}
If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this:
{{subst:Cfdnotice|category name|date=yyyy Month dd|CfD section name}}
Example:
{{subst:Cfdnotice|Example category|date=2026 January 17}}
Will produce:
| 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 parameters, and have mnemonic |to= and |with= aliases for them, respectively:
{{cfrnotice|Foo|target=bar}}{{cfrnotice|Foo|to=bar}}{{cfmnotice|Foo|target=bar}}{{cfmnotice|Foo|with=bar}}
See also
- Template:Cfd-notify – template to notify the category's creator or a related WikiProject of the nomination.
- Template:Cfdnotice2 – similar to both Template:Cfd-notify and Template:Cfdnotice but more generally worded. Could be placed on related article talk pages or user talk pages.