Template:Mainarticle

From Battlestar Wiki
Revision as of 23:07, 30 April 2017 by Sjml (talk | contribs) (Automated import from old BattlestarWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This page (like all pages on this wiki) was imported from the original English-language Battlestar Wiki based on what was available in the Wayback Machine in early 2017. You can see the archive of the original page here.

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}}
Main article: Article
{{mainarticle|Article1|Article2|Article3}}
Main articles: Article1, Article2, and Article3
{{mainarticle|Article1|Article2|Article3|Article4|Article5}}
Main articles: Article1, Article2, Article3, Article4, and Article5

fr:Modèle:Article principal