Template:Clickable button 2: Difference between revisions
From WWII Archives
m (Reverted edits by 188.229.136.172 (talk) to last version by AdamMillerchip) |
Paul Sidle (talk | contribs) m (1 revision imported) |
||
(No difference)
|
Latest revision as of 18:23, 16 March 2023
File:Test Template Info-Icon.svg Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Clickable button 2/doc.
File:Lua-Logo.svg | This template uses Lua: |
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
- commons:Template:Clickable button, corresponding clickable button at Commons.