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).