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

18 lines
436 B
Plaintext
Raw Normal View History

{{!
See @typedef MenuDefinition
}}
<nav id="{{id}}" class="{{class}}" aria-labelledby="{{label-id}}">
{{#is-dropdown}}
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />
<h3 id="{{label-id}}">
<span>{{label}}</span>
</h3>
{{/is-dropdown}}
{{^is-dropdown}}
<h3 id="{{label-id}}">{{label}}</h3>
{{/is-dropdown}}
<ul class="menu" {{{html-userlangattributes}}}>
{{{html-items}}}
</ul>
</nav>