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.
m (Set "Main article" in {{main}}, so other templates can use Module:Main to create page lists)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>:''Main article{{#if:{{{2|}}}|s}}: {{#invoke:Main|main}}''</includeonly><noinclude>{{doc}}
<includeonly>:''Main article{{#if:{{{2|}}}|s}}: ''{{#invoke:Main|main}}</includeonly><noinclude>
 
{{doc}}</noinclude>
[[Category:Notice templates]]
</noinclude>

Latest revision as of 17:24, 7 August 2022

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

{{main|Caeda}}
{{main|Caeda|Lucina}}
Main article: Caeda
Main articles: 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"}}
Main article: Shiida
Main articles: Shiida and "Marth"