mediawiki-skins-Citizen/templates/TableOfContents.mustache

32 lines
1.1 KiB
Plaintext
Raw Normal View History

{{#data-toc}}
<div class="citizen-toc citizen-menu-checkbox-container">
<input
type="checkbox"
id="citizen-toc__checkbox"
class="citizen-menu-checkbox-checkbox"
role="button"
aria-labelledby="citizen-toc__buttonCheckbox"
aria-haspopup="true">
<label
id="citizen-toc__buttonCheckbox"
class="citizen-menu-checkbox-button"
for="citizen-toc__checkbox"
title="{{msg-toc}}"
aria-hidden="true">
<span class="citizen-ui-icon mw-ui-icon-wikimedia-listBullet"></span>
<span id="mw-panel-toc-label">{{msg-toc}}</span>
</label>
<nav id="mw-panel-toc" class="citizen-toc__card citizen-menu-checkbox-target" role="navigation" aria-labelledby="mw-panel-toc-label">
<a class="citizen-toc__top citizen-toc__link" title="{{html-citizen-jumptotop}}" href="#top">
<div class="citizen-ui-icon mw-ui-icon-first mw-ui-icon-wikimedia-first"></div>
<div class="citizen-toc__text">{{msg-citizen-jumptotop}}</div>
</a>
2024-05-08 01:48:22 +00:00
<div class="citizen-menu__heading">{{msg-toc}}</div>
<ul class="citizen-toc__contents" id="mw-panel-toc-list">
{{#array-sections}}
{{>TableOfContents__line}}
{{/array-sections}}
</ul>
</nav>
</div>
{{/data-toc}}