Changes

Jump to navigation Jump to search
6,429 bytes added ,  15:06, 14 December 2018
add option for when there is more than one section A, B, C on the same page
{{#if:{{{allowtoc|}}}||__NOTOC__}}<!--
-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
<div style="text-align:center;"><!--
-->}}<!--

Start contents box

--><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks hlist" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}}
style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto;
| {{#ifeq:{{{right}}}|yes |clear:right;float:right;}}
}} text-align:{{{align|left}}};">
<!--

"[name]/Contents"

-->{{#ifeq:{{{name}}}|no |
| <div id="toctitle" class="toctitle" style="text-align:center;{{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |display:inline-block;}}"><!--
--><span id="tocheading" style="font-weight:bold;">{{{name|{{MediaWiki:Toc}}}}}{{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |&#58;&nbsp;<!--(colon and space)-->}}</span><!--
--></div><!--
-->}}
<!--

Links

--><div style="margin:auto;white-space:nowrap;{{#ifeq:{{{side|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |display:inline-block;}}"><!--
-->{{#ifeq:{{{top}}}|yes |
* [[#top|Top]]}}<!--
-->{{#if:{{{pre1|{{{preSec1|}}}}}} |
* [[{{{pre1link|{{{preSec1link|#{{{pre1|{{{preSec1}}} }}} }}} }}}|{{{pre1name|{{{preSec1name|{{{pre1|{{{preSec1}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre2|{{{preSec2|}}}}}} |
* [[{{{pre2link|{{{preSec2link|#{{{pre2|{{{preSec2}}} }}} }}} }}}|{{{pre2name|{{{preSec2name|{{{pre2|{{{preSec2}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre3|{{{preSec3|}}}}}} |
* [[{{{pre3link|{{{preSec3link|#{{{pre3|{{{preSec3}}} }}} }}} }}}|{{{pre3name|{{{preSec3name|{{{pre3|{{{preSec3}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre4|{{{preSec4|}}}}}} |
* [[{{{pre4link|{{{preSec4link|#{{{pre4|{{{preSec4}}} }}} }}} }}}|{{{pre4name|{{{preSec4name|{{{pre4|{{{preSec4}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre5|{{{preSec5|}}}}}} |
* [[{{{pre5link|{{{preSec5link|#{{{pre5|{{{preSec5}}} }}} }}} }}}|{{{pre5name|{{{preSec5name|{{{pre5|{{{preSec5}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre6|{{{preSec6|}}}}}} |
* [[{{{pre6link|{{{preSec6link|#{{{pre6|{{{preSec6}}} }}} }}} }}}|{{{pre6name|{{{preSec6name|{{{pre6|{{{preSec6}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre7|{{{preSec7|}}}}}} |
* [[{{{pre7link|{{{preSec7link|#{{{pre7|{{{preSec7}}} }}} }}} }}}|{{{pre7name|{{{preSec7name|{{{pre7|{{{preSec7}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{pre8|{{{preSec8|}}}}}} |
* [[{{{pre8link|{{{preSec8link|#{{{pre8|{{{preSec8}}} }}} }}} }}}|{{{pre8name|{{{preSec8name|{{{pre8|{{{preSec8}}} }}} }}} }}}]] <!--
-->}} {{#ifeq:{{{prebreak|}}}|yes|<br />

<nowiki />}} <!--
-->{{#ifeq:{{{sym}}}|yes |
* [[#!$@{{{2|}}}|!$@]] }}<!--
-->{{#ifeq:{{{num}}}|yes |
{{#if:{{{0-9}}}|* {{{0-9|[[#0–9{{{2|}}}|0–9]]}}} }} }}<!--
-->{{#ifeq:{{{symnum}}}|yes |
* [[#!–9{{{2|}}}|!–9]] }}{{#ifeq:{{{letters}}}|no||
{{#if:{{{a}}}|* {{{a|[[#A{{{2|}}}|A]]}}}
}}{{#if:{{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}} <!--
-->{{#ifeq:{{{nobreak|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes | |<nowiki />

<nowiki />}}<!--

Custom links

-->{{#if:{{{custom1|{{{Sec1|}}}}}} |
* [[{{{custom1link|{{{Sec1link|#{{{custom1|{{{Sec1}}} }}} }}} }}}|{{{custom1name|{{{Sec1name|{{{custom1|{{{Sec1}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom2|{{{Sec2|}}}}}} |
* [[{{{custom2link|{{{Sec2link|#{{{custom2|{{{Sec2}}} }}} }}} }}}|{{{custom2name|{{{Sec2name|{{{custom2|{{{Sec2}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom3|{{{Sec3|}}}}}} |
* [[{{{custom3link|{{{Sec3link|#{{{custom3|{{{Sec3}}} }}} }}} }}}|{{{custom3name|{{{Sec3name|{{{custom3|{{{Sec3}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom4|{{{Sec4|}}}}}} |
* [[{{{custom4link|{{{Sec4link|#{{{custom4|{{{Sec4}}} }}} }}} }}}|{{{custom4name|{{{Sec4name|{{{custom4|{{{Sec4}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom5|{{{Sec5|}}}}}} |
* [[{{{custom5link|{{{Sec5link|#{{{custom5|{{{Sec5}}} }}} }}} }}}|{{{custom5name|{{{Sec5name|{{{custom5|{{{Sec5}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom6|{{{Sec6|}}}}}} |
* [[{{{custom6link|{{{Sec6link|#{{{custom6|{{{Sec6}}} }}} }}} }}}|{{{custom6name|{{{Sec6name|{{{custom6|{{{Sec6}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom7|{{{Sec7|}}}}}} |
* [[{{{custom7link|{{{Sec7link|#{{{custom7|{{{Sec7}}} }}} }}} }}}|{{{custom7name|{{{Sec7name|{{{custom7|{{{Sec7}}} }}} }}} }}}]] <!--
-->}} {{#if:{{{custom8|{{{Sec8|}}}}}} |
* [[{{{custom8link|{{{Sec8link|#{{{custom8|{{{Sec8}}} }}} }}} }}}|{{{custom8name|{{{Sec8name|{{{custom8|{{{Sec8}}} }}} }}} }}}]] <!--
-->}}<!--

"See also" etc links

-->{{#ifeq:{{{seealso}}}|yes |
* [[#See also|See also]] }}<!--
-->{{#ifeq:{{{notesfirst}}}|yes |
* [[#Notes|Notes]] }}<!--
-->{{#ifeq:{{{refs|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
* [[#References|References]] }}<!--
-->{{#ifeq:{{{notes}}}|yes |
* [[#Notes|Notes]] }}<!--
-->{{#ifeq:{{{further}}}|yes |
* [[#Further reading|Further reading]] }}<!--
-->{{#ifeq:{{{extlinks}}}|yes |
* [[#External links|External links]] <!--
-->}}
<!-- --></div><!--

End contents box

--></div><!--

-->{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |
</div><!--
-->}}<noinclude>

{{Documentation}}
</noinclude>
Anonymous user

Navigation menu