Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Main
<templatedata> { "params": { "1": { "label": "Article", "description": "A main article.", "example": "Article", "type": "wiki-page-name", "required": true }, "2": { "label": "Second Article", "description": "A second main article.", "example": "Second Article", "type": "wiki-page-name" }, "3": { "label": "Third Article", "description": "A third main article.", "example": "Third Article", "type": "wiki-page-name" } }, "description": "This hatnote template is meant to be in sections of an article mentioning information about another existing main article.", "paramOrder": [ "1", "2", "3" ], "format": "inline" } </templatedata>
Examples
| Code | Result |
|---|---|
{{Main|Special:WantedPages}} |
Main article: Special:WantedPages
|
{{Main|Special:WantedPages#Section Title}} |
Main article: Special:WantedPages#Section Title
|
{{Main|Special:WantedPages|Special:UncategorizedPages}} |
Main articles: Special:WantedPages and Special:UncategorizedPages
|
{{Main|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}} |
|
{{Main|Special:WantedPages{{!}}Page 1}} (Custom link label) |
Main article: Page 1
|
Dependencies
This template requires the {{Hatnote}} metatemplate.
Source
Roughly based on Wikipedia's For Template.


