Template:Clickable button 2: Difference between revisions

From Foundry Wiki
(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}}
{{Doc}}
<noinclude>
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
{{doc}}
}}</includeonly>
[[Category:Formatting_templates]]
</noinclude>

Latest revision as of 01:20, 26 June 2022

Script error: No such module "Lua banner".

Template-info.png Documentation

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}}.