Template:CategoryCount
Wraps the built-in PAGESINCATEGORY magic word to output a live page count with the word "pages" attached, so category pages don't need to write the raw magic word syntax themselves.
Usage:
{{CategoryCount|Vault Templates}}
Renders as: 14 pages (the number updates automatically as pages are added or removed from the category)
Parameters
- 1 — required. The category name (without the
Category:prefix) - 2 — optional. What to count:
pages(default),subcats,files, orall