Debian Codegraph @

skins/Vector/includes/templates/PageTitlebar.mustache

raw
1 {{!-
2 Page titlebar - Main h1 title for all pages, with either the indicators or language selector.
3 When language button is visible, indicators are placed in the BeforeContent.mustache template instead.
4 }}
5 <header class="mw-body-header vector-page-titlebar{{#is-title-blank}} vector-page-titlebar-blank{{/is-title-blank}}">
6 {{#data-toc}}
7 {{! TOC is moved into this dropdown from the sidebar in stickyHeader.js. }}
8 <nav aria-label="{{ msg-vector-toc-label }}" class="vector-toc-landmark">
9 {{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Open}}{{/data-page-titlebar-toc-dropdown}}
10 {{#data-page-titlebar-toc-pinnable-container}}
11 {{>PinnableContainer/Unpinned/Open}}
12 {{^is-pinned}}
13 {{#data-toc}}{{>TableOfContents}}{{/data-toc}}
14 {{/is-pinned}}
15 {{>PinnableContainer/Close}}
16 {{/data-page-titlebar-toc-pinnable-container}}
17 {{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Close}}{{/data-page-titlebar-toc-dropdown}}
18 </nav>
19 {{/data-toc}}
20 {{{html-title-heading}}}
21 {{#has-buttons-in-content-top}}
22 {{#data-lang-dropdown}}
23 {{>LanguageDropdown}}
24 {{/data-lang-dropdown}}
25 {{#data-add-topic-button}}
26 {{>Button}}
27 {{/data-add-topic-button}}
28 {{/has-buttons-in-content-top}}
29 {{^has-buttons-in-content-top}}
30 {{>Indicators}}
31 {{/has-buttons-in-content-top}}
32 </header>