Template:Category count only

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

0

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Category count only/doc.

{{Category count only}} simply returns the number of pages in a category, with no extra surrounding text. It serves as a shorthand for Mediawiki's {{PAGESINCATEGORY}} magic word.

Usage

{{Category count only |Category= |Type= }}

Template parameters

ParameterDescriptionDefaultStatus
CategorycategoryCategory to checkemptyrequired
TypetypeWhether to count all pages, ordinary pages (excluding subcategories and files), subcategories, or files.emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified