Template:Section link: Difference between revisions

Enable multiple section links
m>Mark Arsten
m (Protected Template:Section link: Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
m>Czarkoff
(Enable multiple section links)
Line 1: Line 1:
[[{{{1|{{FULLPAGENAME}}}}}#{{{2|<noinclude>Usage</noinclude><includeonly>See also</includeonly>}}}|{{{1|{{PAGENAME}}}}} § {{{2|<noinclude>Usage</noinclude><includeonly>See also</includeonly>}}}]]<noinclude>
{{#if:{{{3|}}}|<!--
<!--Place categories and interwiki links on /doc page, not here-->
Multiple sections
{{Documentation}}
-->{{{1}}} §§ [[{{{1}}}#{{{2}}}|{{{2}}}]]{{#if:{{{4|}}}|,|&#8203; and}} [[{{{1}}}#{{{3}}}|{{{3}}}]]{{#if:{{{4|}}}|, {{#if:{{{5|}}}||and}} [[{{{1}}}#{{{4}}}|{{{4}}}]]}}{{#if:{{{5|}}}|, {{#if:{{{6|}}}||and}} [[{{{1}}}#{{{5}}}|{{{5}}}]]}}{{#if:{{{6|}}}|, and [[{{{1}}}#{{{6}}}|{{{6}}}]]}}|<!--
Single section
-->[[{{{1|{{FULLPAGENAME}}}}}#{{{2|See also}}}|{{{1|{{PAGENAME}}}}} § {{{2|See also}}}]]}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>
Anonymous user