Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=green}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
Templatedata
Creates a OOUI styled button.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Label | 1 | 설명 없음 | 알 수 없음 | 필수 |
Color of the button | color | Can be blue (progressive), red (destructive) or white | 알 수 없음 | 제안 |
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;
}