模板:Main

来自星际公民中文百科
Template documentation[view][edit][history][purge]
This documentation is transcluded from 模板:Main/doc. Changes can be proposed in the talk page.

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.

布尔可选

Debug data: