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

영어 위키백과>Tomybrz
m편집 요약 없음
영어 위키백과>Tomybrz
m편집 요약 없음
24번째 줄: 24번째 줄:
}
}
</templatedata>
</templatedata>
To use green color :hover and :active, paste on [[Special:MyPage/common.css|your common.css]]:
<syntaxhighlight lang="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;
}
</syntaxhighlight>

2019년 6월 25일 (화) 03:53 판

Example

Button text → {{Clickable button|color=white}}

Button text → {{Clickable button|color=green}}

Button text → {{Clickable button|color=red}}

Button text → {{Clickable button|color=blue}}

Templatedata

Creates a OOUI styled button.

틀 변수

변수설명형식상태
Label1

설명 없음

알 수 없음필수
Color of the buttoncolor

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;
}
• 현재 페이지 URL 줄이기