Template:Clickable button 2
Template:Languages {{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template:Languages
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable button 2
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.
{{#ifeq:Clickable button 2|sandbox||
}}
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template:Languages
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable button 2
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.
{{#ifeq:Clickable button 2|sandbox||
}}
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template:Languages
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable button 2
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.
{{#ifeq:Clickable button 2|sandbox||
}}
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template:Languages
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable button 2
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.
{{#ifeq:Clickable button 2|sandbox||
}}
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template:Languages
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:clickable button 2|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clickable button 2|-1|-2}}|doc|1|0}} and {{#if:|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Clickable button 2 | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages]] | }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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,
- Code:
{{Clickable button 2|Main Page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable button 2
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable button 2
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.
{{#ifeq:Clickable button 2|sandbox||
}}
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}}
.
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.