Template:Category count only
0
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.
{{Category count only|Category namespace templates}}
→ 53{{Category count only|BattleTechWiki|all}}
→ 22{{Category count only|BattleTechWiki|pages}}
→ 9{{Category count only|BattleTechWiki|subcats}}
→ 13{{Category count only|Material Design Icons|files}}
→ 22
See also
|
|