Difference between revisions of "Template:Cfd main page banner/doc"

From blackwiki
Jump to navigation Jump to search
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:<br />
+
On the '''talk page''' add:
{{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:<br />
+
{{in5}}<code>{{tlps|{{TEMPLATENAME}}|<var>category name</var>|date{{=}}<var>yyyy Month dd</var>}}</code>
{{in5}}<code>'''<nowiki>{{subst:Cfdnotice|</nowiki>''category name''<nowiki>|date=</nowiki>''yyyy Month dd''|''CfD section name''<nowiki>}}</nowiki>'''</code>
 
  
Example:<br />
+
If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this:
{{in5}}<code><nowiki>{{subst:Cfdnotice|Example category|date=</nowiki>{{#time:Y F j}}<nowiki>}}</nowiki></code>
 
  
Will produce:
+
{{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

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:

     Template:Tlps

If the CfD section name is different from the category name (e.g. when nominating several categories at once), add this:

     Template:Tlps

Example:

          Template:Tlps

will produce:

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.