Şablon:Clickable button: Redaktələr arasındakı fərq

AZE.WIKI materialı
Naviqasiyaya keç Axtarışa keç
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: Geri qaytarma
 
(Eyni redaktor tərəfindən edilmiş bir ara dəyişiklik göstərilmir)
(Fərqli deyil)

Səhifəsinin 22:10, 1 avqust 2020 tarixinə olan son versiyası

Button text

Şablondan istifadə təlimatı[bax] [redaktə] [tarixçə] [yenilə]

Examples[HTML redaktə]

Parameter: 1 (1)[HTML redaktə]

Example: {{Clickable button|This looks like a button}}

Result: This looks like a button

Example: [[Talk:Main Page|{{Clickable button|Main page talk page}}]]

Result: Main page talk page

Parameter: color[HTML redaktə]

You can select three colors: white (default), blue (progressive) and red (destructive):

White (Default) example: {{Clickable button|Button text|color=white}}

Result: Button text

Blue (Progressive) example: {{Clickable button|Button text|color=blue}}

Result: Button text

Red (Destructive) example: {{Clickable button|Button text|color=red}}

Result: Button text

Note: After the changes outlined in Phabricator task {{Phab}} were implemented, {{Clickable button|color=green}} produces the same output as {{Clickable button|color=blue}}.