Difference between revisions of "Template:Main"

From Nookipedia, the Animal Crossing wiki
(Replacing ColorPrimary/ColorSecondary with CSS classes)
(adding parameter to change article name)
 
Line 1: Line 1:
:<span class="noprint">''<span class="theme-text" style="font-family: 'Coustard','Linux Libertine',Georgia,Times,serif; font-weight: 130;">Main article{{#if:{{{2|}}}|s}}&#58;</span> [[{{{1}}}]]{{#if:{{{2| }}}
+
:<span class="noprint">''<span class="theme-text" style="font-family: 'Coustard','Linux Libertine',Georgia,Times,serif; font-weight: 130;">Main article{{#if:{{{2|}}}|s}}&#58;</span> [[{{{1}}}|{{{article-name|{{{1}}}}}}]]{{#if:{{{2| }}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}]]}}{{#if:{{{3|}}}
+
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{article2-name|{{{2}}}}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}]]}}{{#if:{{{4|}}}
+
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{article3-name|{{{3}}}}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}]]}}{{#if:{{{5|}}}
+
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{article4-name|{{{4}}}}}}]]}}{{#if:{{{5|}}}
   |, and [[{{{5}}}]]}}{{#if:{{{6| }}}|&#32;'' (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</span>
+
   |, and [[{{{5}}}|{{{article5-name|{{{5}}}}}}]]}}{{#if:{{{6| }}}|&#32;'' (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</span>

Latest revision as of 09:06, July 7, 2021

Main article: [[{{{1}}}|{{{1}}}]]