Template:Category link with count/doc
This is a documentation subpage for Template:Category link with count. It may contain usage information, categories and other content that is not part of the original template page. |
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:First Lords|name=CAT:First Lords}}
→- CAT:First Lords (0)
Examples
Using the template shortcut {{clc}}
:
One parameter
Without "Category:"
{{clc|First Lords}}
→ Category:First Lords (0)
With "Category:"
{{clc|Category:First Lords}}
→ Category:First Lords (0)
Two parameters
Without "Category:"
{{clc|First Lords|pages}}
→ Category:First Lords (0){{clc|First Lords|subcats}}
→ Category:First Lords (0){{clc|First Lords|files}}
→ Category:First Lords (0)
With "Category:"
{{clc|Category:First Lords|pages}}
→ Category:First Lords (0){{clc|Category:First Lords|subcats}}
→ Category:First Lords (0){{clc|Category:First Lords|files}}
→ Category:First Lords (0)