Jump to content

کينډۍ:Clickable button 2

د ويکيپېډيا، وړیا پوهنغونډ له خوا
Documentation icon کينډۍ لاسوند[کتل] [سمول] [پېښليک] [حافظه سپينول]

کينډۍ:Template shortcut

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|لومړی مخ}}
  • Code: {{Clickable button 2|Main Page|Cover page}}
  • Code: {{Clickable button 2|لومړی مخ|url=http://en.wikipedia.org}}
  • Code: {{Clickable button 2|لومړی مخ|class=mw-ui-destructive}}
  • Code: {{Clickable button 2|لومړی مخ|class=mw-ui-progressive}}

Note: After the changes outlined in Phabricator task T110555 were implemented, {{Clickable button 2|لومړی مخ|class=mw-ui-constructive}} produces the same output as {{Clickable button 2|لومړی مخ|class=mw-ui-progressive}}.

See also

[سمول]

کينډۍ:Button templates