Template:B/doc

B  |b1  = |b2 = |b3 = |b4 = |b5 = |b6 =
 * Appearance of basic usage, class, in wikiproject banner source code, and after mandatory substitution&#58;:


 * Appearance (if any) of the results in the Wikipedia talk page to which it is applied are entirely dependent on the wikiproject template to which this subtemplate is applied.
 * Either the expanded banner template will show a list of B-class criteria supplied by this subtemplate, or this subtemplate will operate silently as a source-code-only checklist.

Usage
To provide known values immediately:

See below for more examples, including providing few, one or zero B-criteria values.

Procedure
This template is intended for use with any WikiProject article talk page banners that are based on WPBannerMeta and which make use of its  feature.

Its purpose is to speed up the creation of B-class checklist parameters, or speed up the entry of their values for editors who are doing large amounts of assessment and have memorized the order of the parameters already, by obviating the need to manually create the 6 required checklist parameters.

The template must be substituted, or the banner's B-class checklist will not work properly. It substitutes cleanly, with no evidence of having been created by a template, such as leftover conditional code.

No parameters are required. If the 7th parameter is used, then either it must be specified numerically (e.g. ) or all 7 parameters must be present, though the first 6 may be empty. If used, the 7th parameter must have a value that corresponds to one of the quality assessment classes (, , etc.). The default value is.

Examples


indicating C-class article ready for B-class checklist assessment, can be done more expediently with:

or

Similarly,



indicating a stub that (essentially by definition) cannot meet most B-class criteria, and has not even been evaluated for some of them, but is sufficient in supporting materials, can be done more expediently with:



The end result of each pair of examples will look the same in the final code.

Note that it must be preceded by, and must be followed by   and the next parameter or, if at end of template, by.

Parameter values
Note that there is no testing to ensure that the values entered are valid; a value of "yess" or "Statr" will appear verbatim, so check before saving.

The first 6 parameters are in the same  through   order as in WPBannerMeta:
 * 1) Referencing and citations
 * 2) Coverage and accuracy
 * 3) Structure
 * 4) Grammar
 * 5) Supporting materials
 * 6) Accessibility

The available values for all of these 6 parameters are  (unassessed, the default), blank (empty, but present, which defaults to  ),   (which indicates a passing assessment) or   (which indicates a failing assessment). The template does not output actual empty (blank) values, as this will trigger the WikiProject banner to display very longwinded B-class assessment parameter instructions, because the meta-template for the banner is not coded to recognize these parameters if empty, thus the " ".

The (sensible) available assessment classes for the 7th parameter are,  ,   and. The  and higher assessments do not use B-class checklist parameters, and various other values, such as   and , are not logically applicable to use of this template, since they are for non-articles. Similarly, the  and   assessments, for articles about current or upcoming events and which are in a constant state of flux, are pointless to assess for B-class status until the event is past. The parameters can be used with  and up to show (in the source view) a historical assessment at B-class, but the B checklist will not be displayed by the banner. The default selection,, will appear as "C" in the banner until all B-class checklist items are. Please note: Do not just fill them with  if you have not actually assessed the article for compliance with the B-class quality checklist!

TemplateData
{	"params": { "1": {			"label": "b1 (referencing and citation)", "description": "Does the article have reliable sources? Are they cited using inline citations, especially for controversial or important information?", "example": "no", "suggestedvalues": [ "no", "yes" ],			"type": "string" },		"2": {			"label": "b2 (coverage and accuracy)", "example": "no", "type": "string", "suggestedvalues": [ "no", "yes" ],			"suggested": true, "description": "Does the article reasonably cover the topic? Does it have any obvious or unmistakable omissions, inaccuracies, or errors?" },		"3": {			"label": "b3 (structure)", "example": "no", "suggestedvalues": [ "no", "yes" ],			"description": "Does the article have a well-defined structure? This would include both section headings and a lead section. (The headings should also be meaningful or natural places to break up the content.)", "type": "string" },		"4": {			"label": "b4 (grammar)", "description": "Does the article have proper spelling and grammar? (The prose does not have to brilliant or tear-inducing, just okay.)", "example": "no", "type": "string", "suggestedvalues": [ "no", "yes" ]		},		"5": {			"label": "b5 (supporting materials)", "type": "string", "suggestedvalues": [ "no", "yes" ],			"description": "Does the article have (if applicable) an infobox, illustrations, diagrams, external links, or other relevant non-article content?", "example": "no" },		"6": {			"label": "b6 (accessibility)", "description": "Is the article comprehensible enough? Do you understand it, or do you lack the necessary background knowledge about the discipline, country, field of work, etc. in question?", "example": "no", "type": "string", "suggestedvalues": [ "no", "yes" ]		},		"7": {			"label": "Article assessment", "description": "The assessment of the article on Wikipedia's quality assessment scale (i.e. Stub, Start, C, B, A, GA, FA, in roughly that order).", "type": "string", "suggestedvalues": [ "Stub", "Start", "C", "B", "A", "GA", "FA" ],			"suggested": true }	},	"description": "A checklist for deciding whether to rate articles as B-class. Note that an article should pass ALL the criteria before being rated as B-class. This is a somewhat lower standard than good or featured article status, though not especially so. Leave entries blank if you haven't gotten around to a particular criterion yet.", "format": "block" }