Difference between revisions of "Template:Main"

m
(Redirected code to the {{Related articles}} template for standardized look)
Line 1: Line 1:
:<div class="noprint relarticle mainarticle">'''''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
{{Related articles
|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
+
|link1={{{1}}}
|{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
+
|subject1={{{l1}}}
|{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
+
|link2={{{2}}}
|{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
+
|subject2={{{l2}}}
|{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
+
|link3={{{3}}}
|{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
+
|subject3={{{l3}}}
|{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
+
|link4={{{4}}}
|{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
+
|subject4={{{l4}}}
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}'''''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
+
|link5={{{5}}}
</noinclude><!-- Form is {{main|link|l1=Visible label|link2|l2=Vivibsle label}} etc. Note that these are lower case L's! --!>
+
|subject5={{{l5}}}
 +
|link6={{{6}}}
 +
|subject6={{{l6}}}
 +
|link7={{{7}}}
 +
|subject7={{{l7}}}
 +
|link8={{{8}}}
 +
|subject8={{{l8}}}
 +
|link9={{{9}}}
 +
|subject9={{{l9}}}
 +
|link10={{{10}}}
 +
|subject10={{{l10}}}
 +
}}

Revision as of 23:12, 30 May 2024

Related articles:[[{{{1}}}|{{{l1}}}]][[{{{6}}}|{{{l6}}}]]
[[{{{2}}}|{{{l2}}}]][[{{{7}}}|{{{l7}}}]]
[[{{{3}}}|{{{l3}}}]][[{{{8}}}|{{{l8}}}]]
[[{{{4}}}|{{{l4}}}]][[{{{9}}}|{{{l9}}}]]
[[{{{5}}}|{{{l5}}}]][[{{{10}}}|{{{l10}}}]]