mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
58b6831e4d
Bug: T299980 Depends-on: Ide214de5f246b38689799e20db9e8a4671d9b7ac Change-Id: I43eb04ec095cc9c1d683df9da05887595c2eddfb
12 lines
497 B
Plaintext
12 lines
497 B
Plaintext
{{#href}}<a href="{{.}}"{{/href}}
|
|
{{^href}}<button{{/href}}
|
|
{{#id}}id="{{.}}"{{/id}}
|
|
{{#tabindex}}tabindex="{{.}}"{{/tabindex}}
|
|
{{#event}}data-event-name="{{.}}"{{/event}}
|
|
{{#title}}title="{{.}}"{{/title}}
|
|
{{#accesskey}}accesskey="{{.}}"{{/accesskey}}
|
|
class="mw-ui-button{{#is-quiet}} mw-ui-quiet{{/is-quiet}}{{#icon}} mw-ui-icon mw-ui-icon-element mw-ui-icon-{{.}}{{/icon}} {{class}}">
|
|
{{{html-vector-button-icon}}}<span>{{label}}</span>
|
|
{{#href}}</a>{{/href}}
|
|
{{^href}}</button>{{/href}}
|