Template:Cconly/doc: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{tsh|cconly}} == About == {{tl|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.<br/> A second unnamed parameter, optional, may be used to count several subsets of that category, as described in mw:Help:Magic...")
 
(No difference)

Latest revision as of 16:02, 19 June 2023

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}} Template:Lcs