Jump to content

Template:Clc/doc

From Festipedia, hosted by the FR Heritage Group

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

[edit]
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

[edit]

Using the template shortcut {{clc}}:

One parameter

[edit]
without "Category:"
{{clc|Locations}} → Category:Locations (27)
with "Category:"
{{clc|Category:Locations}} → Category:Locations (27)

Two parameters

[edit]
without "Category:"
{{clc|Locations|pages}} → Category:Locations (11)
{{clc|Locations|subcats}} → Category:Locations (16)
{{clc|Locations|files}} → Category:Locations (0)
with "Category:"
{{clc|Category:Locations|pages}} → Category:Locations (11)
{{clc|Category:Locations|subcats}} → Category:Locations (16)
{{clc|Category:Locations|files}} → Category:Locations (0)