🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Module:WikiProject_banner/auxiliary/doc
Jump to content

Module:WikiProject banner/auxiliary/doc

From Wikipedia, the free encyclopedia

This module contains extra functions not frequently used by Module:WikiProject banner.

B-class checklist

[edit]

Enables a B-class checklist. 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.

Syntax
{{#invoke:WikiProject banner|main
...

 |b1={{{b1|}}}
 |b2={{{b2|}}}
 |b3={{{b3|}}}
 |b4={{{b4|}}}
 |b5={{{b5|}}}
 |b6={{{b6|}}}
}}

Required parameters

[edit]
  • The six B-Class criteria: b1, b2, b3, b4, b5, b6

Optional parameters

[edit]
  • B_DISPLAY_ON_START – 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.
  • B_MAIN_CAT – specifies a category to use when any of the checklist parameters are blank.
  • B1_CAT to B6_CAT – specifies individual categories to use when the individual checklist parameters are blank or set to no.

Custom parameter names

[edit]

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.). For example:

b1={{{B-Class-1|{{{b1|}}}}}}

If only the standard parameters are used, then eg: b1={{{b1|}}}, etc. is fine.

Collapsing task forces

[edit]

By default, the list of task forces will be collapsed into a show/hide box if there are more than 5 task forces. You can configure this behaviour with the following parameters:

  • TF_COLLAPSE – the threshold number of task forces for them to collapse, e.g. if |TF_COLLAPSE=3 then they will collapse whenever there are more than 3 task forces.
  • TF_HEADER – the heading for the collapsed section. The default is Associated task forces:

To-do list

[edit]

This enables a project to-do list or other similar list to be integrated into a project banner.

Syntax
|TODO_LINK        = 
|TODO_TEXT        = 
 |TODO_TITLE      = 
 |TODO_EDITLINKS  =

There are two main parameters, |TODO_LINK= and |TODO_TEXT=. Only one should be used at any time. If the to-do list is located on a different page then TODO_LINK should be used. However, if you've just got some text to include then you can use the TODO_TEXT option instead.

If you are using |TODO_LINK= and don't want to see the edit links at the top of the textbox, set TODO_EDITLINKS=no.

Example

[edit]
{{#invoke:WikiProject banner|main
|PROJECT          = Tulips
 |listas={{{listas|}}}
|NAME             = The Tulip taskforce
|IMAGE_LEFT       = Tulipa suaveolens floriade to Canberra.jpg
|TODO_LINK        = Template:To do/to do
 |TODO_TITLE      = WikiProject Tulips To-do
}}
Produces:
WikiProject iconTulips
WikiProject iconThis article is within the scope of WikiProject Tulips, a collaborative effort to improve the coverage of Tulips on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject Tulips To-do:

(Entry last updated 26 November 2025)

  • This is just a test to-do list to help editors make sure that the text
  • shows
    1. up
    2. correctly
  • Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
  • To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.

Quality/importance category intersection

[edit]

This feature adds categories which combine quality and importance such as Category:Start-Class High-importance Kent-related articles. It has no visible output.

It takes the following parameters:

Required parameters

[edit]

Optional parameters

[edit]
  • QII_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:
    • QII_SUPPRESS_NA_CLASS – can be set to yes to stop categories being added when class=NA
    • QII_SUPPRESS_NA_IMPORTANCE – can be set to yes to stop categories being added when importance=NA
  • QII_UNASSESSED_APPENDIX – text to append to the class when it is "Unassessed", e.g. |QII_UNASSESSED_APPENDIX=-Class

Image-needed note

[edit]
Syntax
|image-needed={{{needs-image|}}}
 |IM_IMAGE =
 |image-details={{{details|}}}
 |image-location={{{location|}}}
 |IM_LOCATION_CATEGORY =
 |image-topic={{{topic|}}}
 |IM_TOPIC_CATEGORY =
 |image-type={{{type|}}}

This feature adds a note than can be used to track when articles needs an image, photograph, diagram, illustration, etc. It will populate various categories such as

It takes the following parameters:

Required parameters

[edit]
  • image-needed – pass through whichever parameter you are using to trigger this note, e.g. |image-needed={{{needs-image|}}}.

Optional parameters

[edit]
  • IM_IMAGE – specifies the icon to be used (without the File namespace prefix); the default is ([[File:Camera-photo.svg|20px]]).
  • image-type – pass through the type which can be used to accommodate other components that are needed, e.g. diagram, equation, map, etc. If this is not specified then "image or photograph" is used. E.g. |image-type={{{type|}}}.
  • image-details – to allow an editor to pass more details about the required image, e.g. |image-details={{{details|}}}.
  • image-location – pass this parameter through to allow an editor to specify the location of the requested image, e.g. |image-location={{{location|}}}. This will also populate categories of the form Category:Wikipedia requested photographs in Scotland.
  • IM_LOCATION_CATEGORY – a default category to use when the location is not specified or leads to a non-existent category.
  • image-topic – pass this through to allow an editor to specify a topic area that the photograph relates to, e.g. |image-topic={{{topic|}}}. This will populate categories such as Category:Wikipedia requested photographs of toys.
  • IM_TOPIC_CATEGORY – a default category in case the topic is not specified or leads to a non-existent category, e.g. |IM_TOPIC_CATEGORY=Wikipedia requested images of politics.

Collaboration note

