Template
Clickable button 2/doc
From Dogcraft Wiki
dogcraft>Trizek (WMF) (documentation from https://en.wikipedia.org/w/index.php?title=Template:Clickable_button_2/doc&oldid=781182591) |
imported>William m (1 revision imported: clickable button) |
(No difference)
|
Latest revision as of 23:56, 2 January 2020
This is a documentation subpage for Template:Clickable button 2. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "Lua banner".
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}}
- Result: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template:Clickable button 2
Note: After the changes outlined in Phabricator task Script error: No such module "Template translation". 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.