Template:Category link with count

From Second Life Wiki
Revision as of 09:32, 22 September 2022 by Gwyneth Llewelyn (talk | contribs) (Gwyneth Llewelyn moved page Template:Clc to Template:Category link with count: Keep consistency with naming on Wikipedia: Template:clc gets redirected to Template:Category link with count)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

[Edit] [🔄Purge] Template-info.png Template documentation

About

{{Category link with count}} generates a link to a category followed by the number of pages in the category. It uses the "Wikipedia logo"PAGESINCATEGORY "Wikipedia logo"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}}
  • [[:Category:
  • Category:G*
  • Category:Gu*
  • Category:Gua*
  • Category:Guan*
  • Category:Guans*
  • Category:Guans *
  • Category:Guans (*
  • Category:Guans (b*
  • Category:Guans (bi*
  • Category:Guans (bir*
  • Category:Guans (bird*
  • Category:Guans (bird)*|CAT:Guans]] (0)

Examples

Using the template shortcut {{clc}}:

One parameter

Without "Category:"

With "Category:"

  • {{clc|Category:Côte-d'Or}} → [[:Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*|Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*]] (0)

Two parameters

Without "Category:"

With "Category:"

  • {{clc|Category:Côte-d'Or|pages}} → [[:Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*|Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*]] (0)
  • {{clc|Category:Côte-d'Or|subcats}} → [[:Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*|Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*]] (0)
  • {{clc|Category:Côte-d'Or|files}} → [[:Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*|Category:
  • Category:C*
  • Category:Cô*
  • Category:Côt*
  • Category:Côte*
  • Category:Côte-*
  • Category:Côte-d*
  • Category:Côte-d'*
  • Category:Côte-d'O*
  • Category:Côte-d'Or*]] (0)

See also