mediawiki-skins-Citizen/templates/PageTools__languages.mustache

28 lines
1 KiB
Plaintext
Raw Normal View History

{{!
object data-page-languages
object data-page-variants
bool is-uls-ready
}}
<div class="citizen-languages page-actions__item citizen-menu-checkbox-container">
<input
type="checkbox"
id="citizen-languages__checkbox"
class="citizen-menu-checkbox-checkbox {{#is-uls-ready}}mw-interlanguage-selector{{/is-uls-ready}}"
role="button"
aria-labelledby="citizen-languages__buttonCheckbox"
aria-haspopup="true">
<label
id="citizen-languages__buttonCheckbox"
class="citizen-menu-checkbox-button page-actions__button"
for="citizen-languages__checkbox"
title="{{msg-citizen-languages-toggle}}"
aria-hidden="true"
data-counter-text="{{html-language-count}}">
<span class="citizen-ui-icon mw-ui-icon-wikimedia-language"></span>
<span>{{msg-citizen-languages-toggle}}</span>
</label>
<aside id="citizen-languages__card" class="citizen-menu__card citizen-menu-checkbox-target">
{{#data-portlets.data-languages}}{{>Menu}}{{/data-portlets.data-languages}}
{{#data-portlets.data-variants}}{{>Menu}}{{/data-portlets.data-variants}}
</aside>
</div>