mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
ffa19b2ae3
Bug: T248752 Depends-On: I98fc4755e6a736efc2210f8b6ddf4a1cc4eea378 Change-Id: I077abba357e503c79901b64be2ccbb3f2efe1c18
29 lines
866 B
Plaintext
29 lines
866 B
Plaintext
{{!
|
|
LogoDefinition logo
|
|
string link-mainpage link to the main page (from SkinMustache in core)
|
|
string msg-sitesubtitle the contents of the sitesubtitle message key
|
|
}}
|
|
{{#data-logos}}
|
|
<a href="{{link-mainpage}}" class="mw-logo">
|
|
{{#icon}}
|
|
{{! alt is provided for valid HTML but given aria-hidden not needed. }}
|
|
<img class="mw-logo-icon" src="{{.}}" alt=""
|
|
aria-hidden="true" height="50" width="50">
|
|
{{/icon}}
|
|
<span class="mw-logo-container">
|
|
{{#wordmark}}
|
|
<img class="mw-logo-wordmark" alt="{{msg-sitetitle}}"
|
|
src="{{src}}" width="{{width}}" height="{{height}}">
|
|
{{/wordmark}}
|
|
{{^wordmark}}
|
|
<strong class="mw-logo-wordmark">{{msg-sitetitle}}</strong>
|
|
{{/wordmark}}
|
|
{{#tagline}}
|
|
<img class="mw-logo-tagline"
|
|
alt="{{msg-sitesubtitle}}"
|
|
src="{{src}}" width="{{width}}" height="{{height}}">
|
|
{{/tagline}}
|
|
</span>
|
|
</a>
|
|
{{/data-logos}}
|