Template:Category Total

Revision as of 21:36, 6 November 2025 by Kuhlau (talk | contribs) (Created page with "<includeonly>{{#DPL: |namespace = {{{namespace|}}} |titlematch = {{{title|}}} |nottitlematch = {{{nottitle|}}} |category = {{{1|}}} |notcategory = {{{not|}}} |notcategory = {{{not1|}}} |notcategory = {{{not2|}}} |notcategory = {{{not3|}}} |uses = {{{uses|}}} |format = ,,, |count = 1 |resultsheader = %TOTALPAGES% |noresultsheader = 0 }}</includeonly><noinclude>{{Documentation|type=Total}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

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

Syntax

edit

{{Category Total|category}}

Examples

edit

{{Category Total|Character Abilities}} yields: 190
{{Category Total|title = %/Change History}} yields: 244

Template Data

edit

Get total number of articles in a category.

Template parameters[Edit template data]

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