Template:Main
Jump to navigation
Jump to search
Template documentation
Inserts a Main article: onto a page, as a hatnote.
Example 1
- Wikitext
{{Main|Hatnote}}
- Result
Main article: Hatnote
Use the custom parameter to add a custom text:
- Wikitext
{{Main|Hatnote|custom=Custom text}}
- Result
See also: Custom text
Example 2
Multiple links can be added.
- Wikitext
{{Main|Hatnote|Hatnote}}
- Result
- Wikitext
{{Main|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2}}
- Result
Main articles: Custom text and Custom text 2
Example 3
Up to a maximum of 5.
- Wikitext
{{Main|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote}}
- Result
- Wikitext
{{Main|Hatnote|Hatnote|Hatnote|Hatnote|Hatnote|custom=Custom text|custom2=Custom text 2|custom5=Custom text 5}}
- Result
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link | 1 | no description | Unknown | optional |
custom | custom | no description | Unknown | optional |