mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-01 09:26:53 +00:00
dfe7167e97
* Update skin.json * Update Drawer__logo.mustache * Update Header__logo.mustache * Update skin.json * Update Drawer__logo.mustache * Update Header__logo.mustache
24 lines
746 B
Plaintext
24 lines
746 B
Plaintext
{{!
|
|
LogoDefinition logo
|
|
string link-mainpage link to the main page
|
|
TODO: Maybe merge with Drawer__logo?
|
|
}}
|
|
{{#data-logos}}
|
|
<div class="citizen-header__logo">
|
|
<a href="{{link-mainpage}}" class="mw-logo citizen-header__button" 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="32" width="32">
|
|
</a>
|
|
</div>
|
|
{{/data-logos}}
|