영어 위키백과>Tinss Updated templatedata color parameter to reflect that the button can also be white or green |
영어 위키백과>Trizek (WMF) green is no longer available (since a while...) |
||
1번째 줄: | 1번째 줄: | ||
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui- | <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}}}</span> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
10번째 줄: | 10번째 줄: | ||
"color": { | "color": { | ||
"label": "Color of the button", | "label": "Color of the button", | ||
"description": "Can be blue (progressive), red (destructive | "description": "Can be blue (progressive), red (destructive) or white", | ||
"suggested": true | "suggested": true | ||
} | } |
2019년 5월 16일 (목) 03:49 판
Creates a OOui styled button.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Label | 1 | 설명 없음 | 알 수 없음 | 필수 |
Color of the button | color | Can be blue (progressive), red (destructive) or white | 알 수 없음 | 권장 |