साचा:Category link with count
Appearance
[[:वर्ग:{{{1}}}]] (०)
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}}
{{clc|CATEGORY}}
{{CLC|CATEGORY}}
- Two parameters
{{Category link with count|CATEGORY|TYPE}}
{{clc|CATEGORY|TYPE}}
{{CLC|CATEGORY|TYPE}}
Examples
[संपादन]Using the template shortcut {{clc}}
:
One parameter
[संपादन]- without "Category:"
{{clc|Côte-d'Or}}
→ वर्ग:Côte-d'Or (०)
- with "Category:"
{{clc|Category:Côte-d'Or}}
→ वर्ग:Category:Côte-d'Or (०)
Two parameters
[संपादन]- without "Category:"
{{clc|Côte-d'Or|pages}}
→ वर्ग:Côte-d'Or (०){{clc|Côte-d'Or|subcats}}
→ वर्ग:Côte-d'Or (०){{clc|Côte-d'Or|files}}
→ वर्ग:Côte-d'Or (०)
- with "Category:"
{{clc|Category:Côte-d'Or|pages}}
→ वर्ग:Category:Côte-d'Or (०){{clc|Category:Côte-d'Or|subcats}}
→ वर्ग:Category:Côte-d'Or (०){{clc|Category:Côte-d'Or|files}}
→ वर्ग:Category:Côte-d'Or (०)