mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
e7b4edf7a6
The Dropdown component should be considered the dropdown folder going forward. This should be distinguished as a different component that composes the Dropdown component Since the template itself is rather simple it seems preferable to have duplicate templates that describe the actual component (PageTools, VariantsDropdown and LanguageButton) MenuDropdown is renamed Dropdown and styles that don't correspond to the Dropdown component are moved to the relevant components. MenuContents mustache template (future component) is added to DRY up several of the new templates. Bug: T320927 Change-Id: I220d0a477b3f05b278bd2cec7dd601c7b3b17c6f
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
{{!-
|
|
Page titlebar - Main <H1> title for all pages, with either the indicators or language selector.
|
|
When language button is visible, indicators are placed in the BeforeContent.mustache template instead.
|
|
}}
|
|
<header class="mw-body-header vector-page-titlebar{{#is-title-blank}} vector-page-titlebar-blank{{/is-title-blank}}">
|
|
{{#data-toc}}
|
|
<label
|
|
id="vector-toc-collapsed-button"
|
|
class="mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-flush-left mw-ui-icon-element mw-ui-icon-wikimedia-listBullet mw-checkbox-hack-button"
|
|
for="vector-toc-collapsed-checkbox"
|
|
role="button"
|
|
aria-controls="toc-toggle-list"
|
|
data-event-name="vector.toc-toggle-list"
|
|
tabindex="0"
|
|
title="{{msg-vector-toc-menu-tooltip}}">
|
|
{{msg-vector-toc-collapsible-button-label}}
|
|
</label>
|
|
{{/data-toc}}
|
|
|
|
{{{html-title-heading}}}
|
|
|
|
{{#is-language-in-content-top}}
|
|
{{#data-lang-btn}}
|
|
{{>LanguageButton}}
|
|
{{/data-lang-btn}}
|
|
{{/is-language-in-content-top}}
|
|
|
|
{{^is-language-in-content-top}}
|
|
{{>Indicators}}
|
|
{{/is-language-in-content-top}}
|
|
</header>
|