Module:Category link with count/doc

From blackwiki
< Module:Category link with count
Revision as of 19:05, 2 July 2017 by blackwiki>Zyxw (→‎Examples: update)
Jump to navigation Jump to search

This is the documentation page for Module:Category link with count

Module:Category link with count generates a link to a category followed by the number of pages in the category. It uses the PAGESINCATEGORY parser function.

Usage

{{Category link with count|CATEGORY}}

Examples

One parameter

without "Category:"
{{Category link with count|Côte-d'Or}}Category:Côte-d'Or (0)
with "Category:"
{{Category link with count|Category:Côte-d'Or}}Category:Côte-d'Or (0)

Two parameters

without "Category:"
{{Category link with count|Côte-d'Or|pages}}Category:Côte-d'Or (0)
{{Category link with count|Côte-d'Or|subcats}}Category:Côte-d'Or (0)
{{Category link with count|Côte-d'Or|files}}Category:Côte-d'Or (0)
with "Category:"
{{Category link with count|Category:Côte-d'Or|pages}}Category:Côte-d'Or (0)
{{Category link with count|Category:Côte-d'Or|subcats}}Category:Côte-d'Or (0)
{{Category link with count|Category:Côte-d'Or|files}}Category:Côte-d'Or (0)

See also

Template Example output
{{c}} Example
{{cl}} Category:Example
{{cls}} Cat:Example
Template Example output
{{cconly}} Template:Cconly
{{clc}} Category:Example (0)
{{lc}} Category:Example (edit | talk | history | links | watch | logs)
{{lcs}} Category:Example(edit talk links history)