Template:Clickable Button: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Starfox9507
No edit summary
imported>Starfox9507
No edit summary
Line 1: Line 1:
{{Languages|Template:Clickable Button/doc}}
{{Documentation subpage}}
{{lua|Module:Clickable Button}}
{{lua|Module:Clickable Button}}


Line 15: Line 13:
*'''Code: '''<code><nowiki>{{Clickable Button|Main Page|class=mw-ui-progressive}}</nowiki></code>
*'''Code: '''<code><nowiki>{{Clickable Button|Main Page|class=mw-ui-progressive}}</nowiki></code>
**'''Result: '''{{Clickable Button|Main Page|class=mw-ui-progressive}}
**'''Result: '''{{Clickable Button|Main Page|class=mw-ui-progressive}}

'''Note: '''After the changes outlined in Phabricator task {{Phab|T110555}} were implemented, <code><nowiki>{{Clickable Button|Main Page|class=mw-ui-constructive}}</nowiki></code> produces the same output as <code><nowiki>{{Clickable Button|Main Page|class=mw-ui-progressive}}</nowiki></code>.

=== See also ===
* [[commons:Template:Clickable Button]], corresponding clickable button at Commons.


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 01:02, 12 September 2024

Template:Lua

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,


  • Code: {{Clickable Button|Main Page|Cover page}}

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,


  • Code: {{Clickable Button|Main Page|url=http://en.wikipedia.org}}

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,


  • Code: {{Clickable Button|Main Page|class=mw-ui-destructive}}

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,


  • Code: {{Clickable Button|Main Page|class=mw-ui-progressive}}

This template generates a clickable button that is styled using a fork of the deprecated mediawiki.ui.button module. It can be used in the following ways,