Template:Category count/doc

From blackwiki
< Template:Category count
Revision as of 19:04, 28 September 2018 by imported>Zackmann08 (creating documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to display the number of pages in a category. While it can be used for ANY category, it is intended to be used for tracking categories that should be empty. If the category is not empty, it will turn red.

Usage

The template takes up to 3 parameters:

{{Category count|category_name}}
{{Category count|category_name|link_text}}
{{Category count|category_name|link_text|base_count}}


In some cases the category will never be empty. For example Category:Convert errors has a subcategory that is always present. In this case a third param can be added that is basically saying "only turn red if the count is larger than {{{3}}}

  • {{Category count|Convert errors|Convert|1}}Convert (-1)