Template:WikiProject banner shell
| This template is of interest to the following WikiProjects: | |
| This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
| This template is used on approximately 2,030,000 pages, or roughly 281% 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. Transclusion count updated automatically (see documentation). |
Contents
Usage
This template combines several talk page banners (generally three or more) into a nested shell. They were designed for WikiProject banners and will only work reliably with such templates.
WikiProject assessment bots may change shell templates per this usage guideline when the bot is editing the talk page for other reasons. If local consensus on a talk page is to not follow this guideline, please specify |collapsed=yes or |collapsed=no explicitly to override the bots.
Basic syntax
{{WikiProject banner shell|1=
{{FirstProjectBanner}}
{{SecondProjectBanner}}
{{ThirdProjectBanner}}
...
}}
All parameters
{{WikiProject banner shell|blp=|blpo=|activepol=|collapsed=|1=
{{FirstProjectBanner}}
{{SecondProjectBanner}}
{{ThirdProjectBanner}}
...
}}
The |1= is not optional and must be included at the end of the first line.
Optional parameters
- Adding
|blp=yesor|living=yeswill display the {{BLP}} banner above the shell. This must be added for articles about living people. - Adding
|blpo=yeswill display the {{BLP others}} banner above the shell. This should be used for articles where {{BLP}} does not apply directly to the subject, but which nevertheless have content that directly relates to other living persons. Cannot be used if|blp=yes. - Adding
|activepol=yeswill display the {{Active politician}} banner above the shell. - Adding
|collapsed=yeswill cause the outer table to be collapsed, hiding even the project names. Adding|collapsed=no(the default) will cause the outer table to not be collapsed, showing the summary of the banners.
Limitations and bugs
- Category:Pages where expansion depth is exceeded issue: This "shell template" adds to the "expansion depth" of the page. In certain circumstances, it can cause the page to exceed the limit. If this happens, find out which enclosed template is already "near the limit" and notify the WikiProject responsible for that template that there is an issue. Include details, as some WikiProject templates only get "close to the limit" with uncommon combinations of parameters. Example report. davidwr/(talk)/(contribs) 16:24, 8 January 2021 (UTC)
See also
- {{Article history}} – For a template to condense Peer Reviews and other Good- or Featured-article history
- {{Old XfD multi}} – For listing multiple deletion debates
- {{Redirect category shell}} – For listing one or more redirect category templates
- {{Translation attribution shell}} – For listing multiple {{translated page}} banners
- {{WikiEd banner shell}} – For listing multiple Wiki Education course assignments
- {{Skip to talk}} – To skip past the many banners and templates straight to the table of contents
- {{Talk header}} – Used at the top of some pages
- {{WPBannerMeta}} – The skeleton template for individual WikiProject banners
TemplateData
TemplateData for WikiProject banner shell
Aggregates and compresses the display of multiple, vertically-stacked WikiProject banner templates on pages in odd-numbered namespaces into a more information dense layout
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Subject is living person? | blp living | Triggers the display of more verbose warnings about the extra constraints on these articles, set to one of: ['yes', 'no']
| Boolean | suggested |
| Dead subject, but living family? | blpo | This triggers a warning to appear above the shell reminding editors that extra restraints remain in effect for details about living family of deceased persons, set to one of: ['yes', 'no]
| Boolean | optional |
| Subject is active politician? | activepol | Causes the active politician notice to appear above the shell with warnings about extra editing restrictions, set to one of: ['yes', 'no']
| Boolean | optional |
| Use collapsed state | collapsed | Causes the template's default appearance to be collapsed, hiding the name of the individual WikiProjects contained within until expanded, set to one of: ['yes', 'no']
| Boolean | optional |
| Custom header text | header | Replaces the default preamble (This PAGETYPE is of interest to the following WikiProjects:) with the content given here | Content | optional |
| WikiProject banners | 1 | Please the individual project banners here, one per line | Content | required |
| The above documentation is transcluded from Template:WikiProject banner shell/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |