No edit summary |
(Don't need translation) |
||
Line 5: | Line 5: | ||
}} | }} | ||
|{{#if:{{{2|}}} | |{{#if:{{{2|}}} | ||
| | | Main pages: | ||
| | | Main page: | ||
}} | }} | ||
}} [[Special:MyLanguage/{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}]]{{#if:{{{2| }}} | }} [[Special:MyLanguage/{{{1|{{PAGENAME:{{translatable}}}}}}}|{{{l1|{{{1|{{PAGENAME:{{translatable}}}}}}}}}}]]{{#if:{{{2| }}} | ||
Line 34: | Line 34: | ||
</pre> | </pre> | ||
{{Main|Article 1|Article 2|Article Something#3}} | {{Main|Article 1|Article 2|Article Something#3}} | ||
==Template data== | ==Template data== | ||
Line 40: | Line 39: | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:26, 13 July 2023
Template documentation
Examples
{{Main}}
Main page: Main
{{Main|Article 1}}
Main page: Article 1
{{Main|Article 1|Article 2|Article Something#3}}
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for 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 |