الگو:WikiProjectBannerShell

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به: ناوبری، جستجو
 
این مقاله در حوزهٔ فعالیت‌های ویکی‌پروژه‌های زیر است:
نماد توضیحات توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]


This template combines several talk page banners into one shell. It has originally been designed for WikiProject banners, but can be used for any banners.

Use for compliant Project banners[ویرایش]

The template typically is used when there are three or more WikiProject banners on a particular article's talk page. It typically should not be used for fewer than three banners, since one or two banners are usually not considered clutter. 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[ویرایش]

This usage assumes that all banners used in this template support the "nested=" layout mode. If that is not the case, use {{BannerShell}} as described below.

{{WikiProjectBannerShell|1=
{{FirstProjectBanner|nested=yes|...}}
{{SecondProjectBanner|nested=yes|...}}
{{ThirdProjectBanner|nested=yes|...}}
...
}}
Additional options
  1. Adding "|blp=yes" will display the "Biography of Living Persons" infobox. This must be added for articles about living people and needs to be added before the 1= as in {{WikiProjectBannerShell|blp=yes|1=
  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:". This is needed when a talk page contains banners that are not project banners, such as {{Oldafdmulti}}. 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.
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.

Use for any banners[ویرایش]

Useage is similar as for compliant project banners, with two exceptions:

  • Any non-compliant banners need to be wrapped in {{BannerShell}}
  • If you include any banners that are not for WikiProjects, don't forget to adapt the title using the text= parameter.

Example for combination of WikiProjects and related banners:

{{WikiProjectBannerShell|text=This article is in the following WikiProjects and selections:
|1=
{{WP Pakistan|class=FA|importance=Top|nested=yes}}
{{WPCountries|class=FA|importance=Top|nested=yes}}
{{BannerShell|1={{V0.5|class=FA|category=Geography}}|text=Selected for [[Wikipedia:Version_0.5|Version 0.5]]}}
{{BannerShell|1={{WPCD}}|text=Selected for CD}}
}}

Example for inclusion of an unrelated banner (In this case, it allows displaying a rarely needed, but big banner to be displayed collapsed.):

{{WikiProjectBannerShell|text=More banners ...
|1=
{{Banner WPSLR|nested=yes}}
{{WikiProject Terrorism|class=|nested=yes}}
{{BannerShell|1={{oldafdmulti|date=...|result=...|page=...date=2...|result=2...|page=2...date=3...|result=3...|page=3...}}|text=Old AfDs}}
}}

See also[ویرایش]

  • {{WPBS}}, which redirects here.
  • {{BannerShell}}, a template that can wrap non-compliant project banners.
  • {{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.