Template:BannerShell

You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.

Jump to: navigation, search
[view] [edit] Template documentation

Contents

Description

{{BannerShell}} wraps a collapsible container around another template, and is designed for use in conjunction with {{WikiProjectBannerShell}}.

Usage

To make a theoretical non-compliant protected project banner {{WPFOOBAR}} of "WikiProject FooBar" collapsible, you would convert:

{{WPFOOBAR|class=B}}

to the following:

{{WikiProjectBannerShell|1=
{{BannerShell|class=B|topic=FooBar|1={{WPFOOBAR|class=B}}}}
}}

Any extraneous message boxes will mess up the template, and should be removed. Let's take the very real example of WPBIO's {{WPBiography}}; this:

{{WPBiography|living=yes|class=B}}

Becomes this using WikiProjectBannerShell's blp=yes:

{{WikiProjectBannerShell|blp=yes|1=
{{BannerShell|class=B|topic=Biography|{{WPBiography|class=B}}}}
}}

The only other WPBIO parameter that WikiProjectBannerShell supports is activepol=yes.

Pitfalls

  • On some templates, especially those that use a variant of {{portal}}, the [hide] button is the center of the template, whereas the [show] button is fine.
  • Templates with more than one message box by default will be impossible to wrap. Thankfully, this is rare. Most templates have options to disable extra features, so in this case be on the lookout for those.

See also

Personal tools