Template:Category link with count/doc

From Zoophilia Wiki
Revision as of 19:01, 2 July 2017 by meta>Zyxw (update examples)
Jump to navigationJump to search

Template:Larger

Template: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)
One parameter (with "Category:")
{{Category link with count|Category:Côte-d'Or}}Category:Côte-d'Or (0)
Two parameters
{{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)

See also

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