Template:Csdcheck/doc

This template checks whether any given input strings are valid speedy deletion (CSD) criteria. If any of the input strings are valid, the template outputs "yes"; if none of them are valid, it does not output anything. Valid CSD criteria take the form of a letter plus a number, e.g. "G6" or "A7" (see the table to the right for a list). This template accepts both uppercase and lowercase letters as valid, so both "G3" and "g3" would return "yes". It accepts any number of input strings. It is also possible to compare the input strings to a custom selection of CSD criteria.

Usage

 * Basic usage


 * Checking multiple strings


 * Using a specific subset of CSD criteria


 * Searching for specific CSD criteria

This template can be either substituted or transcluded.

Parameters

 * set:- This parameter can take the value "all", "tag", or "notice". A value of "all" returns "yes" for all valid CSD criteria; a value of "tag" returns "yes" for all criteria supported by the template db-multiple; and a value of "notice" returns "yes" for all criteria supported by the template db-notice-multiple. The default value is "all". See the table to the right for which criteria are supported for each value of the parameter.
 * crit1, crit2, crit3, etc.:- These parameters are used to check for specific speedy deletion criteria. It is possible to search for both single and multiple criteria. For example, if g1 is specified, the template will search to see if any of the input strings match CSD criterion G1, and if they do it will output "yes". If g11 and a7 are both specified, the template will search to see if any of the input strings match either CSD criteria G11 or A7, and if there are any matches it will output "yes". You can add any number of criteria. If any of the "crit" parameters are specified then the "set" parameter has no effect on the template's output.