Jump to content

Template:Main/doc

From Wikiversity

Description

[edit]

The template is used for linking sections of an overview article to more detailed articles.

Use

[edit]
{{main
  |article 1
}}

You can link to several articles, but no more than five:

{{main
  |article 1
  |article 2
  |article 3
}}

For each link, you can specify a link text different from the article title:

{{main
  |article 1
  |article 2
  |l1=Link text 1
  |l2=Link text 2
}}

Examples

[edit]
Code Result
{{Main|article}}
Main article: article
{{Main|One|Two|Three}}
Main articles: One, Two and Three
{{Main|One|Two|Three|l1=II|l2=III|l3=III}}
Main articles: II, III and III
{{Main|One|Twoasdf|Three11|l2=Two|l3=Three}}
Main articles: One, Two and Three