模板: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.

參見[編輯]