Template:Category link with count
(Redirected from Template:Clc)
Jump to navigation
Jump to search
[[:Category:{{{1}}}|Category:{{{1}}}]] (0)
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}}
→- CAT:Guans (0)
Examples
Using the template shortcut {{clc}}
:
One parameter
Prefix namespace Template:Mono is optional.
Without "Category:"
{{clc|Stratagems}}
→ Category:Stratagems (87)
With "Category:"
{{clc|Category:Stratagems}}
→ Category:Stratagems (87)
Two parameters
{{clc|Stratagems|pages}}
→ Category:Stratagems (73){{clc|Stratagems|subcats}}
→ Category:Stratagems (14){{clc|Stratagems|files}}
→ Category:Stratagems (0)
{{clc|Category:Stratagems|pages}}
→ Category:Stratagems (73){{clc|Category:Stratagems|subcats}}
→ Category:Stratagems (14){{clc|Category:Stratagems|files}}
→ Category:Stratagems (0)
Name label
|name=
{{clc|Stratagems|name=Strats}}
→ Strats (87)
See also
Template:Internal category-link templates
The above documentation is transcluded from Template:Category link with count/doc. (edit | history)