(Autogenerated) |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<noinclude>Inspired by https://www.mediawiki.org/wiki/Template:Clickable_button_2 | <noinclude>Inspired by https://www.mediawiki.org/wiki/Template:Clickable_button_2 | ||
</noinclude><includeonly | </noinclude><includeonly>{{#ifeq:{{#switch: {{{external}}}|yes|ja=yes}} |yes|<span class="plainlinks">[{{{target}}} <span role="button" class="mw-ui-button {{#switch: {{{format}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}">{{{label}}}</span>]</span>|[[{{{target}}}|<span role="button" class="mw-ui-button {{#switch: {{{format}}}|blue|blau=mw-ui-progressive|red|rot=mw-ui-destructive|}}">{{{label}}}</span>]]}}</includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Latest revision as of 09:30, 16 August 2023
Inspired by https://www.mediawiki.org/wiki/Template:Clickable_button_2
Styles a text link as button
Parameter | Description | Type | Status | |
---|---|---|---|---|
Is this an external link? | external | Link needs to start with http:// or https://
| Boolean | suggested |
Link target | target | no description | Unknown | required |
Label | label | no description | Unknown | required |
Background color (leave empty for white) | format | no description
| Unknown | suggested |