Template:Category count only
Appearance
(Redirected from Template:Cconly)
0
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Category count only/doc" to edit its documentation if it is available. (How does this work?) |
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|Wikipedia articles with VIAF identifiers}}→ 0{{Category count only|Trees|all}}→ 0{{Category count only|Trees|pages}}→ 0{{Category count only|Trees|subcats}}→ 0{{Category count only|Category:Trees|subcats}}→ 0{{Category count only|Trees|files}}→ 0
See also
| Template | Example output |
| {{c}} | Example |
| {{cl}} | Category:Example |
| {{cconly}} | 0 |
| Template | Example output |
| {{clc}} | Category:Example (0) |
| {{lc}} | Category:Example (edit | talk | history | links | watch | logs) |
| {{lcs}} | (edit talk links history) |