Template:Main

''Main article&#58; {{#if:{{{1|}}}|{{#if:{{{l1|}}}|{{{l1|{{{1}}}}}}|{{{1}}}}}{{#if:{{{2|}}} |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}{{#if:{{{l2|}}}|{{{l2|{{{2}}}}}}|{{{2}}}}}}}{{#if:{{{3|}}} |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l3|}}}|{{{l3|{{{3}}}}}}|{{{3}}}}}}}{{#if:{{{4|}}} |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l4|}}}|{{{l4|{{{4}}}}}}|{{{4}}}}}}}{{#if:{{{5|}}} |{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l5|}}}|{{{l5|{{{5}}}}}}|{{{5}}}}}}}{{#if:{{{6|}}} |{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l6|}}}|{{{l6|{{{6}}}}}}|{{{6}}}}}}}{{#if:{{{7|}}} |{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l7|}}}|{{{l7|{{{7}}}}}}|{{{7}}}}}}}{{#if:{{{8|}}} |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l8|}}}|{{{l8|{{{8}}}}}}|{{{8}}}}}}}{{#if:{{{9|}}} |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}{{#if:{{{l9|}}}|{{{l9|{{{9}}}}}}|{{{9}}}}}}}{{#if:{{{10|}}} |, and {{#if:{{{l10|}}}|{{{l10|{{{10}}}}}}|{{{10}}}}}}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;main&#125;&#125;)}} {{Tlx|Main}} is used below section titles to explain where the main article on the subject is.

Usage

 * Up to 10 parameters are permitted: only the first is mandatory.
 * Parameters in the form l# may be used to change the displayed text of a article link.
 * The list is dynamically generated so that the word "and" is always placed between the final two entries.
 * If more than 10 entries are supplied, a message will be displayed pointing out the problem.
 * NB : no newlines are permitted else the article links will be broken.

Example
And so on up to 15 parameters.