mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 00:50:08 +00:00
28a3c06cdf
Bug: T304166 Change-Id: I182c9e5399d95ecea58dcdabb563a98b4e34e47e
18 lines
820 B
Plaintext
18 lines
820 B
Plaintext
<li id="toc-{{anchor}}"
|
|
class="sidebar-toc-list-item sidebar-toc-level-{{toclevel}}{{#is-top-level-section}}{{^vector-is-collapse-sections-enabled}} sidebar-toc-list-item-expanded{{/vector-is-collapse-sections-enabled}}{{/is-top-level-section}}">
|
|
<a class="sidebar-toc-link" href="#{{anchor}}">
|
|
<div class="sidebar-toc-text">
|
|
<span class="sidebar-toc-numb">{{number}}</span>{{{line}}}</div>
|
|
</a>
|
|
{{#is-top-level-section}}{{#is-parent-section}}
|
|
<button aria-controls="toc-{{anchor}}-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small sidebar-toc-toggle">
|
|
{{{vector-button-label}}}
|
|
</button>
|
|
{{/is-parent-section}}{{/is-top-level-section}}
|
|
<ul id="toc-{{anchor}}-sublist" class="sidebar-toc-list">
|
|
{{#array-sections}}
|
|
{{>TableOfContents__line}}
|
|
{{/array-sections}}
|
|
</ul>
|
|
</li>
|