Template:Category count only/doc: Difference between revisions

shortcut: {{cconly}}
From wikiNonStop
m (Reverted edit by 199.188.195.184 (talk) to last version by 38.93.246.202)
 
m (1 revision imported: initial setup)
 
(No difference)

Latest revision as of 05:32, 27 August 2024

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)