Template:Main

From waze
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

When a Wikipedia article is large, it is often rewritten in summary style. This template is used after the heading of the summary, to link to the sub-article that has been (or will be) summarized. This template can also be used in the Category namespace, but the preferred template for categories is {{Cat main}}.

This template can also be used in articles leads when an article is not the "main" article for its subject, but this is controversial. When there are multiple articles, distinct enough to warrant separate articles, but not enough to be very separate subjects. One to be the main article describing the topic, and the others avoiding unnecessary duplication of the main article. A good example would be geography articles where two terms have somewhat different meanings or "contexts", but refer to roughly the same geographic area, e.g. Balkans and Southeast Europe. The Balkans article is the main article, the Southeast Europe article doesn't try to be a duplicate of the Balkans article by having much info on History, natural resources, etc., it leaves that to the Balkans article. This can be thought of as a halfway point between having fully separate articles, and having a redirect.

Its usage should be restricted to the purposes described above. This template is not to be used as a substitute for inline links or as a "see also". The latter includes e.g. when a section has a title that happens to have a main article, but the section actually refers to a specific aspect of the article at hand. In Phthalate, for example, the template under the section Endocrine disruptor should not be Main: Endocrine disruptor, because the section specifically deals with phtalate as an endocrine disruptor and not endocrine disruptors in general.

Usage

{{Main|Article 1}}

You may also include additional links, up to ten in total:

{{Main |Article 1 |Article 2 | ... |Article 9 |Article 10 }}

For each link, you may optionally specify a link appearance (this is for articles where a piped link would be used).
Note that the extra parameters use a lower case 'L', for example, l1, not 11:

{{Main |Article 1 | ... |Article 10 | l1=Article 1 link appearance | ... | l10=Article 10 link appearance }}

Examples

Code Result
{{Main|Article}}
{{Main|Article 1|Article 2|Article 3}}
{{Main|Article 1|Article 2|Article 3|Article 4|Article 5}}
{{Main|Article|l1=Alternative title}}
{{Main|(15760) 1992 QB1|l1={{mp|(15760) 1992 QB|1}}}}
  • {{main other}}, to create main space only (article space only) content

Template:Hatnote templates documentation

The above documentation is transcluded from Template:Main/doc.
Please add categories to the /doc subpage.
Subpages of this template.