2022-10-17 20:09:53 +00:00
|
|
|
{{!
|
|
|
|
@typedef object main-menu-action
|
|
|
|
@prop string href
|
|
|
|
@prop string text
|
|
|
|
|
|
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
|
|
MenuDefinition data-portlets-first
|
|
|
|
MenuDefinition[] array-portlets-rest
|
|
|
|
main-menu-action data-main-menu-action For displaying an emphasized action in the main menu.
|
|
|
|
}}
|
|
|
|
<div class="vector-sidebar-container vector-main-menu-container {{^data-toc}}vector-sidebar-container-no-toc{{/data-toc}}">
|
|
|
|
<div id="mw-navigation">
|
|
|
|
{{#data-portlets-main-menu}}
|
|
|
|
<nav id="mw-panel" class="mw-sidebar vector-main-menu" aria-label="{{msg-vector-site-nav-label}}" role="navigation">
|
2022-10-27 23:52:23 +00:00
|
|
|
{{#data-portlets-first}}{{>Portal}}{{/data-portlets-first}}
|
2022-10-17 20:09:53 +00:00
|
|
|
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}}
|
2022-10-27 23:52:23 +00:00
|
|
|
{{#array-portlets-rest}}{{>Portal}}{{/array-portlets-rest}}
|
2022-10-17 20:09:53 +00:00
|
|
|
{{^is-language-in-content}}
|
2022-10-27 23:52:23 +00:00
|
|
|
{{#data-portlets.data-languages}}{{>Portal}}{{/data-portlets.data-languages}}
|
2022-10-17 20:09:53 +00:00
|
|
|
{{/is-language-in-content}}
|
|
|
|
{{! T295555 Add language switch alert message temporarily (to be removed). }}
|
|
|
|
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}}
|
|
|
|
</nav>
|
|
|
|
{{/data-portlets-main-menu}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|