틀:Clickable button: 두 판 사이의 차이

영어 위키백과>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-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-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), green (constructive) or white",
"description": "Can be blue (progressive), red (destructive) or white",
"suggested": true
"suggested": true
}
}

2019년 5월 16일 (목) 03:49 판

Button text

Creates a OOui styled button.

틀 변수

변수설명형식상태
Label1

설명 없음

알 수 없음필수
Color of the buttoncolor

Can be blue (progressive), red (destructive) or white

알 수 없음권장