Template:Clickable button/doc

From Baystation 12
Jump to: navigation, 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|Main Page}}
  • Code: {{Clickable button|Main Page|Cover page}}
  • Code: {{Clickable button|Main Page|url=http://en.wikipedia.org}}
  • Code: {{Clickable button|Main Page|class=mw-ui-destructive}}
  • Code: {{Clickable button|Main Page|class=mw-ui-progressive}}