Template:Clickable button 2: Difference between revisions

no edit summary
m (Changed protection level of Template:Clickable button 2: Enable access by template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
No edit summary
 
(24 intermediate revisions by 7 users not shown)
Line 1:
{{#invoke:Clickable button 2|main}}<noinclude>
<span class="plainlinks">[{{#if:{{{url|}}}
{{doc|{{Clickable button 2/doc}}}}
|{{{url}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|[{{{1|}}}{{!}}
}}<span class="submit ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}|style{{=}}"cursor: default"}}><span class="ui-button-text" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}
|{{#switch:{{{class}}}
|ui-button-blue=style{{=}}"background-color:#008"
|ui-button-green=style{{=}}"background-color:#060"
|ui-button-red=style{{=}}"background-color:#802"
|#default=style{{=}}"background-color:#dadada;color:black"
}}
}}>{{#if:{{{url|}}}
|{{#if:{{{1|}}}
|{{{1}}}
|{{{url}}}
}}</span></span>|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span></span>]
}}]</span><noinclude>
{{Documentation}}
</noinclude>