模板: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編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面