Template:Category count only/doc

shortcut: {{cconly}}
From wikiNonStop
Revision as of 04:45, 2 August 2024 by en>Chipmunkdavis (Reverted edit by 199.188.195.184 (talk) to last version by 38.93.246.202)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About

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

Usage

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

Template Example output
{{C }} Example
{{Cl }} Category:Example
{{Cls }} Cat:Example
Template Example output
{{Cconly }} 0
{{Clc }} Category:Example (0)
{{Lc }} Category:Example (edit | talk | history | links | watch | logs)
{{Lcs }} Category:Example(edit talk links history)