Template:Main: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (4 revisions)
(Consistent style.)
Line 1: Line 1:
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
{{dablink|Main article{{#if:{{{2|}}}|s}}&#58; '''[[{{{1}}}|{{{l1|{{{1}}}}}}]]'''{{#if:{{{2| }}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}'''[[{{{2}}}|{{{l2|{{{2}}}}}}]]'''}}{{#if:{{{3|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}'''[[{{{3}}}|{{{l3|{{{3}}}}}}]]'''}}{{#if:{{{4|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}'''[[{{{4}}}|{{{l4|{{{4}}}}}}]]'''}}{{#if:{{{5|}}}
   |, and [[{{{5}}}|{{{l5|{{{5}}}}}}]]}}''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
   |, and '''[[{{{5}}}|{{{l5|{{{5}}}}}}]]'''}}{{#if:{{{6| }}}|&#32; (too many parameters in {{tem|Main}})}}}}<noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]



Revision as of 07:22, October 9, 2014

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

Use

This template adds a link to the main article for the subheading it is placed in.

{{main|link|l1=text displayed as link}}