Template:WPBannerMeta/hooks/qualimpintersect/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:WPBannerMeta/hooks/qualimpintersect. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 1,930,000+ pages, or roughly 4797% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Syntax |
---|
|HOOK_ASSESS = {{WPBannerMeta/hooks/qualimpintersect |class={{{class|}}} |importance={{{importance|}}} |category={{{category|}}} |ASSESSMENT_CAT = |QUALITY_SCALE = |IMPORTANCE_SCALE = |B_CHECKLIST = |b1= |b2= |b3= |b4= |b5= |b6= |BANNER_NAME = {{subst:FULLPAGENAME}} |FORMAT = |UNASSESSED_APPENDIX = |SUPPRESS_NA_CLASS = }} |
Usage
This hook has no visible output, so you can hook it anywhere. It takes the following parameters:
- class
- importance
- category
- ASSESSMENT_CAT
- BANNER_NAME
- IMPN (optional)
- QUALITY_SCALE (usually the same value as your banner uses)
- IMPORTANCE_SCALE (usually the same value as your banner uses)
- B_CHECKLIST (if your banner is using the B-class checklist)
- SUPPRESS_NA can be set to yes to stop categories being added when either class or importance is "NA". These can also be set individually:
- SUPPRESS_NA_CLASS can be set to yes to stop categories being added when class=NA
- SUPPRESS_NA_IMPORTANCE can be set to yes to stop categories being added when importance=NA
- FORMAT - one of several possible formats for the categories
- C,IT, e.g. Category:Stub-Class, Top-importance Economics articles
- CIT, e.g. Category:Start-Class High-importance Kent-related articles
- ICT, e.g. Category:Mid-importance B-Class Geology articles
- CTofI (default), e.g. Category:C-Class Andhra Pradesh articles of Low-importance
Example
|HOOK_ASSESS = {{WPBannerMeta/hooks/qualimpintersect |QUALITY_SCALE = standard |class = {{{class|}}} |importance = {{{importance|}}} |category = {{{category|}}} |ASSESSMENT_CAT = Dungeons & Dragons articles |BANNER_NAME = Template:D&D }}