模板:Clickable button 2/doc

Weili0677留言 | 贡献2022年12月29日 (四) 13:46的版本 (创建页面,内容为“{{Documentation subpage}} {{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…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

模板:Documentation subpage 模板: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 模板: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}}.

See also


MediaWiki Appliance - Powered by TurnKey Linux