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

18 lines
454 B
Plaintext
Raw Normal View History

{{!
See @typedef MenuDefinition
}}
<div id="{{id}}" role="navigation" 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>
</div>