Template:Clickable button 2: Difference between revisions

From Bonkipedia
[[mw:]]>AdamMillerchip
(Undo revision 5377216 by 2001:448A:400A:2D8D:1D13:750D:E13B:9E49 (talk))
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:05, 12 November 2022

Template documentation

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|Main Page|url=http://en.wikipedia.org}}
  • Code: {{Clickable button 2|Main Page|class=mw-ui-destructive}}
  • Code: {{Clickable button 2|Main Page|class=mw-ui-progressive}}

Note: After the changes outlined in Phabricator task <translate> task <tvar name=1>T110555</tvar></translate> 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}}.

See also