Jump to content

模板:Main

From mediawiki.org
This page is a translated version of the page Template:Main and the translation is 100% complete.
模板文档

示例

{{Main}}
主页面: Main
{{Main|Article 1}}
主页面: Article 1
{{Main|Article 1|Article 2|Article Something#3}}

模板数据

[查看 · 讨论 · 编辑]

这是该模板的模板数据,用于可视化编辑器及其它工具。

Main

This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page 11

Page name of related article. It includes Special:MyLanguage prefix.

Page namerequired
Label 1l1

Custom label for the link to Page 1.

Default
Defaults to the name of Page 1.
Stringoptional
Page 22

no description

Page nameoptional
Label 2l2

no description

Default
Defaults to the name of Page 2.
Stringoptional
Page 33

no description

Page nameoptional
Label 3l3

no description

Default
Defaults to the name of Page 3.
Stringoptional