Template:Main/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{wikipedia}}{{modlink|Labelled list hatnote}} | ||
The '''main''' template is used within a section about some topic to link an article entirely dedicated to the same topic. | The '''main''' template is used within a section about some topic to link an article entirely dedicated to the same topic. | ||
=== Usage === | === Usage === | ||
Use unnamed arguments for the page you want to link to. Use named arguments for the displayed text. | Use unnamed arguments for the page you want to link to. Use named arguments for the displayed text. | ||
Line 19: | Line 18: | ||
* [[Template:See also]] | * [[Template:See also]] | ||
* [[Template:Distinguish]] | * [[Template:Distinguish]] | ||
Revision as of 14:43, 31 January 2025
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.