Template:Category link with count
Appearance
(Redirected from Template:Clc)
[[:Category:{{{1}}}|Category:{{{1}}}]] (0)
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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)