Template:Clickable button/sandbox
Jump to navigation
Jump to search
This is the template sandbox page for Template:Clickable button (diff). |
Template documentation
Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
Templatedata
Creates a OOUI styled button.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Label | 1 | no description | Unknown | required |
Color of the button | color | Can be blue (progressive), red (destructive) or white | Unknown | suggested |
To use green color :hover and :active, paste on your common.css:
.mw-ui-button.mw-ui-constructive:hover {
background-color:#00d6a8 !important;
border-color:#00d6a8 !important;
}
.mw-ui-button.mw-ui-constructive:active {
background-color: #007c61 !important;
border-color: #007c61 !important;
box-shadow: none !important;
}