Template:Main/doc

From Saintapedia
< Template:Main
Revision as of 20:43, 16 September 2024 by Tom (talk | contribs) (Text replacement - "Powerpedia" to "Saintapedia")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When a Saintapedia 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}}.

Use of this template should be restricted to the purposes described above. It is not to be used as a substitute for inline links or {{Further}} template. The latter is used when the section expounds a specific aspect of the topic instead of summarizing its article. For example, in phthalate, the template under the "Endocrine disruptor" section should not be {{Main|Endocrine disruptor}}, because the section specifically deals with phthalate as an endocrine disruptor and not endocrine disruptors in general.

This template should also not be used in lead sections. A lead section is always a summary of its own article, not any other; as such, the only appropriate target for a {{main article}} link in the lead section would be the article itself, which is not useful.

Usage

{{Main
|Article 1
}}

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

{{Main
|Article 1
|Article 2
|Article 3
|Article 4
|Article 5
|Article 6
|Article 7
|Article 8
|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 2
|Article 3
|Article 4
|Article 5
|Article 6
|Article 7
|Article 8
|Article 9
|Article 10
|l1=Article 1 link appearance
|l2=Article 2 link appearance
|l3=Article 3 link appearance
|l4=Article 4 link appearance
|l5=Article 5 link appearance
|l6=Article 6 link appearance
|l7=Article 7 link appearance
|l8=Article 8 link appearance
|l9=Article 9 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}}}}


See also


When a Saintapedia 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.

Template parameters

ParameterDescriptionTypeStatus
Article 11

no description

Page namerequired
Article 1 link appearancel1

If you want to modify the link text

Unknownoptional
Article 22

no description

Page nameoptional
Article 2 link appearancel2

If you want to modify the link text

Unknownoptional
Article 33

no description

Page nameoptional
Article 2 link appearancel3

If you want to modify the link text

Unknownoptional
44

no description

Page nameoptional
l4l4

no description

Unknownoptional
55

no description

Unknownoptional
l5l5

no description

Unknownoptional
66

no description

Unknownoptional
l6l6

no description

Unknownoptional
77

no description

Unknownoptional
l7l7

no description

Unknownoptional
88

no description

Unknownoptional
l8l8

no description

Unknownoptional
99

no description

Unknownoptional
l9l9

no description

Unknownoptional
1010

no description

Unknownoptional
l10l10

no description

Unknownoptional
1111

no description

Unknownoptional