Template:Backlog

From FORwiki

(Difference between revisions)
Jump to: navigation, search
m (1 revision)
 
(3 intermediate revisions not shown)
Line 12: Line 12:
   | image = [[File:Broom icon.svg|30px]]
   | image = [[File:Broom icon.svg|30px]]
   | textstyle = text-align: center;
   | textstyle = text-align: center;
-
   | text = If this category gets {{{1|}}} {{plural:{{{1|}}}|item|items}} or more, it will report as a [[:Category:Wikipedia backlog|backlog]]. <small>({{purge|recount}})</small>
+
   | text = If this category gets {{{1|}}} {{plural:{{{1|}}}|item|items}} or more, it will report as a backlog. <small>({{purge|recount}})</small>
   }}
   }}
Line 21: Line 21:
   | type = style
   | type = style
   | style = text-align: center;
   | style = text-align: center;
-
   | text = This page has a '''[[:Category:Wikipedia backlog|backlog]]''' that requires the attention of willing editors. <br> {{
+
   | text = This page has a '''backlog''' that requires the attention of willing editors. <br> {{
     #if:{{{1|}}}
     #if:{{{1|}}}
     | ''This notice will hide when this category has {{plural:{{{1|}}}|no|fewer than {{{1}}}}} items.'' <small>({{purge|recount}})</small>
     | ''This notice will hide when this category has {{plural:{{{1|}}}|no|fewer than {{{1}}}}} items.'' <small>({{purge|recount}})</small>
     | ''Please remove this notice when the backlog is cleared.''
     | ''Please remove this notice when the backlog is cleared.''
     }}
     }}
-
   }}<includeonly>{{#ifeq:{{SUBJECTSPACE}}|{{ns:user}}
+
   }}
-
  | <!-- Don't categorise when on user or user talk pages. -->
+
-
  | {{{category|[[Category:Wikipedia backlog|{{PAGENAME}}]]}}}
+
-
  }}</includeonly>
+
-
 
+
}}<noinclude>
}}<noinclude>
Line 36: Line 32:
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
[[Category:Templates]]
 +
[[Category:Visual Templates]]
</noinclude>
</noinclude>

Current revision as of 12:27, 13 January 2010

[edit] [purge] Template documentation

This template 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.

Contents

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.

Examples

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, and will instead render like this:

See also

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