Template:WikiProjectBannerShell/doc
This is a documentation subpage for Template:WikiProjectBannerShell It contains usage information, categories and other content that is not part of the original template page. |
This template and Template:WikiProjectBanners combine several talk page banners into a nested shell. They were designed for WikiProject banners and will only work reliably with such templates.
The difference between the two is that WikiProjectBannerShell (WPBS) defaults to displaying a one-line summary of each WikiProject banner, while WikiProjectBanners (WPB) defaults to displaying only a "[show]" link.
Usage
[edit source]WikiProjectBannerShell is normally used when more than two or fewer than six banners are present on the talk page, and WikiProjectBanners when six or more are present.
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. Note that {{WPBannerMeta}} automatically includes the appropriate code.
Note that adding a /Comments sub-page will automatically cause the banner shell to display a " This page has an assessment summary page." message.
Syntax
[edit source]{{WikiProjectBannerShell|<optional parameters>| {{FirstProjectBanner|...}} {{SecondProjectBanner|...}} {{ThirdProjectBanner|...}} ... }}
Note that {{WikiProjectBanners}} can also be used with the same parameter options, although the defaults are slightly different.
Optional parameters
[edit source]- Adding
|text=More banners...
will display the text "More banners ..." instead of the standard text "This page 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. Adding|collapsed=no
will cause the outer table to not be collapsed, showing the summary of the banners. - Adding
|banner collapsed=no
will cause the individual banners inside the shell to be fully expanded.
See also
[edit source]- {{WPBS}} - a shortcut, which redirects to {{WikiProjectBannerShell}}.
- {{WPB}} - a shortcut, which redirects {{WikiProjectBanners}}.