Template:Category Total/doc

Revision as of 21:36, 6 November 2025 by Kuhlau (talk | contribs) (Created page with "{{Documentation/Header}} Simple DPL call to get the number of articles (pages in the main namespace) in a category. ==Syntax== {{T|Category Total|v1=category}} ==Examples== {{T|Category Total|p1=Character Abilities|_Y_=1}}<br> {{T|Category Total|p1=title=%/Change History|_Y_=1}} ==Template Data== <templatedata> { "params": { "1": { "description": "Category to include.", "type": "string" }, "uses": { "des...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Category Total.
It contains usage information, categories, and other content not part of the original template page.

Simple DPL call to get the number of articles (pages in the main namespace) in a category.

Syntax

{{Category Total|category}}

Examples

{{Category Total|Character Abilities}} yields: 123
{{Category Total|title = %/Change History}} yields: 150

Template Data

Get total number of articles in a category.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Category to include.

Stringoptional
usesuses

Template used.

Stringoptional
titletitle

Title to match.

Stringoptional
nottitlenottitle

Title to not match.

Stringoptional
notnot

Category to exclude.

Stringoptional
not1not1

Category to exclude.

Stringoptional
not2not2

Category to exclude.

Stringoptional
not3not3

Category to exclude.

Stringoptional
namespacenamespace

Namespace to use.

Default
Main
Stringsuggested