[edit]
Syntax
|collaboration-candidate={{{**PARAMETER**|}}}
|collaboration-current={{{**PARAMETER**|}}}
|collaboration-past={{{**PARAMETER**|}}}
 |COLL_LINK          = 
 |COLL_TEXT          =
 |COLL_IMAGE         = 
 |COLL_CANDIDATE_CAT = 
 |COLL_CURRENT_CAT   = 
 |COLL_PAST_CAT      =

This feature enables a project collaboration system to be integrated into a project banner. The following parameters are used:

Required parameters

[edit]
  • collaboration-candidate – pass the parameter that will trigger the collaboration candidate note, if used, e.g. |collaboration-candidate={{{collaboration-candidate|}}}
  • collaboration-current – the parameter that will trigger the current collaboration note, if used. E.g. |collaboration-current={{{collaboration|}}}
  • collaboration-past – the parameter that will trigger the past collaboration note, if used. e.g. |collaboration-past={{{past-collaboration|}}}
  • COLL_LINK – the full link to where the review for the particular article is held. E.g. |COLL_LINK=Wikipedia:WikiProject Paranormal/Collaboration

Optional parameters

[edit]
  • COLL_TEXT – the text to display in place of the default "project collaboration", e.g. |COLL_TEXT=Collaboration of the Month
  • COLL_IMAGE – the name of the image to use. If not specified then is used.
  • COLL_CANDIDATE_CAT – if defined, pages using |candidate=yes will be categorised into this category, e.g. |COLL_CANDIDATE_CAT=Paranormal collaboration candidatesCategory:Paranormal collaboration candidates
  • COLL_CURRENT_CAT – if defined, pages using |current=yes will be categorised into this category, e.g. |COLL_CURRENT_CAT=Paranormal collaborationsCategory:Paranormal collaborations
  • COLL_PAST_CAT – if defined, pages using |past=yes will be categorised into this category, e.g. |COLL_PAST_CAT=Past paranormal collaborationsCategory:Past paranormal collaborations

A-class review note

[edit]
Syntax
|a class={{{**PARAMETER**|}}}
 |ACR_SUBPAGE_LINK      = 
 |ACR_REVIEW_LINK       = 
 |ACR_PASS_CAT          = 
 |ACR_FAIL_CAT          = 
 |ACR_CURRENT_CAT       = 
 |ACR_PRELOAD           =

This feature enables an A-Class review process to be integrated into a project banner. The following parameters are used:

Required parameters

[edit]
  • a class – the parameter that will trigger the note. Accepted values are "pass", "fail", "current" (any capitalisation); everything else is treated as null. Eg: a class={{{A-Class|}}}
  • ACR_SUBPAGE_LINK – the full link to where the review for this particular article is held. Eg: Wikipedia:WikiProject Tulips/Assessment/{{SUBJECTPAGENAME}}
  • ACR_REVIEW_LINK – the full link to the main A-Class review page (where instructions etc. are held). Eg: Wikipedia:WikiProject Tulips/Review#A-Class review

Optional parameters

[edit]
  • ACR_PASS_CAT – pages using |a class=pass will be categorised into this category. Eg: Successful requests for Tulips A-Class reviewCategory:Successful requests for Tulips A-Class review
  • ACR_FAIL_CAT – pages using |a class=fail will be categorised into this category. Eg: Failed requests for Tulips A-Class reviewCategory:Failed requests for Tulips A-Class review
  • ACR_CURRENT_CAT – pages using |a class=current will be categorised into this category. Eg: Current requests for Tulips A-Class reviewCategory:Current requests for Tulips A-Class review
  • ACR_IMAGE – a custom image can be set, using the same syntax as for other note images. Eg: Exquisite-kfind.png
  • ACR_SIZE – a custom image size can be set, using the usual note syntax. Eg: 20x20px
  • ACR_INVALID_CAT – pages specifying the A Class parameter without a valid SUBPAGE_LINK page existing will be categorised into this category.
  • ACR_PRELOAD – preload template, to be used when creating a new A-class review discussion page (example).

Peer review note

[edit]
Syntax
|peer review={{{**PARAMETER**|}}}
|old peer review={{{**PARAMETER**|}}}
 |peer review title={{{**PARAMETER**|}}}
 |PR_LINK           = 
 |PR_IMAGE          = 
 |PR_CAT            = 
 |PR_OLD_CAT        = 
 |PR_INVALID_CAT    =

This feature enables a peer review process to be integrated into a project banner. The following parameters are used:

Required parameters

[edit]
  • peer review – the parameter that will trigger the active peer review note; should be passed through, e.g. |peer review={{{peer-review|}}}
  • old peer review – the parameter that will trigger the old peer review note; should be passed through, e.g. |old peer review={{{old-peer-review|}}}
  • PR_LINK – the full link to where the review for this particular article is held, e.g. |PR_LINK=Wikipedia:WikiProject Tulips/Assessment

Optional parameters

[edit]
  • PR_IMAGE – the name of the image to use. If not specified then is used.
  • PR_CAT – if defined, pages using |peer review=yes will be categorised into this category, e.g. |PR_CAT=Requests for Tulips peer reviewCategory:Requests for Tulips peer review
  • PR_OLD_CAT – if defined, pages using |old peer review=yes will be categorised into this category.
  • peer review title – If the page has been moved since it was reviewed, pass this parameter to specify the old page title (the one the review was archived under) to make the link point correctly to the review.
  • PR_INVALID_CAT – if defined, pages without a valid existing peer review page will be categorised into this category.