Template:Category link with count
Revision as of 03:01, 14 September 2022 by Gwyneth Llewelyn (talk | contribs) (Attempt to get Template:Clc working (non-Lua version))
[[:Category:{{{1}}}|Category:{{{1}}}]] (0)
This documentation is transcluded from Template:Category link with count/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
About
{{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}}
{{clc|CATEGORY}}
{{CLC|CATEGORY}}
Two parameters
{{Category link with count|CATEGORY|TYPE}}
{{clc|CATEGORY|TYPE}}
{{CLC|CATEGORY|TYPE}}
Name label
{{Category link with count|Category:Guans (bird)|name=CAT:Guans}}
→- [[:Category:
- Category:G*
- Category:Gu*
- Category:Gua*
- Category:Guan*
- Category:Guans*
- Category:Guans *
- Category:Guans (*
- Category:Guans (b*
- Category:Guans (bi*
- Category:Guans (bir*
- Category:Guans (bird*
- Category:Guans (bird)*|CAT:Guans]] (0)
Examples
Using the template shortcut {{clc}}
:
One parameter
Without "Category:"
{{clc|Côte-d'Or}}
→ Category:Côte-d'Or (0)
With "Category:"
{{clc|Category:Côte-d'Or}}
→ [[:Category:- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*|Category:
- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*]] (0)
Two parameters
Without "Category:"
{{clc|Côte-d'Or|pages}}
→ Category:Côte-d'Or (0){{clc|Côte-d'Or|subcats}}
→ Category:Côte-d'Or (0){{clc|Côte-d'Or|files}}
→ Category:Côte-d'Or (0)
With "Category:"
{{clc|Category:Côte-d'Or|pages}}
→ [[:Category:- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*|Category:
- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*]] (0)
{{clc|Category:Côte-d'Or|subcats}}
→ [[:Category:- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*|Category:
- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*]] (0)
{{clc|Category:Côte-d'Or|files}}
→ [[:Category:- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*|Category:
- Category:C*
- Category:Cô*
- Category:Côt*
- Category:Côte*
- Category:Côte-*
- Category:Côte-d*
- Category:Côte-d'*
- Category:Côte-d'O*
- Category:Côte-d'Or*]] (0)