Template:Category information: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{#ifeq:{{{format}}}|onlyinfo||*[[:Category:{{{1}}}]]}}{{#if:{{{backlog|}}}|{{#ifexpr:{{PAGESINCATEGORY:{{{1}}}|R}} > {{{backlog|0}}}| {{#ifeq:{{{format}}}|onlyinfo||has a }}backlog of|{{#ifeq:{{{format}}}|onlyinfo|| contains}}}}|{{#ifeq:{{{format}}}|onlyinfo|| contains}}}}{{#ifeq:{{PAGESINCATEGORY:{{{1}}}}}|0| no| {{PAGESINCATEGORY:{{{1}}}}}}} page{{#ifeq:{{PAGESINCATEGORY:{{{1}}}}}|1||s}}</includeonly><noinclude> {{Documentation}} <..." |
(No difference)
|
Latest revision as of 02:35, 21 February 2025
This template is closely interconnected with other templates or pages.
This template may:
You are encouraged to familiarize yourself with its setup, and with related files. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. |
Usage
This template displays the number of pages in a category in a variety of formats, with an optional backlog parameter.
Note: This template uses expensive parser functions, so when this template is used repeatedly on a page, the page may take a long time to load.
Full parameters
{{Category information|1=(cat name)|backlog=|format=}}
|1=
the name of the category.|backlog=
(optional) an integer used to work out if the category has a backlog (when the number of pages is greater than this number). When not using this parameter, the backlog feature will not be used.|format=
(optional) eitheronlyinfo
orbullet
, used to customise output of this template. The default isbullet
.
Examples
{{Backlog category information|Biography articles without listas parameter|backlog=50}}
Template:Backlog category information
{{Backlog category information|Biography articles without listas parameter|backlog=50|format=onlyinfo}}