Template:Clickable button 2: Difference between revisions

switch to mw-ui-button class
(toned down colors)
(switch to mw-ui-button class)
Line 2:
|{{{url}}}
|[{{{1|}}}{{!}}
}}<span class="submit uimw-button ui-widget ui-state-default ui-corner-all ui-button-text-only {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}|style{{=}}"cursor: default"}}><span class="mw-ui-button-text" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}
|{{#switch:{{{class}}}
|uimw-buttonui-blueprogressive=style{{=}}"background-color:#248"
|uimw-buttonui-greenconstructive=style{{=}}"background-color:#284"
|uimw-buttonui-reddestructive=style{{=}}"background-color:#842"
|#default=style{{=}}"background-color:#dadada;color:black"
}}
Anonymous user