mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
16670834d7
The Mustache templates were a bit of a mix of tabs and spaces. I like spaces personally but dislike inconsistency within the project more. Use tabs. Change-Id: I22b777489d7281b42d1ab1981b47b2a71d3b639a
23 lines
794 B
Plaintext
23 lines
794 B
Plaintext
{{!
|
|
@typedef object emphasized-sidebar-action
|
|
@prop string href
|
|
@prop string text
|
|
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
array array-portals contains options for Portal template
|
|
emphasized-sidebar-action data-emphasized-sidebar-action For displaying an emphasized action in the sidebar.
|
|
}}
|
|
|
|
<div id="mw-panel">
|
|
<div id="p-logo" role="banner">
|
|
<a {{{html-logo-attributes}}}></a>
|
|
</div>
|
|
{{#array-portals-first}}{{>Portal}}{{/array-portals-first}}
|
|
{{#data-emphasized-sidebar-action}}
|
|
<div class="vector-emphasized-sidebar-action">
|
|
<a class="vector-emphasized-sidebar-action-link" href="{{href}}">{{text}}</a>
|
|
</div>
|
|
{{/data-emphasized-sidebar-action}}
|
|
{{#array-portals-rest}}{{>Portal}}{{/array-portals-rest}}
|
|
</div>
|