模板:Main/doc

来自决策链云智库
< 模板:Main
Zeroclanzhang讨论 | 贡献2024年1月20日 (六) 21:44的版本 (创建页面,内容为“{{Documentation|fromWikipedia=true}} This template is used at the start of a section to link to the main article on that subject. ==TemplateData== <templatedata> { "description": "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\"", "params": { "1": { "label": "Page 1…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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.

布尔可选