Template:Main

From War Thunder Wiki
Revision as of 18:44, 27 August 2018 by VolgaIgor (talk | contribs) (Created page with "<includeonly>:<div class="noprint">''{{#if:{{{2|}}}|Main articles|Main article}}'': '''''[[{{{1}}}|{{{l1|{{{1}}}}}}]]'''''{{#if:{{{2| }}} |{{#if:{{{3|}}}|, |, }}...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is used for formatting links to more-detailed articles.

{{main
  |Article 1
}}

You can add up to five links, if required.

{{main
  |Article 1
  |Article 2
  |Article 3
}}

By default, the text of the link is set as the name of the page to which it directs. If needed, you can change the text the following way:

{{main
  |Article 1
  |Article 2
  |l1=Displayed text of link 1
  |l2=Displayed text of link 2
}}
Msg-info.png Note: The character 'l' in "l1" is a lowercase 'L', NOT a capital "i" or a "1"

Examples

Code Result
{{Main|Aviation}}
Main article: Aviation
{{Main|Aviation|Ground vehicles|Fleet}}
Main articles: Aviation, Ground vehicles, Fleet
{{Main|Aviation|Ground vehicles|Fleet|l1=Avia|l2=Ground|l3=Navy}}
Main articles: Avia, Ground, Navy