সাঁচ:Clickable button 2

অসমীয়া ৱিকিপিডিয়াৰ পৰা
Jump to navigation Jump to search


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,

  • Code: {{Clickable button 2|Main Page}}
    • Result:
  • Code: {{Clickable button 2|Main Page|Cover page}}
    • Result:
  • Code: {{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
    • Result:
  • Code: {{Clickable button 2|Main Page|class=mw-ui-destructive}}
    • Result:
  • Code: {{Clickable button 2|Main Page|class=mw-ui-progressive}}
    • Result:

Note: After the changes outlined in Phabricator task সাঁচ:Phab were implemented, {{Clickable button 2|Main Page|class=mw-ui-constructive}} produces the same output as {{Clickable button 2|Main Page|class=mw-ui-progressive}}.

Template data[সম্পাদনা কৰক]

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link/Label1

no description

Unknownrequired
Label2

no description

Unknownsuggested
URLurl

no description

URLoptional
Classclass

no description

Auto value
Stringoptional
Stylestyle

no description

Stringoptional
Categorycategory

no description

Booleanoptional

See also[সম্পাদনা কৰক]

সাঁচ:Button templates