Template:Clickable button 2: Difference between revisions

fix for page names with quotation marks
m (move the categorization to the end to make sure it isn't interfered with by anything else)
(fix for page names with quotation marks)
Line 2:
|{{{url}}}
|[{{{1|}}}{{!}}
}}<span class="{{#switch:{{lc:{{{class|}}}}}|ui-button-green|ui-button-blue|ui-button-red=submit ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-button-text|#default=mw-ui-button}} {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}|style="cursor: default;
{{#switch:{{{class|}}}
| ui-button-blue | mw-ui-progressive = background-color: #2962CB;
Anonymous user