Revision as of 19:02, 21 June 2007 view sourceAzaToth (talk | contribs)Edit filter managers, Administrators23,231 edits indent and use template doc← Previous edit | Revision as of 22:23, 18 September 2009 view source Cenarium (talk | contribs)Extended confirmed users25,810 edits to handle titles with slashes - at most 5, indent as necessaryNext edit → | ||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{ |
<includeonly>{{#ifeq: {{#titleparts:{{PAGENAME}}|1}} | Articles for deletion | | ||
[[Category:AfD debates ({{#switch:{{ucfirst:{{{1}}}}} | [[Category:AfD debates ({{#switch:{{ucfirst:{{{1}}}}} | ||
|M=Media and music | |M=Media and music | ||
Line 13: | Line 13: | ||
|?=Nominator unsure of category | |?=Nominator unsure of category | ||
|U|#default=Not yet sorted | |U|#default=Not yet sorted | ||
}})|{{ |
}})|{{#titleparts:{{PAGENAME}}|5|2}}]]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{template doc}} | {{template doc}} |
Revision as of 22:23, 18 September 2009
Template documentation[view] [edit] [history] [purge]Documentation
This template is used to categorize deletion debates. By using a parameter, an appropriate category is inserted. These categories help sort active deletion debates by type. When the debate is closed, this template should be removed (as the name hopefully indicates).
{{REMOVE THIS TEMPLATE WHEN CLOSING THIS AfD|X}}
is the syntax to use. Substitute "X" for one of the following letters:
Anything other than the above choices (not including "U") will produce a notice indicating that the debate has not been categorized, and place it in Category:AfD debates (Not yet sorted).
Failing to include any parameter at all runs the risk of breaking some scripts.
This template is automatically inserted by {{Afd2}} (with the parameter cat). It uses a #switch statement to work (see ParserFunctions).
The above documentation is transcluded from Template:REMOVE THIS TEMPLATE WHEN CLOSING THIS AfD/doc. (edit | history)Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: