Difference between revisions of "Template:Cfd main page banner/doc"
imported>SMcCandlish m (Me are speakage them goodful Englich.) |
imported>Andrybak (clean formatting wikitext in example; make example more universal) |
||
| Line 5: | Line 5: | ||
=== Usage === | === Usage === | ||
| − | On the '''talk page''' add: | + | On the '''talk page''' add: |
| − | |||
| − | + | {{in5}}<code>{{tlps|{{TEMPLATENAME}}|<var>category name</var>|date{{=}}<var>yyyy Month dd</var>}}</code> | |
| − | {{in5}}<code> | ||
| − | + | 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: | ||
| + | |||
| + | {{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|.]] You are encouraged to join the '''[[Wikipedia:Categories for discussion|discussion]]''' on the [[Wikipedia:Categories for discussion|Categories for Discussion]] page. | + | | 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. | ||
}} | }} | ||
Revision as of 21:54, 26 February 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:
If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this:
Example:
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 parameter, 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.