Difference between revisions of "Template:Clickable button 2"

From mitk.org
Jump to navigation Jump to search
(Blanked the page)
 
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>
+
 
<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>
 

Latest revision as of 10:50, 4 September 2018