Template:Main: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:''{{#invoke:Labelled_list_hatnote|labelledList|Main article|Main articles|Main page|Main pages}}''</includeonly><noinclude> | <includeonly>: ''{{#invoke: Labelled_list_hatnote|labelledList|Main article|Main articles|Main page|Main pages}}''</includeonly><noinclude> | ||
{{documentation}} | |||
[[Category:Hatnote templates]] | [[Category:Hatnote templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:01, 30 January 2025
![]() |
This template uses Lua: |
The main template is used within a section about some topic to link an article entirely dedicated to the same topic.
Usage
Use unnamed arguments for the page you want to link to. Use named arguments for the displayed text.
For example, if you type
{{main|Special:Random|Frequently asked questions|12 equal|l1=Some page|l2=FAQ|l3=12edo}}
you will get
See Wikipedia's version of this template for more details.