Template:Main: Difference between revisions

From Subway Builder
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div class="hatnote" style="border: 1px solid #aaa; background: #f9f9f9; padding: 0.5em 1em; margin: 1em 0; font-size: 90%;">
<includeonly>''Main article: [[{{{1}}}]]''</includeonly><noinclude>
'''Main {{#if:{{{2|}}}|articles|article}}:''' {{#if:{{{1|}}}|[[{{{1}}}]]}}{{#if:{{{2|}}}|{{#if:{{{1|}}}| and }}[[{{{2}}}]]}}{{#if:{{{3|}}}| and [[{{{3}}}]]}}{{#if:{{{4|}}}| and [[{{{4}}}]]}}{{#if:{{{5|}}}| and [[{{{5}}}]]}}{{#if:{{{6|}}}| and [[{{{6}}}]]}}{{#if:{{{7|}}}| and [[{{{7}}}]]}}{{#if:{{{8|}}}| and [[{{{8}}}]]}}{{#if:{{{9|}}}| and [[{{{9}}}]]}}{{#if:{{{10|}}}| and [[{{{10}}}]]}}
</div></includeonly><noinclude>
== Usage ==
== Usage ==
<pre>{{main|Article name}}</pre>
<pre>{{main|Article name}}</pre>


For multiple articles:
This creates a "Main article" link.
<pre>{{main|Article 1|Article 2|Article 3}}</pre>


[[Category:Navigation templates]]
[[Category:Navigation templates]]
</noinclude>
</noinclude>

Latest revision as of 01:17, 24 October 2025

Usage[edit]

{{main|Article name}}

This creates a "Main article" link.