Template:Main article/doc: Difference between revisions
Jump to navigation
Jump to search
doc |
No edit summary |
||
Line 1: | Line 1: | ||
Usage: <code>{{main article|''page to link to''}}</code> which outputs as: | Usage: <code>{{main article|''page to link to''}}</code> which outputs as: | ||
{{main article| | {{main article|page to link to}} | ||
''Advanced usage:'' <code>{{main article|text=''Use this parameter to put any text after the "Main article:", not just a single link.''}}</code> | ''Advanced usage:'' <code>{{main article|text=''Use this parameter to put any text after the "Main article:", not just a single link.''}}</code> |
Latest revision as of 06:54, 22 August 2020
Usage: {{main article|page to link to}}
which outputs as:
Advanced usage: {{main article|text=Use this parameter to put any text after the "Main article:", not just a single link.}}
Template data[edit source]
Adds a hatnote containing "Main article:" followed by a link to a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page to link to | 1 | no description | Page name | suggested |
text | text | Overrides parameter 1. Allows you to put any text after the "Main article:", not just a single link. | Content | optional |