mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-20 17:42:59 +00:00
3bae52817b
* Add missing spaces between attributes. * Remove duplicate attributes. * Remove unnecessary spaces and newlines. Change-Id: Ia688234712f24f20cb1b45496f4736a98e69b00f
17 lines
531 B
Plaintext
17 lines
531 B
Plaintext
{{!
|
|
array components
|
|
string|null components.class Optional anchor CSS class.
|
|
string|null components.href Optional URI.
|
|
string|null components.text Optional text.
|
|
string|null components.data-event-name Optional tracking code.
|
|
}}
|
|
{{#components}}
|
|
<li class="toggle-list-item">
|
|
<a class="toggle-list-item__anchor {{classes}}"{{!
|
|
}}{{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}}>
|
|
{{#data-icon}}{{>Icon}}{{/data-icon}}
|
|
<span class="toggle-list-item__label">{{label}}</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|