Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Template:Main: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
(Created page with ":<div class="noprint">''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}]]{{#if:{{{2| }}} |{{#if:{{{3|}}}|, | and }}[[{{{2}}}]]}}{{#if:{{{3|}}} |{{#if:{{{4|}}}|,&#32...")
 
mNo edit summary
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}]]{{#if:{{{2| }}}
<includeonly>{{#invoke:Main|main}}</includeonly><noinclude>
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}]]}}{{#if:{{{4|}}}
{{doc}}
  |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}]]}}{{#if:{{{5|}}}
 
  |, and [[{{{5}}}]]}}''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div>
[[Category:Notice templates]]
</noinclude>

Revision as of 02:08, 17 December 2018


Adds a list of "main articles" to a page or section. Can accept an indefinite number of articles.

{{main|Caeda}}
{{main|Caeda|Lucina}}

Caeda Caeda and Lucina

To add alternate text for a link, use a "l" parameter with the appropriate number:

{{main|Caeda|l1=Shiida}}
{{main|Caeda|l1=Shiida|Lucina|l2="Marth"}}

Shiida Shiida and "Marth"