Template:Main/doc
Description[edit source]
This template is used at the start of a section to link to the main article on that subject.
Syntax[edit source]
Type {{main|page name}}
anywhere on the page. For example, {{main|Help:Contents}}
gives...
You can add multiple pages, up to a maximum of five. For example, {{Main|One|Two|Three|Four|Five}}
gives...
Credits[edit source]
This template's code came from Template:Main on The Sims Wiki.
TemplateData[edit source]
TemplateData for Main
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".
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page 1 | 1 | The name of the first page that you want to link to. If this is not specified, the current page name (without the namespace prefix) is used instead. | String | optional |
Page 2 | 2 | The name of the second page you want to link to. | String | optional |
Page 3 | 3 | The name of the third page you want to link to. | String | optional |
Page 4 | 4 | The name of the fourth page you want to link to. | String | optional |
Page 5 | 5 | The name of the fifth page you want to link to. | String | optional |
Page 6 | 6 | The name of the sixth page you want to link to. | String | optional |