Template:Clickable button 2/doc

From escforumwiki
Revision as of 15:00, 20 March 2014 by en>Lam-ang (use main template as examples instead of sandbox)
Jump to navigation Jump to search

This template generates a clickable button that is styled using the mediawiki.ui.button module. It can be used in the following ways,

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

Note that if a browser does not have JavaScript enabled then no button is displayed but the text will still be displayed.

See also