Template:Category count only/doc: Difference between revisions
Jump to navigation
Jump to search
no cats |
Categorize |
||
(One intermediate revision by one other user not shown) | |||
Line 20: | Line 20: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Category namespace templates]] | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 22:39, 7 January 2023
This is a documentation subpage for Template:Category count only. It may contain usage information, categories and other content that is not part of the original template page. |
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|Trees|files}} → 0
See also
|
|