Template:Clickable button 2/doc

From Foundry Wiki
< Template:Clickable button 2
Revision as of 00:44, 26 June 2022 by Naginreed (talk | contribs) (Created page with "{{Doc/start}} {{lua|Module:Clickable button 2}} This template generates a clickable button that is styled using the mediawiki.ui.button module. It can be used in the following ways, *'''Code: '''<code><nowiki>{{Clickable button 2|Main Page}}</nowiki></code> **'''Result: '''{{Clickable button 2|Main Page}} *'''Code: '''<code><nowiki>{{Clickable button 2|Main Page|Cover page}}</nowiki></code> **'''Result: '''{{Clickable button 2|Main Page|Cover page}} *'''Code: '''<code>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.