Difference between revisions of "Template:Section link"
From Timelines
(provide a useful default instead of a pointless failure) |
(installing |nopage=y option (yes, I sandboxed it)) |
||
Line 1: | Line 1: | ||
{{#if:{{{3|}}}|<!-- | {{#if:{{{3|}}}|<!-- | ||
Multiple sections | Multiple sections | ||
− | -->{{{1|{{FULLPAGENAME}}}}} §§ [[{{{1|{{FULLPAGENAME}}}}}#{{{2}}}|{{{2}}}]]{{#if:{{{4|}}}|,|​ 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}}}]]}}|<!-- | + | -->{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}} }}§§ [[{{{1|{{FULLPAGENAME}}}}}#{{{2}}}|{{{2}}}]]{{#if:{{{4|}}}|,|​ 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 | Single section | ||
− | -->[[{{{1|{{FULLPAGENAME}}}}}#{{{2|Notes}}}|{{{1|{{ | + | -->[[{{{1|{{FULLPAGENAME}}}}}#{{{2|Notes}}}|{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}} }}§ {{{2|Notes}}}]]}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:24, 26 October 2014
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |