Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Clickable button 2: Difference between revisions

Template page
No edit summary
Tag: Reverted
Replaced content with "{{#invoke:Clickable button 2|main}}"
Tags: Replaced Manual revert Reverted
Line 1: Line 1:
<onlyinclude><span class="plainlinks">[<!--
{{#invoke:Clickable button 2|main}}
-->{{#if:{{#invoke:URLutil|isProtocolMW|{{#invoke:URLutil|getURIScheme|1={{{link|{{{1|}}}}}}}}}}
    |{{{link|{{{1}}}}}}
    |{{#ifeq:{{padleft:|1|{{{link|{{{1|}}}}}}}}|#
        |{{fullurl:{{FULLPAGENAME}}{{{link|{{{1}}}}}}}}
        |{{fullurl:{{{link|{{{1|#}}}}}}}}
      }}
  }} <!--
--><span class="ui-button ui-widget ui-state-default ui-corner-all {{#switch:{{{color|{{{Farbe|}}}}}}
    |red |red2 |red3 |rot |rot2 |rot3    = ui-button-red
    |green|green2|green3|grün|grün2|grün3 = ui-button-green
    |blue|blue2|blue3|blau|blau2|blau3    = ui-button-blue
  }}" style="vertical-align:middle; {{#switch:{{{color|{{{Farbe|}}}}}}
    |rot2 |red2  = background:linear-gradient(to bottom, #e98888 0%, #c97272 90%) !important;
    |grün2|green2 = background:linear-gradient(to bottom, #7ddeb3 0%, #72be93 90%) !important;
    |blau2|blue2  = background:linear-gradient(to bottom, #88b3f4 0%, #7d9dd4 90%) !important;
    |rot3 |red3  = background:linear-gradient(to bottom, #f5e2e2 0%, #963131 90%) !important;
    |grün3|green3 = background:linear-gradient(to bottom, #ddffcc 0%, #669955 90%) !important;
    |blau3|blue3  = background:linear-gradient(to bottom, #ebecf8 0%, #4c55c3 90%) !important;
  }}" role="button" title="{{{title|{{{Titel|{{FULLPAGENAME:{{{link|{{{1|Main page}}}}}}}}}}}}}}"><!--
--><span style="display:table;padding:{{{padding|0.25em 0.5em}}};"><!--
  -->{{#if:{{{icon|}}}|<span class="ui-icon ui-icon-{{{icon}}}" style="display:table-cell;vertical-align:middle;">&nbsp;</span>}}<!--
  -->{{#if:{{{image|{{{Bild|}}}}}}|<span style="display:table-cell;vertical-align:middle;">{{#invoke:FileUtil|replaceParameter|1={{{image|{{{Bild|}}}}}}|2=link|3=}}</span>}}<!--
  --><span style="display:table-cell;vertical-align:middle;line-height:1.4;{{#if:{{{icon|}}}{{{image|{{{Bild|}}}}}}|text-align:left;padding-left:0.25em;}}">{{{text|{{{2|Button}}}}}}</span><!--
--></span></span>]</span></onlyinclude>

Revision as of 07:54, 22 August 2023