Template:Main
Description
- This template is used at the start of a section to link to the main article on that subject.
Usage
- Place {{Main}} followed by as many referral pages as needed.
Syntax
Type {{Main|<page1>|<page2>|<…>|<page10>}}
Or if you want to add labels to pages, type {{Main|<page1>|<l1=label1>|<page2>|<l2=label2>|<…>|<page10>|<l10=label10>}}
Sample outputs
Without label
{{main|Neptune}}
gives...
With label
{{main|Hyperdimension Neptunia mk2: Sounds of Gamindustri|l1=Hyperdimension Neptunia mk2 OST}}
gives...
TemplateData
Used at the start of a section to link to the main article on that subject.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page 1 | 1 | The name of the first page that you want to link to.
| Page name | required |
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. | Page name | optional |
Page 4 | 4 | The name of the fourth page that you want to link to. | Page name | optional |
Label 1 | l1 | What the first linked article is to be displayed as. | String | optional |
Label 2 | l2 | What the second linked article is to be displayed as. | String | optional |
Label 3 | l3 | What the third linked article is to be displayed as. | String | optional |
Label 4 | l4 | What the fourth linked article is to be displayed as. | String | optional |
See also
- {{About}}
- {{For}}
- {{See also}}
- Template:Hatnote on Templates Wiki
- Template:Main on Wikipedia
The above documentation is transcluded from Template:Main/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
This page uses Creative Commons Licensed content from Wikipedia (view authors). |