Template:Main
Template loop detected: Template:Main
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Main/doc to edit this documentation. (How does this work?) |
This hatnote template is meant to be in sections of an article mentioning information about another existing main article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article | 1 | A main article.
| Page name | required |
Second Article | 2 | A second main article.
| Page name | optional |
Third Article | 3 | A third main article.
| Page name | optional |
Examples
Code | Result |
---|---|
{{Main|Special:WantedPages}} |
Template loop detected: Template:Main |
{{Main|Special:WantedPages#Section Title}} |
Template loop detected: Template:Main |
{{Main|Special:WantedPages|Special:UncategorizedPages}} |
Template loop detected: Template:Main |
{{Main|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}} |
Template loop detected: Template:Main |
{{Main|Special:WantedPages{{!}}Page 1}} (Custom link label) |
Template loop detected: Template:Main |
Dependencies
This template requires the {{Hatnote}}
metatemplate.
Source
Roughly based on Wikipedia's For Template.