Template:Category link with count/doc: Difference between revisions
Template page
More actions
fix double comment close |
m 3 revisions imported |
||
(No difference)
| |||
Latest revision as of 11:24, 12 August 2026
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
- One parameter
{{Category link with count|CATEGORY}}
- Two parameters
{{Category link with count|CATEGORY|TYPE}}
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)