Changes
Jump to navigation
Jump to search
Template:Clickable button 2 (view source)
Revision as of 07:13, 5 November 2017
, 07:13, 5 November 2017English alias
<onlyinclude><span class="plainlinks">[<!--
-->{{#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;"> </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>
{{documentation}}
<!-- Add categories and interwikis to Template:Clickable button/doc subpage, not here! -->
-->{{#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;"> </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>
{{documentation}}
<!-- Add categories and interwikis to Template:Clickable button/doc subpage, not here! -->