mediawiki-skins-Vector/includes/templates/TableOfContents.mustache

23 lines
904 B
Plaintext
Raw Normal View History

<nav id="mw-panel-toc" class="sidebar-toc" role="navigation" aria-labelledby="sidebar-toc-label" data-event-name="ui.sidebar-toc">
<div id="sidebar-toc-label" class="sidebar-toc-header">
<p class="sidebar-toc-title">
{{ msg-vector-toc-heading }}
<button class="vector-toc-uncollapse-button">{{msg-vector-toc-toggle-position-sidebar}}</button>
<button class="vector-toc-collapse-button">{{msg-vector-toc-toggle-position-title}}</button>
</p>
</div>
<ul class="sidebar-toc-contents" id="mw-panel-toc-list">
{{#is-vector-toc-beginning-enabled}}
<li id="toc-mw-content-text"
class="sidebar-toc-list-item sidebar-toc-level-1">
<a href="#top-page" class="sidebar-toc-link">
<div class="sidebar-toc-text">{{ msg-vector-toc-beginning }}</div>
</a>
</li>
{{/is-vector-toc-beginning-enabled}}
{{#array-sections}}
{{>TableOfContents__line}}
{{/array-sections}}
</ul>
</nav>