Template:WikiProjectBanners
From Wikipedia, the free encyclopedia
| This article is within the scope of multiple WikiProjects. Click [show] for further details. | |
|---|---|
This template has a sandbox (edit) for editors to experiment.
| This template is used on 60,000+ pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Contents |
Introduction
This template combines several talk page banners into a nested shell. It was designed for WikiProject banners and will only work reliably with such templates.
Usage
The template is typically used, when there are three or more WikiProject banners on an article's talk page. The template condenses each banner to a single line, with the "show" option for expansion. The multiple banners are then "nested" within a single "shell" or "frame"; see Talk:Fred Astaire for an example of this template in use.
The template requires each banner to have a bit of coding inserted into it that allows it to be condensed. If a WikiProject banner has not implemented the code, the banner will not nest properly in the shell. If you find a banner that has not been coded, you can request that the code be added, on this template's talk page. As of 2007-07-03 00:01:03, all banners in Category:WikiProject banners support the use of the shell.
Syntax
{{WikiProjectBanners|<optional parameters>|1=
{{FirstProjectBanner|...}}
{{SecondProjectBanner|...}}
{{ThirdProjectBanner|...}}
...
}}
Note that {{WikiProjectBannerShell}} can also be used with the same parameter options, although the defaults are slightly different.
Optional parameters
These must be added before the |1= clause:
- Adding |blp=yes will display the "Biography of Living Persons" infobox. This must be added for articles about living people.
- Adding |activepol=yes will display the "Active Politician" infobox.
- Adding |text=More banners... will display the text "More banners ..." instead of the standard text "This article is within the scope of the following WikiProjects:". Of course, it will also display any other text, if you choose to specify it.
- Adding |collapsed=yes will cause the outer table to be collapsed, hiding even the project names. Only use this option on talk pages where space is at a real premium.
- Adding |banner collapsed=no, this is the default, will cause all the banners inside the banner shell to not collapse. Occasionally it is decided on a talk page that it is preferable to have the outer template collapsed and the inner banners uncollapsed; such that it only takes one click to reveal all the content within the banner shell. This is the default behaviour when using {{WPB}}.
- Please note
- The |1= is required.
Ongoing cleanup project
The number of active WikiProjects grows daily, so the number of article talk pages that have banners increases as well. There is a need for editors to make use of this Banner Shell. If you'd like to help out, please visit the cleanup page for lists of Talk pages, which are in need of the shell.
- List of compliant WikiProject banners
- MadmanBot compliancy report of all WikiProject banners (non-compliant banners)
See also
- {{WPBS}} - a shortcut, which redirects to {{WikiProjectBannerShell}}.
- {{WPB}} - a shortcut, which redirects {{WikiProjectBanners}}.
- {{ArticleHistory}} - for a template to condense Peer Reviews and other Good/Featured article history.
- {{Oldafdmulti}} - for listing multiple deletion debates.
- {{Skip to talk}} - to skip past the many banners and templates straight to the table of contents.
- {{SplitfromBannerShell}} - for combining multiple {{splitfrom}} and {{split-to}} tags.

