Template:Clickable Button: Difference between revisions
Starfox9507 (talk | contribs) No edit summary |
Starfox9507 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{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}} | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
}}</includeonly> | }}</includeonly> |
Revision as of 01:02, 12 September 2024
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}}
- Result: 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|Main Page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: 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|Main Page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: 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|Main Page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: 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|Main Page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: 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|Main Page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|Cover page}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|url=http://en.wikipedia.org}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-destructive}}
- Result: Template loop detected: Template:Clickable Button
- Code:
{{Clickable Button|Main Page|class=mw-ui-progressive}}
- Result: Template loop detected: Template:Clickable Button