Template:Category count only/doc

< Template:Category count only
Revision as of 11:30, 18 January 2024 by Deadfire (talk | contribs) (updating)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About[edit]

{{Category count only}} simply returns the number of pages in a category, with no extra surrounding text.

Usage[edit]

The first unnamed parameter, mandatory, is the category name to be counted.
A second unnamed parameter, optional, may be used to count several subsets of that category, as described in mw:Help:Magic words#Statistics.

See also[edit]

Template Example output
{{c}} Help
{{cl}} Category:Help
{{cls}} Cat:Help
Template Example output
{{cconly}} 45
{{clc}} Category:Help (45)
{{lc}} Category:Help (edit | talk | history | links | watch | logs)
{{lcs}} Category:Help (Edit Discussion links Page history)