mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
ad5c127239
* Moves screen variables relating to Header to Header * Adds a Header storybook entry * Moves data-logo from Logo template to Header.mustache * Updates UserLinks to use USER_LINK_PARTIALS * Renames confusing SearchBox story names * Updates package.json to use a static folder. * Use mediawiki.org for sourcing mw-ui-button and mw-ui-icon styles since deploys there come earlier * Removes usages of ID selectors Change-Id: I0e158fa7e62c56a50cfff497d75f0808effd1eed
27 lines
834 B
Plaintext
27 lines
834 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
|
|
}}
|
|
<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>
|