2022-05-05 16:49:19 +00:00
|
|
|
{{!-
|
2023-07-05 17:19:37 +00:00
|
|
|
Page titlebar - Main h1 title for all pages, with either the indicators or language selector.
|
2023-01-12 11:19:26 +00:00
|
|
|
When language button is visible, indicators are placed in the BeforeContent.mustache template instead.
|
2022-05-05 16:49:19 +00:00
|
|
|
}}
|
2022-09-19 18:26:12 +00:00
|
|
|
<header class="mw-body-header vector-page-titlebar{{#is-title-blank}} vector-page-titlebar-blank{{/is-title-blank}}">
|
2023-02-27 21:58:49 +00:00
|
|
|
{{#data-toc}}
|
2022-11-21 22:16:07 +00:00
|
|
|
{{! Checkbox hack used by collapsed TOC on narrow viewports for no JS users }}
|
2022-06-08 15:03:38 +00:00
|
|
|
<label
|
|
|
|
id="vector-toc-collapsed-button"
|
2023-04-27 20:39:40 +00:00
|
|
|
class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet vector-button-flush-left cdx-button--icon-only"
|
2022-06-08 15:03:38 +00:00
|
|
|
for="vector-toc-collapsed-checkbox"
|
|
|
|
role="button"
|
2023-05-02 18:45:10 +00:00
|
|
|
aria-controls="vector-toc"
|
2022-06-08 15:03:38 +00:00
|
|
|
tabindex="0"
|
2022-06-10 21:13:30 +00:00
|
|
|
title="{{msg-vector-toc-menu-tooltip}}">
|
2023-04-27 20:39:40 +00:00
|
|
|
<span class="vector-icon mw-ui-icon-wikimedia-listBullet"></span>
|
2023-05-02 18:45:10 +00:00
|
|
|
<span>{{msg-vector-toc-collapsible-button-label}}</span>
|
2022-06-08 15:03:38 +00:00
|
|
|
</label>
|
2022-11-21 22:16:07 +00:00
|
|
|
{{! TOC is moved into this dropdown from the sidebar in stickyHeader.js. }}
|
2023-02-21 21:19:52 +00:00
|
|
|
<nav role="navigation" aria-label="{{ msg-vector-toc-label }}" class="vector-toc-landmark">
|
|
|
|
{{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Open}}{{/data-page-titlebar-toc-dropdown}}
|
|
|
|
{{#data-page-titlebar-toc-pinnable-container}}
|
|
|
|
{{>PinnableContainer/Unpinned/Open}}
|
2023-02-23 21:23:46 +00:00
|
|
|
{{^is-pinned}}
|
|
|
|
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
|
|
|
|
{{/is-pinned}}
|
2023-02-21 21:19:52 +00:00
|
|
|
{{>PinnableContainer/Close}}
|
|
|
|
{{/data-page-titlebar-toc-pinnable-container}}
|
|
|
|
{{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Close}}{{/data-page-titlebar-toc-dropdown}}
|
|
|
|
</nav>
|
2023-02-27 21:58:49 +00:00
|
|
|
{{/data-toc}}
|
2023-01-12 11:19:26 +00:00
|
|
|
{{{html-title-heading}}}
|
2023-01-30 14:55:10 +00:00
|
|
|
{{#has-buttons-in-content-top}}
|
2023-04-25 16:53:19 +00:00
|
|
|
{{#data-lang-dropdown}}
|
2023-01-12 11:19:26 +00:00
|
|
|
{{>LanguageDropdown}}
|
2023-04-25 16:53:19 +00:00
|
|
|
{{/data-lang-dropdown}}
|
2023-03-06 18:29:26 +00:00
|
|
|
{{#data-add-topic-button}}
|
2023-04-25 16:53:19 +00:00
|
|
|
{{>Button}}
|
2023-03-06 18:29:26 +00:00
|
|
|
{{/data-add-topic-button}}
|
2023-01-30 14:55:10 +00:00
|
|
|
{{/has-buttons-in-content-top}}
|
|
|
|
{{^has-buttons-in-content-top}}
|
2023-01-12 11:19:26 +00:00
|
|
|
{{>Indicators}}
|
2023-01-30 14:55:10 +00:00
|
|
|
{{/has-buttons-in-content-top}}
|
2022-06-08 15:03:38 +00:00
|
|
|
</header>
|