Template:Clickable button 2: Difference between revisions
(Created page with "{{lua|Module:Clickable button 2}} {{Doc}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| }}</includeonly>") |
No edit summary |
||
Line 1: | Line 1: | ||
{{lua|Module:Clickable button 2}} | {{lua|Module:Clickable button 2}} | ||
{{ | <noinclude> | ||
{{doc}} | |||
[[Category:Formatting_templates]] | |||
</noinclude> |
Latest revision as of 01:20, 26 June 2022
Script error: No such module "Lua banner".
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: Script error: No such module "Lua banner".
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Script error: No such module "Lua banner".
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Script error: No such module "Lua banner".
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Script error: No such module "Lua banner".
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Script error: No such module "Lua banner".
Note: After the changes outlined in Phabricator task Template:Phab 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}}
.
The above documentation is transcluded from Template:Clickable button 2/doc. (edit | history)