Template:Main: Difference between revisions
RTGame>Alistair3149 m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div role="note" class="hatnote"><span class=" | <div role="note" class="hatnote"><span class="hatnote__icon metadata">[[File:WikimediaUI-Article-ltr.svg|14px|link=]]</span>{{#invoke:main|main}}</div><templatestyles src="Template:Hatnote/styles.css"/><noinclude>{{/doc}}</noinclude> |
Latest revision as of 20:54, 4 May 2021
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"
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 (with no namespace prefix) is used instead. | Page name | suggested |
Page 2 | 2 | The name of the second page that you want to link to. | Page name | optional |
Page 3 | 3 | The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc. | Page name | optional |
Label 1 | l1 label 1 | What the first linked page is to be displayed as. | String | optional |
Label 2 | l2 label 2 | What the second linked page is to be displayed as. | String | optional |
Label 3 | l3 label 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. | String | optional |
Self reference | selfref | 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. | Boolean | optional |