Template:Main/doc
This is a documentation subpage for Template:Main. It contains usage information, categories and other content that is not part of the original Template page. |
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page 1 | 1 | Page name of related article. It includes Special:MyLanguage prefix. | Page name | required |
Label 1 | l1 | Custom label for the link to Page 1.
| String | optional |
Page 2 | 2 | no description | Page name | optional |
Label 2 | l2 | no description
| String | optional |
Page 3 | 3 | no description | Page name | optional |
Label 3 | l3 | no description
| String | optional |