Template:Main/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
htiw egap detaerC
 
ArrowHead294 (talk | contribs)
Line 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
== Usage ==
== Usage ==
Use an unnamed argument for the page you want to link to:
Use an unnamed argument for the page you want to link to.


:<nowiki>{{Main|</nowiki> ''Some page'' }}
For example, if you type


to get
:<code><nowiki>{{Main|</nowiki>Special:Random|''Some page''}}</code>
 
you will get


:''Main article: [[Special:Random|Some page]]''
:''Main article: [[Special:Random|Some page]]''

Revision as of 13:01, 17 May 2024

Usage

Use an unnamed argument for the page you want to link to.

For example, if you type

{{Main|Special:Random|Some page}}

you will get

Main article: Some page

Related templates