Template:WPBannerMeta/hooks/bchecklist/doc

This is the bchecklist hook which enables a B-class checklist to be incorporated into a banner template. There are six official criteria (although some projects use five) that an article needs to satisfy in order to be classified as B-class. A checklist can provide a helpful aid for editors to show where an article needs improvement.

When used in conjunction with a custom class mask, articles can be automatically demoted to C-class if they don't satisfy all of the criteria.

Required parameters

 * – needs to be passed, so that all the checklist will display on the template itself.
 * – needs to be passed through.
 * – needs to be passed so that the checklist is only displayed when it is appropriate;
 * The six B-Class criteria:,  ,  ,  ,  ,

Optional parameters

 * – specifies a link to a custom assessment scale. If this is not specified, then the standard scale WikiQueer:Version 1.0 Editorial Team/Assessment/B-Class criteria will be used.
 * – if set to "yes", the checklist will be displayed on every Start-class article. The default behaviour is to only display on Start-class when one or more of the parameters b1-b6 have been filled in.

Cat parameters

 * – specifies a category to use when any of the checklist parameters are blank.
 * to  – specifies individual categories to use when the individual checklist parameters are blank or set to no.

Custom parameter names
The standard parameter names (i.e. b1, b2, etc.) should be passed as an alternative to any custom parameters (e.g. B-Class-1, B-Class-2, etc.).

This is achieved by replacing **PARAMETER** with the name of the parameter. For example: b1=

If only the standard parameters are used, then eg:, etc. is fine.

Subtemplates
These are listed for technical background only.
 * /core - the code which actually produces the checklist
 * /criterion - code for each criterion
 * /syntax - for separate lines of the copy/paste code