Template:Category information/sandbox
Appearance
This is the template sandbox page for Template:Category information (diff). See also the companion subpage for test cases. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
[edit]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
[edit]{{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
[edit]{{Backlog category information|Biography articles without listas parameter|backlog=50}}
- Category:Biography articles without listas parameter has a backlog of 591 pages
{{Backlog category information|Biography articles without listas parameter|backlog=50|format=onlyinfo}}
backlog of 591 pages