More languages
More actions
No edit summary |
m Added french interwiki link. |
||
(2 intermediate revisions by one other user not shown) | |||
Line 42: | Line 42: | ||
|} | |} | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | |||
[[Category:Infoline|{{PAGENAME}}]] | |||
[[fr:Modèle:Article principal]] | |||
</noinclude> | </noinclude> |
Latest revision as of 21:44, 22 January 2009
Documentation
When 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.
Usage
{{mainarticle |Article 1 }}
You may also include additional links, up to five in total:
{{mainarticle |Article 1 |Article 2 |Article 3 |Article 4 |Article 5 }}
Example
Code | Result |
---|---|
{{mainarticle|Article}} |
|
{{mainarticle|Article1|Article2|Article3}} |
|
{{mainarticle|Article1|Article2|Article3|Article4|Article5}} |