Templat:WikiProject banner shell
Laman templat ini merupakan tumpuan bagi gabungan beberapa WikiProjek seperti berikut: | |
Halaman ini punya templat digunakan pada banyak laman dan perubahan besar-besaran mungkin akan ternampak. Sila uji perubahan di templat punya subhalaman kotak pasir atau laman uji kaji, atau pada sublaman pengguna anda. Pertimbang untuk membincang perubahan pada laman perbincangan sebelum melaksanakannya. |
Templat ini menggunakan Lua: |
This template uses TemplateStyles: |
Templat ini digunakan untuk pemasangan standard AutoWikiBrowser (AWB). Jika anda merancang untuk melakukan sebarang perubahan besar terhadap templat ini, bagaimana ia sepatutnya digunakan, atau mencalon penghapusannya, sila memberitahu pengguna asas serta penyelenggara AWB terlebih dahulu di Perbincangan Wikipedia:AWB. |
Usage
[sunting sumber]This template combines talk page banners into a nested shell and/or displays a general quality assessment for an article. It was designed for WikiProject banners and will only work reliably with such templates. This template may be added to an article talk page with no WikiProject banners, but with a |class=
quality assessment value, in which case it will populate a general category such as Category:C-Class articles.
WikiProject assessment bots may change shell templates per this usage guideline when the bot is editing the talk page for other reasons. If local consensus on a talk page is to not follow this guideline, please specify |collapsed=yes
or |collapsed=no
explicitly to override the bots.
Basic
[sunting sumber]{{WikiProject banner shell|class=|1=
{{FirstProjectBanner}}
{{SecondProjectBanner}}
{{ThirdProjectBanner}}
...
}}
Full
[sunting sumber]{{WikiProject banner shell|class=|blp=|blpo=|activepol=|collapsed=|listas=|1=
{{FirstProjectBanner}}
{{SecondProjectBanner}}
{{ThirdProjectBanner}}
...
|header=
}}
Project-independent quality assessments
[sunting sumber]In February 2023, the Wikipedia community expressed strong support for supporting article quality assessments which are independent of WikiProjects.
Consensus was found to add a |class=
parameter to Template:WikiProject banner shell, which all projects would inherit. To avoid redundancy, the rating is only shown on the banner shell. Projects can choose to opt-out of this system by adding a particular parameter to their project banner template.
It is also possible to add a standalone banner shell template to an article without any WikiProjects.
Parameters
[sunting sumber]All parameter are optional. However, one or both of |class=
and |1=
must be given.
Parameter | Notes |
---|---|
class | Adding a quality rating (e.g. Start, C, GA etc.) after |class= will cause the banner shell to display the quality rating for the article based on Wikipedia:Content assessment. This value will be available to the project banner templates, which may use it in forming categories like Category:Start-class Ruritania articles.
|
1 | Holds a list of WikiProject banners, each with their parameters. It is not necessary to pass the |class= value to the banners, which will use the value supplied to this template if relevant.
|
blp | |blp=yes or its alias |living=yes will display the Templat:Template link general banner above the shell, detailing Wikipedia's official policies regarding biographies of living persons. This must be added for articles about living people.
|
blpo | |blpo=yes will display the Templat:Template link general banner above the shell. This should be used for articles where Templat:Template link general does not apply directly to the subject, but which nevertheless have content that directly relates to other living persons. It is mutually-exclusive with |blp=yes .
|
activepol | |activepol=yes will display the Templat:Template link general banner above the shell.
|
listas | Sets the default sort key for the current page, e.g. |listas=Smith, John
|
collapsed | |collapsed=yes will cause the outer table to be collapsed, hiding even the project names. Explicitly adding |collapsed=no (the default) will cause the outer table to not be collapsed, showing the summary of the banners, and prevent any bots that might have logic that would cause them to assign a value of yes from doing so.
|
header | |header=Custom header text allows for the replacement of the default table title text ("This {{PAGETYPE}} is of interest to the following WikiProjects:") with whatever is supplied as its value.
|
Limitations and bugs
[sunting sumber]- Pages where expansion depth is exceeded issue: This "shell template" adds to the "expansion depth" of the page. In certain circumstances, it can cause the page to exceed the limit. If this happens, find out which enclosed template is already "near the limit" and notify the WikiProject responsible for that template that there is an issue. Include details, as some WikiProject templates only get "close to the limit" with uncommon combinations of parameters. (Example report) –davidwr (talk/contribs) 16:24, 8 January 2021 (UTC)
TemplateData
[sunting sumber]TemplateData used by TemplateWizard, VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Berikut ialah pendokumenan TemplateData untuk templat ini yang digunakan oleh VisualEditor dan alatan-alatan lain
TemplateData untuk WikiProject banner shell Aggregates and compresses the display of multiple, vertically-stacked WikiProject banner templates on pages in odd-numbered namespaces into a more information dense layout
Format: inline params.class .suggestedvalues
|
Tracking categories
[sunting sumber]See also
[sunting sumber]- Templat:Template link general – To skip past the many banners and templates straight to the table of contents
- Templat:Template link general – Used at the top of some pages
- Templat:Template link general – The skeleton template for individual WikiProject banners
Other shell templates
[sunting sumber]- Templat:Template link general – For a template to condense Peer Reviews and other Good- or Featured-article history
- Templat:Template link general
- Templat:Template link general – For listing multiple deletion debates
- Templat:Template link general – For listing one or more redirect category templates
Pendokumenan di atas ditransklusikan daripada Templat:WikiProject banner shell/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (sunting | beza) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |
- Laman menggunakan rangka sepanduk WikiProjek tanpa templat sepanduk
- Templat yang menggunakan TemplateStyles
- Templat yang mengguna AutoWikiBrowser
- Laman yang dipantau oleh bot Wikipedia
- Templat menggunakan TemplateData
- Templates with TemplateData errors
- Non-subject-matter-related article-talk header templates
- Template shell templates
- Templates that are not mobile friendly
- WikiProject banner templates