Şablon:Tıklanabilir düğme 2/belge

Vikikaynak, özgür kütüphane


Usage[değiştir]

See the documentation on w:en:Template:Clickable button 2

This template styles a link like a button, using the mediawiki.ui.button module. This expands the clickable area and tap target for the link. It can be used in the following ways,

Note: After the changes outlined in Phabricator task task T110555 were implemented, {{Tıklanabilir düğme 2|Main Page|class=mw-ui-constructive}} produces the same output as {{Tıklanabilir düğme 2|Main Page|class=mw-ui-progressive}}.

Template data[değiştir]

Styles a link like a button, using the mediawiki.ui.button module

Şablon parametreleri[Şablon veriyi değiştir]

Bu şablon, parametrelerin satır içi biçimlendirmesini tercih eder.

ParametreAçıklamaTürDurum
Link/Label1

Defines the page to link to, and uses that page's title as the text for the button

Örnek
Foobar
Sayfa adıgerekli
Label2

Defines the text that appears on the button

Bilinmiyorönerilen
URLurl

Defines a web address for the button to link to

Örnek
https://www.example.com
URListeğe bağlı
classclass

Defines the visual type of the button

Örnek
mw-ui-progressive, mw-ui-destructive
Dizeisteğe bağlı
stylestyle

açıklama yok

Dizeisteğe bağlı
categorycategory

açıklama yok

Booleisteğe bağlı