模板:Set index article

模板页面
文档图示 模板文档[查看] [编辑] [查看历史] [清除缓存]

这是模板链接:{{Set index article}}模板。

该模板可以不使用任何参数,以创建一个普通同类索引条目。例如:

模板链接:{{Set index article}}

这将显示为:

并将页面加入Category:同类索引

This template can also be fed a name of a type of set index article. For instance like this:

模板链接:{{Set index article|comics}}

And it will then categorise the page into Category:Set indices on comics.

To add a category sort key, use for example:

模板链接:{{Set index article|comics|Key}}

or if no type is given (note the double pipe):

模板链接:{{Set index article||Key}}

Technical details

If the pagename starts with "List" it does not show the "If an internal link led you here" sentence, since such pages are not likely to be unintentionally linked.

This template only categorises a page if the page is in the main (article) space. Thus it will not categorise for instance a talk page or this template page where it might be shown or discussed.

参见

上述文档内容嵌入自Template:Set index article/doc编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面