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

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.

Template Example output
{{c}} Example
{{cl}} Cat:Example
{{cls}} Cat:Example
Template Example output
{{cconly}} 2
{{clc}} ප්‍රවර්ගය:Example (2)
{{lc}} Category:Example (සංස්කරණය|talk|ඉතිහාසය|සබැඳි|මුරකිරීම|ලඝු-සටහන්)
{{lcs}} Category:Example (edit talk links history)


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Category_count_only/doc&oldid=581016" වෙතින් සම්ප්‍රවේශනය කෙරිණි