Template:Main: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
</noinclude><includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category | </noinclude><includeonly>{{hatnote|extraclasses=relarticle mainarticle|1={{#ifeq:{{SUBJECTSPACE}}|Category | ||
|{{#if:{{{2|}}} | |{{#if:{{{2|}}} | ||
| | | The main pages for this [[<tvar name=cats-help>Special:MyLanguage/Help:Categories</tvar>|category]] are | ||
| | | The main page for this [[<tvar name=cats-help>Special:MyLanguage/Help:Categories</tvar>|category]] is | ||
}} | }} | ||
|{{#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| }}} |
Latest revision as of 15:19, 2 July 2023
Script error: No such module "Template translation". Template:TemplateData header
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 |