Template:Section link: Difference between revisions

    m>SMcCandlish
    (installing |nopage=y option (yes, I sandboxed it))
    m>Mr. Stradivarius
    (convert this to use Module:Section link)
    Line 1: Line 1:
    {{#if:{{{3|}}}|<!--
    {{#invoke:Section link|main}}<noinclude>
    Multiple sections
    -->{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}}&#32;}}§§&thinsp;[[{{{1|{{FULLPAGENAME}}}}}#{{{2}}}|{{{2}}}]]{{#if:{{{4|}}}|,|&#8203; and}} [[{{{1|{{FULLPAGENAME}}}}}#{{{3}}}|{{{3}}}]]{{#if:{{{4|}}}|, {{#if:{{{5|}}}||and}} [[{{{1|{{FULLPAGENAME}}}}}#{{{4}}}|{{{4}}}]]}}{{#if:{{{5|}}}|, {{#if:{{{6|}}}||and}} [[{{{1|{{FULLPAGENAME}}}}}#{{{5}}}|{{{5}}}]]}}{{#if:{{{6|}}}|, and [[{{{1|{{FULLPAGENAME}}}}}#{{{6}}}|{{{6}}}]]}}|<!--
    Single section
    -->[[{{{1|{{FULLPAGENAME}}}}}#{{{2|Notes}}}|{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}}&#32;}}§&thinsp;{{{2|Notes}}}]]}}<noinclude>
    {{documentation}}
    {{documentation}}
    <!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
    </noinclude>
    </noinclude>