Template:Main: Difference between revisions

From Vigyanwiki
Template>Zondor
(moved from talk)
Template>Zondor
(→‎See also: background, details)
Line 64: Line 64:
==See also==
==See also==
* {{tl|Main}}, {{tl|Main2}}
* {{tl|Main}}, {{tl|Main2}}
* {{tl|Background}}
* {{tl|Details}}
* {{tl|See}}, {{tl|See2}}, {{tl|See3}}, {{tl|See4}}, {{tl|See5}}
* {{tl|See}}, {{tl|See2}}, {{tl|See3}}, {{tl|See4}}, {{tl|See5}}
* {{tl|See also}}, {{tl|Seealso2}}, {{tl|Seealso3}}, {{tl|Seealso4}}, {{tl|Seealso5}}, {{tl|Seealso6}}, {{tl|Seealso7}}, {{tl|Seealso8}}
* {{tl|See also}}, {{tl|Seealso2}}, {{tl|Seealso3}}, {{tl|Seealso4}}, {{tl|Seealso5}}, {{tl|Seealso6}}, {{tl|Seealso7}}, {{tl|Seealso8}}
</noinclude>
</noinclude>

Revision as of 05:54, 25 November 2005

Main article{{{3}}}: {{{3}}}

Please be mindful of the talk page discussions that have determined Template:Main's appearance.

Purpose of template

When Wikipedia articles become too large, subarticles are usually created. This template, used in the subarticle, uses the name of the main article as a parameter to produce a link to the main article:

{{main|Article}}

will produce

Main article{{{3}}}: {{ safesubst:p{{ safesubst:#ifArticle:Article{{{3}}}|1|2}}|{{{3}}}|}}

To reference multiple articles, the {{main articles}} template can be used instead, as so:

{{main articles}} [[a]], [[b]], [[c]]

which produces:

Main article{{{3}}}: {{{3}}} a, b, c

Comparison with related templates

The following two are meant to be used in connection with each other:

  • At the top of a brief section concerning a subject that has a more detailed article (this is the only form specified by the Wikipedia Manual of Style);
  • or at the top of the specialized article, to refer to the more general article: Template:Tiwt
  • at the top or bottom of a section of the more general article, to refer to the specialized article: Template:Tiwt

The following set of two is an alternative:

References

See also