Template:Main

From Wildermyth Wiki
This documentation is transcluded from Template:Main/doc

When an article is large, it is often written in summary style. This template is used after the heading of the summary, to link to the subtopic article that has been summarized. For Category namespace, please use {{Cat main}} instead.

Usage

This meta-template uses the following parameters:

1
The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used instead. (suggested).
2
The name of the second page that you want to link to. (optional).
3
The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc. (optional).
l1
What the first linked page is to be displayed as. (optional).
l2
What the second linked page is to be displayed as. (optional).
l3
What the third linked page is to be displayed as. Other labels can be added by using increasing numbers (starting with "l4" for page 4) as parameter names. (optional).
= Examples ==
{{Main}}
{{Main|Article}}
{{Main|Article#Section}}
{{Main|Article#Section|l1=Custom section label}}
{{Main|Article1|Article2|Article3}}
{{Main|Article1|l1=Custom label 1|Article2|l2=Custom label 2}}