Template:Main: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
:''Main article: [[{{trim|{{{1|}}}}}{{#if: {{{2|}}}|{{!}}{{trim|{{{2|}}}|}}}}]]''<noinclude>
:''Main article: [[{{trim|{{{1|}}}}}{{#if: {{trim|{{{2|}}}|{{!}}{{trim|{{{2|}}}|}}}}]]''<noinclude>
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.



Revision as of 12:59, 17 May 2024

Main article: [[{{#if: ]]

The main template is used within a section about some topic to link an article entirely dedicated to the same topic.

Documentation

English Wikipedia has an article on:

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

Main article: [[Special:Random{{#if: Frequently asked questions]]

See Wikipedia's version of this template for more details.

Related templates