Template:Stub-sorting-backlog/doc
此頁面是Template:Stub-sorting-backlog的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
This is the {{stub-sorting-backlog}} message box.
It can be put at the top of pages and categories that have a backlog related to stub sorting which requires attention. A backlog is a list of things that need to be done and that have not been done for some time.
This template puts the pages into Category:Wikipedia stub sorting backlog, where any editor can see where work needs to be done.
Usage
Without any parameters, this template is always visible until it is manually removed. Like this:
{{Stub-sorting-backlog}}
Which renders like this:
本页需要关注积压的编辑注意。 请在积压清理完毕时移除此提示。 |
This template automatically shows the appropriate style depending on what kind of page it is shown on. The style above is for "other" pages such as "Wikipedia:" pages, and the style shown in the examples below is for category pages.
Autoreport
Often it is more efficient to handle several cases in a backlog at a time, since then we are up to speed with what needs to be done. Thus we often don't want to know about a backlog until it has reached some size.
When this template is placed on a category page it can count the number of items in the category (pages + images + subcategories). Then it can be set to automatically only report when the number of items is above some limit. The autoreport limit can be set to whatever value you prefer. Like this:
{{stub-sorting-backlog|10}}
If the category has 10 or more items this template will render like this:
本页需要关注积压的编辑注意。 本提示将在分类页面少于0时隐藏。(重新统计) |
(We fed 0 here to make it show in this documentation, but in real usage it would show the value 10.)
But if the category has less than 10 items then this template will not report the page (not categorise it into Category:Wikipedia backlog), and will instead render like this:
当此分类有至少200个项目时,就会显示于Category:条目太多的小作品类别。(重新统计) |
Note that MediaWiki only parses the code when the category page is re-rendered. That is, when someone views the page and it is more than one week since it was last re-rendered. Thus it can take a week before this template changes when the number of items have changed. (But if no one visits the page then it can take forever.) To get an immediate change you can purge the page, for instance by clicking the (recount) button in the template.
See also
- {{admin backlog}} – For tagging pages that have a backlog that require the attention of administrators.
- {{backlog}} – For backlogs that any editor can fix which are not related to assessment.
- {{editsemiprotected}} - For requesting assistance from logged in editors (if you don't have an account yourself) to edit a semi-protected page.