"Şablon:Clickable button" səhifəsinin versiyaları arasındakı fərqlər
Jump to navigation
Jump to search
(Səhifəni '<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}">{{{1|Button text}}}</...' ilə yarat) |
(11061 dəyişikliyi Aydinsalis (Müzakirə) tərəfindən geri alındı.) Teq: Undo |
(Eyni redaktor tərəfindən edilmiş bir dəyişiklik göstərilmir) | |
(Fərqli deyil)
|
Səhifəsinin 22:10, 1 avqust 2020 tarixinə olan son halı
Examples
Parameter: 1 (1)
Example: {{Clickable button|This looks like a button}}
- Result:
Example: [[Talk:Main Page|{{Clickable button|Main page talk page}}]]
Parameter: color
You can select three colors: white (default), blue (progressive) and red (destructive):
White (Default) example: {{Clickable button|Button text|color=white}}
- Result:
Blue (Progressive) example: {{Clickable button|Button text|color=blue}}
- Result:
Red (Destructive) example: {{Clickable button|Button text|color=red}}
- Result:
Note: After the changes outlined in Phabricator task {{Phab}} were implemented, {{Clickable button|color=green}}
produces the same output as {{Clickable button|color=blue}}
.
Şablon:Clickable button/doc üçün transklüsion meyar / (redaktə | tarixçə) Redaktorlar bu şablonla bağlı eksperimentlərini bu şablonun sandbox (yarat | bax) və testcases (yarat) səhifələrində həyata keçirə bilərlər Göstərilməsi lazım olan kateqoriyalar /doc səhifəsinə əlavə edilməlidir (bu şablondakı bütün alt səhifələr). |