Difference between revisions of "Template:Backlog/doc"

From CannaQAWiki
Jump to navigationJump to search
m (1 revision imported: Attempting import of LIMSwiki templates A–B)
(Updated for LabLynx Wiki)
Line 6: Line 6:
It can be put at the top of pages and categories that have a backlog which require attention. A backlog is a list of things that need to be done and that have not been done for some time.
It can be put at the top of pages and categories that have a backlog which require 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:LIMSwiki backlog]], where any editor can see where work needs to be done.
This template puts the pages into [[:Category:LabLynx Wiki backlog]], where any editor can see where work needs to be done.


=== Usage ===
=== Usage ===
Line 17: Line 17:
{{backlog|category=}}
{{backlog|category=}}


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 "LIMSWiki:" pages, and the style shown in the examples below is for category pages.
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 "LabLynx Wiki:" pages, and the style shown in the examples below is for category pages.


=== Autoreport ===
=== Autoreport ===
Line 32: Line 32:
(We fed 0 here to make it show in this documentation, but in real usage it would show the value 10.)
(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:LIMSwiki backlog]]), and will instead render like this:
But if the category has less than 10 items then this template will not report the page (not categorise it into [[:Category:LabLynx Wiki backlog]]), and will instead render like this:


{{backlog|10|category=}}
{{backlog|10|category=}}
Line 43: Line 43:
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:LIMSwiki header templates|{{PAGENAME}}]]
[[Category:LabLynx Wiki header templates|{{PAGENAME}}]]


</includeonly>
</includeonly>

Revision as of 22:23, 27 February 2015

This is the {{backlog}} message box.

It can be put at the top of pages and categories that have a backlog which require 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:LabLynx Wiki backlog, where any editor can see where work needs to be done.

Usage

Usually this template is used without any parameters, then it is always visible until it is manually removed. Like this:

{{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 "LabLynx Wiki:" 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:

{{backlog|10}}

If the category has 10 or more items this template will render like this:

(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:LabLynx Wiki backlog), and will instead render like this:

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.)

See also

  • {{admin backlog}} – For tagging pages that have a backlog that require the attention of administrators.