mediawiki-skins-Citizen/templates/PageTools__languages.mustache
2022-11-21 17:43:03 -05:00

28 lines
1 KiB
Plaintext

{{!
object data-page-languages
object data-page-variants
bool is-uls-ready
}}
<div class="citizen-languages page-actions__item mw-checkbox-hack-container">
<input
type="checkbox"
id="citizen-languages__checkbox"
class="mw-checkbox-hack-checkbox {{#is-uls-ready}}mw-interlanguage-selector{{/is-uls-ready}}"
role="button"
aria-labelledby="citizen-languages__buttonCheckbox"
aria-haspopup="true">
<aside id="citizen-languages__card" class="page-actions__card mw-checkbox-hack-target">
{{#data-portlets.data-languages}}{{>Menu}}{{/data-portlets.data-languages}}
{{#data-portlets.data-variants}}{{>Menu}}{{/data-portlets.data-variants}}
</aside>
<label
id="citizen-languages__buttonCheckbox"
class="mw-checkbox-hack-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-textLanguage"></span>
<span>{{msg-citizen-languages-toggle}}</span>
</label>
</div>