mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
52204c0f1a
Bug: T290597 Change-Id: Ib590399df09a9da8e181b331d4227b0de30b9a8e
10 lines
373 B
Plaintext
10 lines
373 B
Plaintext
{{#href}}<a href="{{.}}"{{/href}}
|
|
{{^href}}<button{{/href}}
|
|
{{#id}}id="{{.}}"{{/id}}
|
|
{{#event}}data-event-name="{{.}}"{{/event}}
|
|
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}}
|