mediawiki-skins-Citizen/templates/Drawer__logo.mustache

21 lines
662 B
Plaintext
Raw Normal View History

{{!
LogoDefinition logo
string link-mainpage link to the main page
}}
{{#data-logos}}
<a href="{{link-mainpage}}" class="mw-logo citizen-drawer__logo" title="{{msg-tooltip-p-logo}}">
{{! alt is provided for valid HTML but given aria-hidden not needed. }}
<img class="mw-logo-icon" src="{{!
Pick an icon based on this order: Icon > SVG > 1x
Need a better way to indent the syntax below
}}{{#icon}}{{.}}{{/icon}}{{!
}}{{^icon}}{{!
}}{{#svg}}{{.}}{{/svg}}{{!
}}{{^svg}}{{!
}}{{#1x}}{{.}}{{/1x}}{{!
}}{{/svg}}{{!
}}{{/icon}}"{{!
}}alt="" aria-hidden="true" height="80" width="80" loading="lazy">
</a>
{{/data-logos}}