Template:Category count only: Difference between revisions

shortcut: {{cconly}}
From wikiNonStop
m (Protected "Template:Category count only": High-risk template or module: 407 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
m (1 revision imported: initial setup)
 
(No difference)

Latest revision as of 05:32, 27 August 2024

0

Template documentation


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)