切換選單
切換個人選單
尚未登入
如果您进行任何编辑,您的IP地址会公开展示。

模板:Main

模板頁面
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Main/doc. Changes can be proposed in the talk page.
Template:Main invokes function main in Module:Main using Lua.
Template:Main invokes Template:Hatnote/styles.css using TemplateStyles.

This template is used at the start of a section to link to the main article on that subject.

TemplateData

This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, "Main article: Article 1, Article 2 and Article 3"

模板參數

此模板有自訂格式。

參數描述類型狀態
Page 11

The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used instead.

頁面名稱建議
Page 22

The name of the second page that you want to link to.

頁面名稱選填
Page 33

The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc.

頁面名稱選填
Label 1l1label 1

What the first linked page is to be displayed as.

字串選填
Label 2l2label 2

What the second linked page is to be displayed as.

字串選填
Label 3l3label 3

What the third linked page is to be displayed as. Other labels can be added by using increasing numbers (starting with "l4" for page 4) as parameter names.

字串選填
Self referenceselfref

Set to "yes" if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site.

布林值選填
Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。