Template:WikiProjectBannerShell/doc

From Dodge Wiki
< Template:WikiProjectBannerShell
Revision as of 22:51, 3 February 2009 by Budlight (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template combines several talk page banners into one shell. It was designed for WikiProject banners, and will only work reliably with such templates.

Use for compliant Project banners

The template typically is 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" (essentially a frame); see Talk:Fred Astaire for an example of this Shell in use.

The template requires each banner to have a bit of coding inserted 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 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.

Usage

{{WikiProjectBannerShell|OptionalParameters|1=
 {{FirstProjectBanner|nested=yes|...}}
 {{SecondProjectBanner|nested=yes|...}}
 {{ThirdProjectBanner|nested=yes|...}}
 ...
 }}
Optional parameters

These must be added before the |1= clause.

  1. Adding |blp=yes will display the "Biography of Living Persons" infobox. This must be added for articles about living people.
  2. Adding |activepol=yes will display the "Active Politician" infobox.
  3. 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.
  4. Adding |collapsed=yes will cause the outer table to be collapsed by default, hiding even the project names. Only use this option on talk pages where space is at a real premium.
  5. Adding |banner collapsed=no will (hopefully) 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. Only implement this on page where there is consensus to do so.
Please note
  1. The |1= is required.
  2. Sub-templates must include the parameter |nested=yes.

Please do not implement this template on talk pages already using the {{WikiProjectBanners}} template without first discussing the change on that talk page. WikiProjectBanners is a similar nesting template with an alternate appearance, the use of which is dependent on editor preference. Once one Shell or the other has been established on a talk page, it should not be changed without discussion.

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.

The "nested" coding has been added to over 1000 WikiProject banners. If you would like a particular WikiProject banner to implement this option, please leave a message on the talk page for this template.

See also

  • {{WPBS}}, which redirects here.
  • {{WikiProjectBanners}}, a similar, but simpler template.
  • {{ArticleHistory}}, for a template to condense Peer Reviews and other Good/Featured article history.
  • {{Oldafdmulti}} - For listing multiple deletion debates.
  • {{Skiptotoctalk}} - Skip to the table of contents where there are many infoboxes.