Template:MainArticle: Difference between revisions

From Ymirheim Wiki
(Created page with "{{Hatnote|extraclasses=relarticle mainarticle|1={{{1}}}}}")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Hatnote|extraclasses=relarticle mainarticle|1={{{1}}}}}
<includeonly>{{Hatnote|extraclasses=relarticle mainarticle no-border|1=<translate nowrap><!--T:1--> Main article:</translate> {{{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:31, 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