Difference between revisions of "Template:Cfd notice 2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
m (wrap template categorization inside <includeonly></includeonly> using Template:Sandbox other to avoid categorizing Template:Cfdnotice2/sandbox page as a template)
imported>Andrybak
(expand documentation: more options for easy copy-paste; new section →‎Parameters)
Line 7: Line 7:
 
=== Usage ===
 
=== Usage ===
 
Copy and paste the following code on user talk pages to inform editors of the discussion:
 
Copy and paste the following code on user talk pages to inform editors of the discussion:
:'''<code><nowiki>{{subst:cfdnotice2|CategoryName}} ~~~~</nowiki></code>'''
+
====Current day discussions====
:'''<code><nowiki>{{subst:cfdnotice2|CategoryName|date=yyyy Month dd}} ~~~~</nowiki></code>'''
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name}} ~~~~</nowiki></code>'''
:'''<code><nowiki>{{subst:cfdnotice2|CategoryName|date=yyyy Month dd|CfD section name}} ~~~~</nowiki></code>'''
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|CfD section name}} ~~~~</nowiki></code>'''
:'''<code><nowiki>{{subst:cfdnotice2|CategoryName|date=yyyy Month dd|CfD section name|ActionType=yes}} ~~~~</nowiki></code>'''
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|CfD section name|merge=yes}} ~~~~</nowiki></code>'''
:'''<code><nowiki>{{subst:cfdnotice2|CategoryName|date=yyyy Month dd|CfD section name|ActionType=OtherCategoryName}} ~~~~</nowiki></code>'''
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|CfD section name|rename=yes}} ~~~~</nowiki></code>'''
* '''CategoryName''': Name of the category being nominated for deletion, merging, or renaming. Do not include the Category: prefix.
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|merge=Other category name}} ~~~~</nowiki></code>'''
* '''date''': the four digit year, the name of the month and a one or two digit day. For example, July 4, 2008 would be 2008 July 4. If not specified, defaults to the current day.
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|rename=Other category name}} ~~~~</nowiki></code>'''
* '''CfD section name''': The section name of the CfD discussion if different from Category:CategoryName.
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|CfD section name|merge=Other category name}} ~~~~</nowiki></code>'''
* '''ActionType''': This parameter is optional. Replace "ActionType=yes" with ''delete=yes'', ''merge=yes'', or ''rename=yes'', depending on the type of CfD proposal.
+
:'''<code><nowiki>{{subst:cfdnotice2|Category name|CfD section name|rename=Other category name}} ~~~~</nowiki></code>'''
*'''OtherCategoryName''': For merges and renames, the name of the other category in the merge, or the destination for the rename. Do not include the Category: prefix.
+
 
 +
====Custom date discussions====
 +
:'''<code><nowiki>{{subst:cfdnotice2|Category name|date=yyyy Month d}} ~~~~</nowiki></code>'''
 +
:'''<code><nowiki>{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name}} ~~~~</nowiki></code>'''
 +
:'''<code><nowiki>{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name|ActionType=yes}} ~~~~</nowiki></code>'''
 +
:'''<code><nowiki>{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name|ActionType=Other category name}} ~~~~</nowiki></code>'''
 +
 
 +
====Parameters====
 +
; {{para|1|<var>Category name</var>}}
 +
: Name of the category being nominated for deletion, merging, or renaming. Do not include the Category: prefix. Mandatory parameter.
 +
; {{para|date|<var>yyyy Month d</var>}}
 +
: the four digit year, the name of the month and a one or two digit day. For example, July 4, 2008 would be 2008 July 4. If not specified, defaults to the current day.
 +
; {{para|2|<var>CfD section name</var>}}
 +
: The section name of the CfD discussion if different from Category:Category name.
 +
; {{para|delete|yes}}
 +
; {{para|merge|yes}}
 +
; {{para|rename|yes}}
 +
: These parameters are optional. Changes vague message to more specific depending on the type of CfD proposal.
 +
; {{para|merge|<var>Other category name</var>}}
 +
; {{para|rename|<var>Other category name</var>}}
 +
: For merges and renames, the name of the other category in the merge, or the destination for the rename. Do not include the Category: prefix.
 +
; {{para|header|no}}
 +
: To post a message without the default header
 +
; {{para|header|<var>Custom header</var>}}
 +
: To post a message with a custom header section
  
 
===See also===
 
===See also===

Revision as of 18:08, 27 June 2019

Place this notice on the Talk page of interested parties. In the case of popular or significant nominees, it may be appropriate to give wide notice.

This is especially important if the CFD notice was put on the template's talk page.

Usage

Copy and paste the following code on user talk pages to inform editors of the discussion:

Current day discussions

{{subst:cfdnotice2|Category name}} ~~~~
{{subst:cfdnotice2|Category name|CfD section name}} ~~~~
{{subst:cfdnotice2|Category name|CfD section name|merge=yes}} ~~~~
{{subst:cfdnotice2|Category name|CfD section name|rename=yes}} ~~~~
{{subst:cfdnotice2|Category name|merge=Other category name}} ~~~~
{{subst:cfdnotice2|Category name|rename=Other category name}} ~~~~
{{subst:cfdnotice2|Category name|CfD section name|merge=Other category name}} ~~~~
{{subst:cfdnotice2|Category name|CfD section name|rename=Other category name}} ~~~~

Custom date discussions

{{subst:cfdnotice2|Category name|date=yyyy Month d}} ~~~~
{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name}} ~~~~
{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name|ActionType=yes}} ~~~~
{{subst:cfdnotice2|Category name|date=yyyy Month d|CfD section name|ActionType=Other category name}} ~~~~

Parameters

|1=Category name
Name of the category being nominated for deletion, merging, or renaming. Do not include the Category: prefix. Mandatory parameter.
|date=yyyy Month d
the four digit year, the name of the month and a one or two digit day. For example, July 4, 2008 would be 2008 July 4. If not specified, defaults to the current day.
|2=CfD section name
The section name of the CfD discussion if different from Category:Category name.
|delete=yes
|merge=yes
|rename=yes
These parameters are optional. Changes vague message to more specific depending on the type of CfD proposal.
|merge=Other category name
|rename=Other category name
For merges and renames, the name of the other category in the merge, or the destination for the rename. Do not include the Category: prefix.
|header=no
To post a message without the default header
|header=Custom header
To post a message with a custom header section

See also

  • Template:Cfd-notify – template to notify the category's creator or a related WikiProject of the nomination.
  • Template:Cfdnotice – more specific template to be placed on the main article's talk page.