(Created page with "<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabl...")
 
Line 1: Line 1:
 
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{1|Button text}}}</span>
 
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{1|Button text}}}</span>
 
<noinclude>
 
<noinclude>
<templatedata>
 
{
 
"params": {
 
"1": {
 
"label": "Label",
 
"required": true
 
},
 
"color": {
 
"label": "Color of the button",
 
"description": "Can be blue (progressive), red (destructive), green (constructive) or white",
 
"suggested": true
 
}
 
},
 
"description": "Creates a OOui styled button."
 
}
 
</templatedata>
 

Revision as of 17:19, 2 February 2019

Button text