更多操作
创建页面,内容为“{{#invoke:main|main}}<noinclude>{{/doc}}</noinclude>” |
小 已保护“模板:Main”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
(没有差异)
|
2025年5月30日 (五) 13:07的最新版本
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 1 | 1 | 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 2 | 2 | The name of the second page that you want to link to. | 页面名称 | 可选 |
Page 3 | 3 | The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc. | 页面名称 | 可选 |
Label 1 | l1 label 1 | What the first linked page is to be displayed as. | 字符串 | 可选 |
Label 2 | l2 label 2 | What the second linked page is to be displayed as. | 字符串 | 可选 |
Label 3 | l3 label 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 reference | selfref | 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. | 布尔 | 可选 |