Template:MainArticle/en: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Hatnote|extraclasses=relarticle mainarticle no-border|1=Main article: {{{content| [[{{{1}}}|{{{2:{{{1}}}}}}]] }}}}}
<includeonly>{{Hatnote|extraclasses=relarticle mainarticle no-border|1=Main article: {{{content| [[{{{1}}}|{{{2|{{{1}}}}}}]] }}}}}</includeonly><noinclude>
This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, "Main article: Article 1"
 
== Examples ==
 
<pre><nowiki>{{MainArticle|Special:MyLanguage/Monster|Monsters}}</nowiki></pre>
{{MainArticle|Special:MyLanguage/Monster|Monsters}}
 
 
[[Category:Formatting Templates{{#translation:}}]]
</noinclude>

Latest revision as of 19:32, 8 July 2024

This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, "Main article: Article 1"

Examples

{{MainArticle|Special:MyLanguage/Monster|Monsters}}
Main article: Monsters