Jump to content

Template:Category link with count

From Wiki - Scioly.org
Revision as of 01:30, 9 August 2020 by Pepperonipi (talk | contribs) (Created page with ":Category:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{{str right|{{{1}}}|9}}|{{{1}}}}}|<!-- -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#ifeq:{{str left|{{{1}}}|9}}|Category:|{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[:Category:{{{1}}}|Category:{{{1}}}]] (0)

Template documentation

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}}
Name label
{{Category link with count|State Pages|name=SP}}SP (0)

Examples

Using the template shortcut {{clc}}:

One parameter

{{clc|State Pages}}Category:State Pages (0)

Two parameters

without "Category:"
{{clc|State Pages|pages}}Category:State Pages (0)
{{clc|State Pages|subcats}}Category:State Pages (0)
{{clc|State Pages|files}}Category:State Pages (0)