Template:Clickable button 2: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Edokter
toned down colors
en>Edokter
switch to mw-ui-button class
Line 2: Line 2:
  |{{{url}}}
  |{{{url}}}
  |[{{{1|}}}{{!}}
  |[{{{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}}
}}<span class="mw-ui-button {{{class|}}}" role="button" aria-disabled="false" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}|style{{=}}"cursor: default"}}><span class="mw-ui-button-text" {{#ifeq:{{{1}}}|{{FULLPAGENAME}}
  |{{#switch:{{{class}}}
  |{{#switch:{{{class}}}
   |ui-button-blue=style{{=}}"background-color:#248"
   |mw-ui-progressive=style{{=}}"background-color:#248"
   |ui-button-green=style{{=}}"background-color:#284"
   |mw-ui-constructive=style{{=}}"background-color:#284"
   |ui-button-red=style{{=}}"background-color:#842"
   |mw-ui-destructive=style{{=}}"background-color:#842"
   |#default=style{{=}}"background-color:#dadada;color:black"
   |#default=style{{=}}"background-color:#dadada;color:black"
  }}
  }}

Revision as of 21:04, 12 February 2014

[[|]]