2022-10-06 17:45:23 +00:00
|
|
|
<li id="toc-{{anchor}}"
|
2024-09-10 21:36:53 +00:00
|
|
|
class="citizen-toc-list-item citizen-toc-level-{{toclevel}}">
|
2024-09-10 22:28:12 +00:00
|
|
|
{{!
|
|
|
|
^linkAnchor anchor /linkAnchor is needed for MW 1.39 compatability
|
|
|
|
}}
|
|
|
|
<a class="citizen-toc-link" href="#{{linkAnchor}}{{^linkAnchor}}{{anchor}}{{/linkAnchor}}">
|
2024-09-10 21:36:53 +00:00
|
|
|
<div class="citizen-toc-indicator"></div>
|
|
|
|
<div class="citizen-toc-text">
|
|
|
|
<span class="citizen-toc-numb">{{number}}</span>
|
|
|
|
<span class="citizen-toc-heading">{{{line}}}</span>
|
2022-10-12 16:44:05 +00:00
|
|
|
</div>
|
2022-10-06 17:45:23 +00:00
|
|
|
</a>
|
|
|
|
{{#html-summary}}
|
|
|
|
{{{.}}}
|
|
|
|
{{/html-summary}}
|
2024-09-10 23:32:49 +00:00
|
|
|
{{#is-top-level-section}}{{#is-parent-section}}
|
|
|
|
<button aria-controls="toc-{{anchor}}-sublist" class="citizen-toc-toggle">
|
|
|
|
<span class="citizen-ui-icon mw-ui-icon-wikimedia-collapse"></span>
|
|
|
|
<span>{{{citizen-button-label}}}</span>
|
|
|
|
</button>
|
|
|
|
{{/is-parent-section}}{{/is-top-level-section}}
|
2024-09-10 21:36:53 +00:00
|
|
|
<ul id="toc-{{anchor}}-sublist" class="citizen-toc-list">
|
2022-10-06 17:45:23 +00:00
|
|
|
{{#array-sections}}
|
|
|
|
{{>TableOfContents__line}}
|
|
|
|
{{/array-sections}}
|
|
|
|
</ul>
|
|
|
|
</li>
|