Template:Main: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Zondor →See also: more see |
meta>Zondor moved from talk |
||
Line 22: | Line 22: | ||
|{{{20|}}}|, [[{{{20}}}]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}''<noinclude> | |{{{20|}}}|, [[{{{20}}}]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}''<noinclude> | ||
---- | ---- | ||
{{esoteric}} | {{esoteric}} | ||
:''Please be mindful of the talk page discussions that have determined '''Template:Main''''s appearance.'' | |||
__NOTOC__ | |||
==Purpose of template== | |||
When [[Wikipedia:What is an article|Wikipedia article]]s | |||
become too large, subarticles are usually created. This [[Wikipedia:Template messages|template]], used in the subarticle, uses the name of the main article as a [[m:Help:Template#Parameters|parameter]] to produce a link to the main article: | |||
<nowiki> | |||
{{main|Article}} | |||
</nowiki> | |||
will produce | |||
{{main|Article}} | |||
To reference multiple articles, the {{tl|main articles}} template can be used instead, as so: | |||
<nowiki> | |||
{{main articles}} [[a]], [[b]], [[c]] | |||
</nowiki> | |||
which produces: | |||
{{main articles}} [[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:Summary style|Wikipedia Manual of Style]]); | |||
* ''or'' at the top of the specialized article, to refer to the more general article: {{tiwt|main}} | |||
* at the top or bottom of a section of the more general article, to refer to the specialized article: {{tiwt|see details}} | |||
---- | |||
The following set of two is an alternative: | |||
*{{tiwt|subarticleof}} | |||
*{{tiwt|seesubarticle}} | |||
==References== | |||
* [[Wikipedia:Long article layout]] | |||
* [[Wikipedia:Summary style]] | |||
* [[m:Help:Template]] | |||
==See also== | ==See also== | ||
* {{tl|Main}}, {{tl|Main2}} | * {{tl|Main}}, {{tl|Main2}} |
Revision as of 00:20, 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: Template:Main articles a, b, c
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: