Difference between revisions of "Template:Clickable button"

From HPC Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="nowrap" title="{{#if:{{{popup|}}}||this is not a clickable button, it illustrates the button to look for}}" style="padding:.2em .6em; border:1px solid; border-color:#aaa #555 #555 #aaa; border-radius:3px; background-color:#f2f2f2; {{linear-gradient|top|#fcfcfc, #e0e0e0}} {{#ifeq:{{{format|}}}|bold|font-weight:bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span><noinclude>
+
<span class="mw-ui-button  {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{1|Button text}}}
</noinclude>
+
</span>

Latest revision as of 18:06, 5 October 2020

Button text