ಟೆಂಪ್ಲೇಟು:B/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:B It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
- Appearance of basic usage, immediately following
|class=
, in wikiproject banner source code, and after mandatory substitution:
B |b1 = |b2 = |b3 = |b4 = |b5 = |b6 =
- Appearance (if any) of the results as rendered 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.
This template should always be substituted (i.e., use {{subst:B}} ). |
Usage
ಬದಲಾಯಿಸಿ|class={{subst:B}}
To provide known values immediately:
|class={{subst:B|b1 value|b2 value|b3 value|b4 value|b5 value|b6 value|assessment class}}
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 B_CHECKLIST = yes
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. {{subst:B|7=C}}
) or all 7 parameters must be present, though the first 6 may be empty ({{subst:B|||||||C}}
). If used, the 7th parameter must have a value that corresponds to one of the quality assessment classes (C
, Stub
, etc.). The default value is B
.
Examples
ಬದಲಾಯಿಸಿ{{WikiProject Sports|class=C|b1=|b2=|b3=|b4=|b5=|...}}
indicating C-class article ready for B-class checklist assessment, can be done more expediently with:
{{WikiProject Sports|class={{subst:B|||||||C}}|...other parameters...}}
or
{{WikiProject Sports|class={{subst:B|7=C}}|...other parameters...}}
Similarly,
{{WikiProject Sports|class=Stub|b1=no|b2=no|b3=no|b4=|b5=yes|...}}
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:
{{WikiProject Sports|class={{subst:B|no|no|no||yes||Stub}}}}
The end result of each pair of examples will look the same in the final code.
Note that it must be preceded by |class=
, 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 b1
through b6
order as in WPBannerMeta:
- Referencing and citations
- Coverage and accuracy
- Structure
- Grammar
- Supporting materials
- Accessibility
The available values for all of these 6 parameters are ?
(unassessed, the default), blank (empty, but present, which defaults to ?
), yes
(which indicates a passing assessment) or no
(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 Stub
, Start
, C
and B
. The GA
and higher assessments do not use B-class checklist parameters, and various other values, such as Cat
and NA
, are not logically applicable to use of this template, since they are for non-articles. Similarly, the Current
and Future
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 GA
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, B
, will appear as "C" in the banner until all B-class checklist items are yes
. Please note: Do not just fill them with yes
if you have not actually assessed the article for compliance with the B-class quality checklist!
See also
ಬದಲಾಯಿಸಿ