模板:Category link with count/doc

来自决策链云智库
< 模板:Category link with count
Zeroclanzhang讨论 | 贡献2024年1月15日 (一) 17:22的版本 (创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{High-use}} {{Template shortcut|clc|CLC}} == About == {{tl|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…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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 Category is optional.

Without "Category:"

With "Category:"

Two parameters

Name label

|name=
  • {{clc|Côte-d'Or|name=Cd'O}}Cd'O (0)

See also

模板:Internal category-link templates